1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00
tobspr_shapez.io/docs/ast/source/core/sprites.js.json
2021-02-26 15:20:37 +01:00

65199 lines
1.7 MiB

{
"type": "File",
"start": 0,
"end": 12113,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 396,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 12113,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 396,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 51,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 51
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
}
}
],
"source": {
"type": "StringLiteral",
"start": 31,
"end": 50,
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 50
}
},
"extra": {
"rawValue": "./draw_parameters",
"raw": "\"./draw_parameters\""
},
"value": "./draw_parameters"
}
},
{
"type": "ImportDeclaration",
"start": 53,
"end": 93,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 40
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 62,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 62,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 18
},
"identifierName": "Rectangle"
},
"name": "Rectangle"
},
"local": {
"type": "Identifier",
"start": 62,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 18
},
"identifierName": "Rectangle"
},
"name": "Rectangle"
}
}
],
"source": {
"type": "StringLiteral",
"start": 79,
"end": 92,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 39
}
},
"extra": {
"rawValue": "./rectangle",
"raw": "\"./rectangle\""
},
"value": "./rectangle"
}
},
{
"type": "ImportDeclaration",
"start": 95,
"end": 134,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 39
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 104,
"end": 116,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 104,
"end": 116,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
},
"identifierName": "round3Digits"
},
"name": "round3Digits"
},
"local": {
"type": "Identifier",
"start": 104,
"end": 116,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
},
"identifierName": "round3Digits"
},
"name": "round3Digits"
}
}
],
"source": {
"type": "StringLiteral",
"start": 124,
"end": 133,
"loc": {
"start": {
"line": 3,
"column": 29
},
"end": {
"line": 3,
"column": 38
}
},
"extra": {
"rawValue": "./utils",
"raw": "\"./utils\""
},
"value": "./utils"
}
},
{
"type": "ExportNamedDeclaration",
"start": 138,
"end": 182,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 44
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 145,
"end": 182,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 151,
"end": 181,
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 151,
"end": 172,
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"column": 34
},
"identifierName": "ORIGINAL_SPRITE_SCALE"
},
"name": "ORIGINAL_SPRITE_SCALE"
},
"init": {
"type": "StringLiteral",
"start": 175,
"end": 181,
"loc": {
"start": {
"line": 5,
"column": 37
},
"end": {
"line": 5,
"column": 43
}
},
"extra": {
"rawValue": "0.75",
"raw": "\"0.75\""
},
"value": "0.75"
}
}
],
"kind": "const",
"leadingComments": [],
"trailingComments": []
}
},
{
"type": "ExportNamedDeclaration",
"start": 184,
"end": 240,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 56
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 191,
"end": 240,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 56
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 197,
"end": 239,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 55
}
},
"id": {
"type": "Identifier",
"start": 197,
"end": 211,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 27
},
"identifierName": "FULL_CLIP_RECT"
},
"name": "FULL_CLIP_RECT"
},
"init": {
"type": "NewExpression",
"start": 214,
"end": 239,
"loc": {
"start": {
"line": 6,
"column": 30
},
"end": {
"line": 6,
"column": 55
}
},
"callee": {
"type": "Identifier",
"start": 218,
"end": 227,
"loc": {
"start": {
"line": 6,
"column": 34
},
"end": {
"line": 6,
"column": 43
},
"identifierName": "Rectangle"
},
"name": "Rectangle"
},
"arguments": [
{
"type": "NumericLiteral",
"start": 228,
"end": 229,
"loc": {
"start": {
"line": 6,
"column": 44
},
"end": {
"line": 6,
"column": 45
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 231,
"end": 232,
"loc": {
"start": {
"line": 6,
"column": 47
},
"end": {
"line": 6,
"column": 48
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 234,
"end": 235,
"loc": {
"start": {
"line": 6,
"column": 50
},
"end": {
"line": 6,
"column": 51
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 237,
"end": 238,
"loc": {
"start": {
"line": 6,
"column": 53
},
"end": {
"line": 6,
"column": 54
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
]
}
}
],
"kind": "const",
"leadingComments": [],
"trailingComments": []
}
},
{
"type": "VariableDeclaration",
"start": 244,
"end": 264,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 20
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 250,
"end": 263,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 19
}
},
"id": {
"type": "Identifier",
"start": 250,
"end": 257,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 13
},
"identifierName": "EXTRUDE"
},
"name": "EXTRUDE"
},
"init": {
"type": "NumericLiteral",
"start": 260,
"end": 263,
"loc": {
"start": {
"line": 8,
"column": 16
},
"end": {
"line": 8,
"column": 19
}
},
"extra": {
"rawValue": 0.1,
"raw": "0.1"
},
"value": 0.1
}
}
],
"kind": "const"
},
{
"type": "ExportNamedDeclaration",
"start": 268,
"end": 775,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 32,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 275,
"end": 775,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 32,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 281,
"end": 291,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 23
},
"identifierName": "BaseSprite"
},
"name": "BaseSprite"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 292,
"end": 775,
"loc": {
"start": {
"line": 10,
"column": 24
},
"end": {
"line": 32,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 402,
"end": 467,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 18,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 402,
"end": 415,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 17
},
"identifierName": "getRawTexture"
},
"name": "getRawTexture",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 418,
"end": 467,
"loc": {
"start": {
"line": 15,
"column": 20
},
"end": {
"line": 18,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 429,
"end": 438,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 17
}
},
"expression": {
"type": "Identifier",
"start": 429,
"end": 437,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 16
},
"identifierName": "abstract"
},
"name": "abstract"
}
},
{
"type": "ReturnStatement",
"start": 448,
"end": 460,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 20
}
},
"argument": {
"type": "NullLiteral",
"start": 455,
"end": 459,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"column": 19
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the raw handle\r\n * @returns {HTMLImageElement|HTMLCanvasElement}\r\n ",
"start": 299,
"end": 396,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 14,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 475,
"end": 666,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 27,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 672,
"end": 772,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 31,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 672,
"end": 676,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 8
},
"identifierName": "draw"
},
"name": "draw",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 677,
"end": 684,
"loc": {
"start": {
"line": 28,
"column": 9
},
"end": {
"line": 28,
"column": 16
},
"identifierName": "context"
},
"name": "context"
},
{
"type": "Identifier",
"start": 686,
"end": 687,
"loc": {
"start": {
"line": 28,
"column": 18
},
"end": {
"line": 28,
"column": 19
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 689,
"end": 690,
"loc": {
"start": {
"line": 28,
"column": 21
},
"end": {
"line": 28,
"column": 22
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 692,
"end": 693,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 28,
"column": 25
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 695,
"end": 696,
"loc": {
"start": {
"line": 28,
"column": 27
},
"end": {
"line": 28,
"column": 28
},
"identifierName": "h"
},
"name": "h"
}
],
"body": {
"type": "BlockStatement",
"start": 698,
"end": 772,
"loc": {
"start": {
"line": 28,
"column": 30
},
"end": {
"line": 31,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 756,
"end": 765,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 17
}
},
"expression": {
"type": "Identifier",
"start": 756,
"end": 764,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 16
},
"identifierName": "abstract"
},
"name": "abstract",
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " eslint-disable-line no-unused-vars",
"start": 709,
"end": 746,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 45
}
}
}
]
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 475,
"end": 666,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 27,
"column": 7
}
}
}
]
}
],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Position of a sprite within an atlas\r\n ",
"start": 779,
"end": 828,
"loc": {
"start": {
"line": 34,
"column": 0
},
"end": {
"line": 36,
"column": 3
}
}
}
],
"leadingComments": []
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Position of a sprite within an atlas\r\n ",
"start": 779,
"end": 828,
"loc": {
"start": {
"line": 34,
"column": 0
},
"end": {
"line": 36,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 830,
"end": 1683,
"loc": {
"start": {
"line": 37,
"column": 0
},
"end": {
"line": 62,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 837,
"end": 1683,
"loc": {
"start": {
"line": 37,
"column": 7
},
"end": {
"line": 62,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 843,
"end": 858,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 28
},
"identifierName": "SpriteAtlasLink"
},
"name": "SpriteAtlasLink",
"leadingComments": null
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 859,
"end": 1683,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 62,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 1296,
"end": 1680,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 61,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1296,
"end": 1307,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "ObjectPattern",
"start": 1308,
"end": 1385,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 93
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1310,
"end": 1311,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 19
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1310,
"end": 1311,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 19
},
"identifierName": "w"
},
"name": "w"
},
"value": {
"type": "Identifier",
"start": 1310,
"end": 1311,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 19
},
"identifierName": "w"
},
"name": "w"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 51,
"column": 21
},
"end": {
"line": 51,
"column": 22
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 51,
"column": 21
},
"end": {
"line": 51,
"column": 22
},
"identifierName": "h"
},
"name": "h"
},
"value": {
"type": "Identifier",
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 51,
"column": 21
},
"end": {
"line": 51,
"column": 22
},
"identifierName": "h"
},
"name": "h"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1316,
"end": 1323,
"loc": {
"start": {
"line": 51,
"column": 24
},
"end": {
"line": 51,
"column": 31
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1316,
"end": 1323,
"loc": {
"start": {
"line": 51,
"column": 24
},
"end": {
"line": 51,
"column": 31
},
"identifierName": "packedX"
},
"name": "packedX"
},
"value": {
"type": "Identifier",
"start": 1316,
"end": 1323,
"loc": {
"start": {
"line": 51,
"column": 24
},
"end": {
"line": 51,
"column": 31
},
"identifierName": "packedX"
},
"name": "packedX"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1325,
"end": 1332,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 40
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1325,
"end": 1332,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 40
},
"identifierName": "packedY"
},
"name": "packedY"
},
"value": {
"type": "Identifier",
"start": 1325,
"end": 1332,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 40
},
"identifierName": "packedY"
},
"name": "packedY"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1334,
"end": 1345,
"loc": {
"start": {
"line": 51,
"column": 42
},
"end": {
"line": 51,
"column": 53
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1334,
"end": 1345,
"loc": {
"start": {
"line": 51,
"column": 42
},
"end": {
"line": 51,
"column": 53
},
"identifierName": "packOffsetX"
},
"name": "packOffsetX"
},
"value": {
"type": "Identifier",
"start": 1334,
"end": 1345,
"loc": {
"start": {
"line": 51,
"column": 42
},
"end": {
"line": 51,
"column": 53
},
"identifierName": "packOffsetX"
},
"name": "packOffsetX"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1347,
"end": 1358,
"loc": {
"start": {
"line": 51,
"column": 55
},
"end": {
"line": 51,
"column": 66
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1347,
"end": 1358,
"loc": {
"start": {
"line": 51,
"column": 55
},
"end": {
"line": 51,
"column": 66
},
"identifierName": "packOffsetY"
},
"name": "packOffsetY"
},
"value": {
"type": "Identifier",
"start": 1347,
"end": 1358,
"loc": {
"start": {
"line": 51,
"column": 55
},
"end": {
"line": 51,
"column": 66
},
"identifierName": "packOffsetY"
},
"name": "packOffsetY"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1360,
"end": 1367,
"loc": {
"start": {
"line": 51,
"column": 68
},
"end": {
"line": 51,
"column": 75
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1360,
"end": 1367,
"loc": {
"start": {
"line": 51,
"column": 68
},
"end": {
"line": 51,
"column": 75
},
"identifierName": "packedW"
},
"name": "packedW"
},
"value": {
"type": "Identifier",
"start": 1360,
"end": 1367,
"loc": {
"start": {
"line": 51,
"column": 68
},
"end": {
"line": 51,
"column": 75
},
"identifierName": "packedW"
},
"name": "packedW"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1369,
"end": 1376,
"loc": {
"start": {
"line": 51,
"column": 77
},
"end": {
"line": 51,
"column": 84
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1369,
"end": 1376,
"loc": {
"start": {
"line": 51,
"column": 77
},
"end": {
"line": 51,
"column": 84
},
"identifierName": "packedH"
},
"name": "packedH"
},
"value": {
"type": "Identifier",
"start": 1369,
"end": 1376,
"loc": {
"start": {
"line": 51,
"column": 77
},
"end": {
"line": 51,
"column": 84
},
"identifierName": "packedH"
},
"name": "packedH"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1378,
"end": 1383,
"loc": {
"start": {
"line": 51,
"column": 86
},
"end": {
"line": 51,
"column": 91
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1378,
"end": 1383,
"loc": {
"start": {
"line": 51,
"column": 86
},
"end": {
"line": 51,
"column": 91
},
"identifierName": "atlas"
},
"name": "atlas"
},
"value": {
"type": "Identifier",
"start": 1378,
"end": 1383,
"loc": {
"start": {
"line": 51,
"column": 86
},
"end": {
"line": 51,
"column": 91
},
"identifierName": "atlas"
},
"name": "atlas"
},
"extra": {
"shorthand": true
}
}
]
}
],
"body": {
"type": "BlockStatement",
"start": 1387,
"end": 1680,
"loc": {
"start": {
"line": 51,
"column": 95
},
"end": {
"line": 61,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1398,
"end": 1421,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1398,
"end": 1420,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 30
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1398,
"end": 1410,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1398,
"end": 1402,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1403,
"end": 1410,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 20
},
"identifierName": "packedX"
},
"name": "packedX"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1413,
"end": 1420,
"loc": {
"start": {
"line": 52,
"column": 23
},
"end": {
"line": 52,
"column": 30
},
"identifierName": "packedX"
},
"name": "packedX"
}
}
},
{
"type": "ExpressionStatement",
"start": 1431,
"end": 1454,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1431,
"end": 1453,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 30
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1431,
"end": 1443,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1431,
"end": 1435,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1436,
"end": 1443,
"loc": {
"start": {
"line": 53,
"column": 13
},
"end": {
"line": 53,
"column": 20
},
"identifierName": "packedY"
},
"name": "packedY"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1446,
"end": 1453,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 30
},
"identifierName": "packedY"
},
"name": "packedY"
}
}
},
{
"type": "ExpressionStatement",
"start": 1464,
"end": 1487,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1464,
"end": 1486,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 30
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1464,
"end": 1476,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1464,
"end": 1468,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1469,
"end": 1476,
"loc": {
"start": {
"line": 54,
"column": 13
},
"end": {
"line": 54,
"column": 20
},
"identifierName": "packedW"
},
"name": "packedW"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1479,
"end": 1486,
"loc": {
"start": {
"line": 54,
"column": 23
},
"end": {
"line": 54,
"column": 30
},
"identifierName": "packedW"
},
"name": "packedW"
}
}
},
{
"type": "ExpressionStatement",
"start": 1497,
"end": 1520,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1497,
"end": 1519,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 30
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1497,
"end": 1509,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1497,
"end": 1501,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1502,
"end": 1509,
"loc": {
"start": {
"line": 55,
"column": 13
},
"end": {
"line": 55,
"column": 20
},
"identifierName": "packedH"
},
"name": "packedH"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1512,
"end": 1519,
"loc": {
"start": {
"line": 55,
"column": 23
},
"end": {
"line": 55,
"column": 30
},
"identifierName": "packedH"
},
"name": "packedH"
}
}
},
{
"type": "ExpressionStatement",
"start": 1530,
"end": 1561,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1530,
"end": 1560,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 38
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1530,
"end": 1546,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1530,
"end": 1534,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1535,
"end": 1546,
"loc": {
"start": {
"line": 56,
"column": 13
},
"end": {
"line": 56,
"column": 24
},
"identifierName": "packOffsetX"
},
"name": "packOffsetX"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1549,
"end": 1560,
"loc": {
"start": {
"line": 56,
"column": 27
},
"end": {
"line": 56,
"column": 38
},
"identifierName": "packOffsetX"
},
"name": "packOffsetX"
}
}
},
{
"type": "ExpressionStatement",
"start": 1571,
"end": 1602,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1571,
"end": 1601,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 38
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1571,
"end": 1587,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1571,
"end": 1575,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1576,
"end": 1587,
"loc": {
"start": {
"line": 57,
"column": 13
},
"end": {
"line": 57,
"column": 24
},
"identifierName": "packOffsetY"
},
"name": "packOffsetY"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1590,
"end": 1601,
"loc": {
"start": {
"line": 57,
"column": 27
},
"end": {
"line": 57,
"column": 38
},
"identifierName": "packOffsetY"
},
"name": "packOffsetY"
}
}
},
{
"type": "ExpressionStatement",
"start": 1612,
"end": 1631,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 27
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1612,
"end": 1630,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 26
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1612,
"end": 1622,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 1612,
"end": 1616,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1617,
"end": 1622,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 18
},
"identifierName": "atlas"
},
"name": "atlas"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1625,
"end": 1630,
"loc": {
"start": {
"line": 58,
"column": 21
},
"end": {
"line": 58,
"column": 26
},
"identifierName": "atlas"
},
"name": "atlas"
}
}
},
{
"type": "ExpressionStatement",
"start": 1641,
"end": 1652,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1641,
"end": 1651,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 18
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1641,
"end": 1647,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 14
}
},
"object": {
"type": "ThisExpression",
"start": 1641,
"end": 1645,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1646,
"end": 1647,
"loc": {
"start": {
"line": 59,
"column": 13
},
"end": {
"line": 59,
"column": 14
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1650,
"end": 1651,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 18
},
"identifierName": "w"
},
"name": "w"
}
}
},
{
"type": "ExpressionStatement",
"start": 1662,
"end": 1673,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1662,
"end": 1672,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 18
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1662,
"end": 1668,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 14
}
},
"object": {
"type": "ThisExpression",
"start": 1662,
"end": 1666,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1667,
"end": 1668,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 14
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1671,
"end": 1672,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 18
},
"identifierName": "h"
},
"name": "h"
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {object} param0\r\n * @param {number} param0.packedX\r\n * @param {number} param0.packedY\r\n * @param {number} param0.packOffsetX\r\n * @param {number} param0.packOffsetY\r\n * @param {number} param0.packedW\r\n * @param {number} param0.packedH\r\n * @param {number} param0.w\r\n * @param {number} param0.h\r\n * @param {HTMLImageElement|HTMLCanvasElement} param0.atlas\r\n ",
"start": 866,
"end": 1290,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Position of a sprite within an atlas\r\n ",
"start": 779,
"end": 828,
"loc": {
"start": {
"line": 34,
"column": 0
},
"end": {
"line": 36,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Position of a sprite within an atlas\r\n ",
"start": 779,
"end": 828,
"loc": {
"start": {
"line": 34,
"column": 0
},
"end": {
"line": 36,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 1687,
"end": 10571,
"loc": {
"start": {
"line": 64,
"column": 0
},
"end": {
"line": 346,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 1694,
"end": 10571,
"loc": {
"start": {
"line": 64,
"column": 7
},
"end": {
"line": 346,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 1700,
"end": 1711,
"loc": {
"start": {
"line": 64,
"column": 13
},
"end": {
"line": 64,
"column": 24
},
"identifierName": "AtlasSprite"
},
"name": "AtlasSprite"
},
"superClass": {
"type": "Identifier",
"start": 1720,
"end": 1730,
"loc": {
"start": {
"line": 64,
"column": 33
},
"end": {
"line": 64,
"column": 43
},
"identifierName": "BaseSprite"
},
"name": "BaseSprite"
},
"body": {
"type": "ClassBody",
"start": 1731,
"end": 10571,
"loc": {
"start": {
"line": 64,
"column": 44
},
"end": {
"line": 346,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 1799,
"end": 1994,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 74,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1799,
"end": 1810,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "AssignmentPattern",
"start": 1811,
"end": 1832,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 37
}
},
"left": {
"type": "Identifier",
"start": 1811,
"end": 1821,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 26
},
"identifierName": "spriteName"
},
"name": "spriteName"
},
"right": {
"type": "StringLiteral",
"start": 1824,
"end": 1832,
"loc": {
"start": {
"line": 69,
"column": 29
},
"end": {
"line": 69,
"column": 37
}
},
"extra": {
"rawValue": "sprite",
"raw": "\"sprite\""
},
"value": "sprite"
}
}
],
"body": {
"type": "BlockStatement",
"start": 1834,
"end": 1994,
"loc": {
"start": {
"line": 69,
"column": 39
},
"end": {
"line": 74,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1845,
"end": 1853,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 16
}
},
"expression": {
"type": "CallExpression",
"start": 1845,
"end": 1852,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 15
}
},
"callee": {
"type": "Super",
"start": 1845,
"end": 1850,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 13
}
}
},
"arguments": []
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {Object.<string, SpriteAtlasLink>} ",
"start": 1863,
"end": 1910,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 55
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1920,
"end": 1948,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 36
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1920,
"end": 1947,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 35
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1920,
"end": 1942,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1920,
"end": 1924,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1925,
"end": 1942,
"loc": {
"start": {
"line": 72,
"column": 13
},
"end": {
"line": 72,
"column": 30
},
"identifierName": "linksByResolution"
},
"name": "linksByResolution"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "ObjectExpression",
"start": 1945,
"end": 1947,
"loc": {
"start": {
"line": 72,
"column": 33
},
"end": {
"line": 72,
"column": 35
}
},
"properties": []
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {Object.<string, SpriteAtlasLink>} ",
"start": 1863,
"end": 1910,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 55
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1958,
"end": 1987,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 37
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1958,
"end": 1986,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 36
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1958,
"end": 1973,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 1958,
"end": 1962,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1963,
"end": 1973,
"loc": {
"start": {
"line": 73,
"column": 13
},
"end": {
"line": 73,
"column": 23
},
"identifierName": "spriteName"
},
"name": "spriteName"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1976,
"end": 1986,
"loc": {
"start": {
"line": 73,
"column": 26
},
"end": {
"line": 73,
"column": 36
},
"identifierName": "spriteName"
},
"name": "spriteName"
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {string} spriteName\r\n ",
"start": 1738,
"end": 1793,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2002,
"end": 2095,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 78,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2002,
"end": 2015,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 17
},
"identifierName": "getRawTexture"
},
"name": "getRawTexture"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2018,
"end": 2095,
"loc": {
"start": {
"line": 76,
"column": 20
},
"end": {
"line": 78,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2029,
"end": 2088,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 67
}
},
"argument": {
"type": "MemberExpression",
"start": 2036,
"end": 2087,
"loc": {
"start": {
"line": 77,
"column": 15
},
"end": {
"line": 77,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 2036,
"end": 2081,
"loc": {
"start": {
"line": 77,
"column": 15
},
"end": {
"line": 77,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 2036,
"end": 2058,
"loc": {
"start": {
"line": 77,
"column": 15
},
"end": {
"line": 77,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 2036,
"end": 2040,
"loc": {
"start": {
"line": 77,
"column": 15
},
"end": {
"line": 77,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 2041,
"end": 2058,
"loc": {
"start": {
"line": 77,
"column": 20
},
"end": {
"line": 77,
"column": 37
},
"identifierName": "linksByResolution"
},
"name": "linksByResolution"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2059,
"end": 2080,
"loc": {
"start": {
"line": 77,
"column": 38
},
"end": {
"line": 77,
"column": 59
},
"identifierName": "ORIGINAL_SPRITE_SCALE"
},
"name": "ORIGINAL_SPRITE_SCALE"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 2082,
"end": 2087,
"loc": {
"start": {
"line": 77,
"column": 61
},
"end": {
"line": 77,
"column": 66
},
"identifierName": "atlas"
},
"name": "atlas"
},
"computed": false
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite onto a regular context using no contexts\r\n * @see {BaseSprite.draw}\r\n ",
"start": 2103,
"end": 2212,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 83,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2218,
"end": 3176,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 119,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2218,
"end": 2222,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 84,
"column": 8
},
"identifierName": "draw"
},
"name": "draw",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2223,
"end": 2230,
"loc": {
"start": {
"line": 84,
"column": 9
},
"end": {
"line": 84,
"column": 16
},
"identifierName": "context"
},
"name": "context"
},
{
"type": "Identifier",
"start": 2232,
"end": 2233,
"loc": {
"start": {
"line": 84,
"column": 18
},
"end": {
"line": 84,
"column": 19
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 2235,
"end": 2236,
"loc": {
"start": {
"line": 84,
"column": 21
},
"end": {
"line": 84,
"column": 22
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 2238,
"end": 2239,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 25
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 2241,
"end": 2242,
"loc": {
"start": {
"line": 84,
"column": 27
},
"end": {
"line": 84,
"column": 28
},
"identifierName": "h"
},
"name": "h"
}
],
"body": {
"type": "BlockStatement",
"start": 2244,
"end": 3176,
"loc": {
"start": {
"line": 84,
"column": 30
},
"end": {
"line": 119,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 2255,
"end": 2370,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 87,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 2259,
"end": 2267,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 20
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"consequent": {
"type": "BlockStatement",
"start": 2269,
"end": 2370,
"loc": {
"start": {
"line": 85,
"column": 22
},
"end": {
"line": 87,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2284,
"end": 2359,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 87
}
},
"expression": {
"type": "CallExpression",
"start": 2284,
"end": 2358,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 86
}
},
"callee": {
"type": "Identifier",
"start": 2284,
"end": 2290,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 18
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 2291,
"end": 2334,
"loc": {
"start": {
"line": 86,
"column": 19
},
"end": {
"line": 86,
"column": 62
}
},
"left": {
"type": "Identifier",
"start": 2291,
"end": 2298,
"loc": {
"start": {
"line": 86,
"column": 19
},
"end": {
"line": 86,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"operator": "instanceof",
"right": {
"type": "Identifier",
"start": 2310,
"end": 2334,
"loc": {
"start": {
"line": 86,
"column": 38
},
"end": {
"line": 86,
"column": 62
},
"identifierName": "CanvasRenderingContext2D"
},
"name": "CanvasRenderingContext2D"
}
},
{
"type": "StringLiteral",
"start": 2336,
"end": 2357,
"loc": {
"start": {
"line": 86,
"column": 64
},
"end": {
"line": 86,
"column": 85
}
},
"extra": {
"rawValue": "Not a valid context",
"raw": "\"Not a valid context\""
},
"value": "Not a valid context"
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 2382,
"end": 2441,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 67
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2388,
"end": 2440,
"loc": {
"start": {
"line": 89,
"column": 14
},
"end": {
"line": 89,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 2388,
"end": 2392,
"loc": {
"start": {
"line": 89,
"column": 14
},
"end": {
"line": 89,
"column": 18
},
"identifierName": "link"
},
"name": "link"
},
"init": {
"type": "MemberExpression",
"start": 2395,
"end": 2440,
"loc": {
"start": {
"line": 89,
"column": 21
},
"end": {
"line": 89,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 2395,
"end": 2417,
"loc": {
"start": {
"line": 89,
"column": 21
},
"end": {
"line": 89,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 2395,
"end": 2399,
"loc": {
"start": {
"line": 89,
"column": 21
},
"end": {
"line": 89,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 2400,
"end": 2417,
"loc": {
"start": {
"line": 89,
"column": 26
},
"end": {
"line": 89,
"column": 43
},
"identifierName": "linksByResolution"
},
"name": "linksByResolution"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2418,
"end": 2439,
"loc": {
"start": {
"line": 89,
"column": 44
},
"end": {
"line": 89,
"column": 65
},
"identifierName": "ORIGINAL_SPRITE_SCALE"
},
"name": "ORIGINAL_SPRITE_SCALE"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2453,
"end": 2673,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 98,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 2453,
"end": 2672,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 98,
"column": 9
}
},
"callee": {
"type": "Identifier",
"start": 2453,
"end": 2459,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "Identifier",
"start": 2474,
"end": 2478,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 16
},
"identifierName": "link"
},
"name": "link"
},
{
"type": "BinaryExpression",
"start": 2493,
"end": 2661,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 97,
"column": 19
}
},
"left": {
"type": "BinaryExpression",
"start": 2493,
"end": 2638,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 96,
"column": 51
}
},
"left": {
"type": "BinaryExpression",
"start": 2493,
"end": 2583,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 95,
"column": 27
}
},
"left": {
"type": "BinaryExpression",
"start": 2493,
"end": 2552,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 94,
"column": 37
}
},
"left": {
"type": "StringLiteral",
"start": 2493,
"end": 2511,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 30
}
},
"extra": {
"rawValue": "Link not known: ",
"raw": "\"Link not known: \""
},
"value": "Link not known: "
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 2531,
"end": 2552,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 94,
"column": 37
},
"identifierName": "ORIGINAL_SPRITE_SCALE"
},
"name": "ORIGINAL_SPRITE_SCALE"
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 2572,
"end": 2583,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 27
}
},
"extra": {
"rawValue": " (having ",
"raw": "\" (having \""
},
"value": " (having "
}
},
"operator": "+",
"right": {
"type": "CallExpression",
"start": 2603,
"end": 2638,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 2603,
"end": 2614,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 2603,
"end": 2609,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 22
},
"identifierName": "Object"
},
"name": "Object"
},
"property": {
"type": "Identifier",
"start": 2610,
"end": 2614,
"loc": {
"start": {
"line": 96,
"column": 23
},
"end": {
"line": 96,
"column": 27
},
"identifierName": "keys"
},
"name": "keys"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2615,
"end": 2637,
"loc": {
"start": {
"line": 96,
"column": 28
},
"end": {
"line": 96,
"column": 50
}
},
"object": {
"type": "ThisExpression",
"start": 2615,
"end": 2619,
"loc": {
"start": {
"line": 96,
"column": 28
},
"end": {
"line": 96,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 2620,
"end": 2637,
"loc": {
"start": {
"line": 96,
"column": 33
},
"end": {
"line": 96,
"column": 50
},
"identifierName": "linksByResolution"
},
"name": "linksByResolution"
},
"computed": false
}
]
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 2658,
"end": 2661,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 19
}
},
"extra": {
"rawValue": ")",
"raw": "\")\""
},
"value": ")"
}
}
]
}
},
{
"type": "VariableDeclaration",
"start": 2685,
"end": 2711,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2691,
"end": 2710,
"loc": {
"start": {
"line": 100,
"column": 14
},
"end": {
"line": 100,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 2691,
"end": 2696,
"loc": {
"start": {
"line": 100,
"column": 14
},
"end": {
"line": 100,
"column": 19
},
"identifierName": "width"
},
"name": "width"
},
"init": {
"type": "LogicalExpression",
"start": 2699,
"end": 2710,
"loc": {
"start": {
"line": 100,
"column": 22
},
"end": {
"line": 100,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 2699,
"end": 2700,
"loc": {
"start": {
"line": 100,
"column": 22
},
"end": {
"line": 100,
"column": 23
},
"identifierName": "w"
},
"name": "w"
},
"operator": "||",
"right": {
"type": "MemberExpression",
"start": 2704,
"end": 2710,
"loc": {
"start": {
"line": 100,
"column": 27
},
"end": {
"line": 100,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 2704,
"end": 2708,
"loc": {
"start": {
"line": 100,
"column": 27
},
"end": {
"line": 100,
"column": 31
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 2709,
"end": 2710,
"loc": {
"start": {
"line": 100,
"column": 32
},
"end": {
"line": 100,
"column": 33
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2721,
"end": 2748,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2727,
"end": 2747,
"loc": {
"start": {
"line": 101,
"column": 14
},
"end": {
"line": 101,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 2727,
"end": 2733,
"loc": {
"start": {
"line": 101,
"column": 14
},
"end": {
"line": 101,
"column": 20
},
"identifierName": "height"
},
"name": "height"
},
"init": {
"type": "LogicalExpression",
"start": 2736,
"end": 2747,
"loc": {
"start": {
"line": 101,
"column": 23
},
"end": {
"line": 101,
"column": 34
}
},
"left": {
"type": "Identifier",
"start": 2736,
"end": 2737,
"loc": {
"start": {
"line": 101,
"column": 23
},
"end": {
"line": 101,
"column": 24
},
"identifierName": "h"
},
"name": "h"
},
"operator": "||",
"right": {
"type": "MemberExpression",
"start": 2741,
"end": 2747,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2741,
"end": 2745,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 32
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 2746,
"end": 2747,
"loc": {
"start": {
"line": 101,
"column": 33
},
"end": {
"line": 101,
"column": 34
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2760,
"end": 2790,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 38
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2766,
"end": 2789,
"loc": {
"start": {
"line": 103,
"column": 14
},
"end": {
"line": 103,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 2766,
"end": 2772,
"loc": {
"start": {
"line": 103,
"column": 14
},
"end": {
"line": 103,
"column": 20
},
"identifierName": "scaleW"
},
"name": "scaleW"
},
"init": {
"type": "BinaryExpression",
"start": 2775,
"end": 2789,
"loc": {
"start": {
"line": 103,
"column": 23
},
"end": {
"line": 103,
"column": 37
}
},
"left": {
"type": "Identifier",
"start": 2775,
"end": 2780,
"loc": {
"start": {
"line": 103,
"column": 23
},
"end": {
"line": 103,
"column": 28
},
"identifierName": "width"
},
"name": "width"
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 2783,
"end": 2789,
"loc": {
"start": {
"line": 103,
"column": 31
},
"end": {
"line": 103,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2783,
"end": 2787,
"loc": {
"start": {
"line": 103,
"column": 31
},
"end": {
"line": 103,
"column": 35
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 2788,
"end": 2789,
"loc": {
"start": {
"line": 103,
"column": 36
},
"end": {
"line": 103,
"column": 37
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2800,
"end": 2831,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2806,
"end": 2830,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 2806,
"end": 2812,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 20
},
"identifierName": "scaleH"
},
"name": "scaleH"
},
"init": {
"type": "BinaryExpression",
"start": 2815,
"end": 2830,
"loc": {
"start": {
"line": 104,
"column": 23
},
"end": {
"line": 104,
"column": 38
}
},
"left": {
"type": "Identifier",
"start": 2815,
"end": 2821,
"loc": {
"start": {
"line": 104,
"column": 23
},
"end": {
"line": 104,
"column": 29
},
"identifierName": "height"
},
"name": "height"
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 2824,
"end": 2830,
"loc": {
"start": {
"line": 104,
"column": 32
},
"end": {
"line": 104,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 2824,
"end": 2828,
"loc": {
"start": {
"line": 104,
"column": 32
},
"end": {
"line": 104,
"column": 36
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 2829,
"end": 2830,
"loc": {
"start": {
"line": 104,
"column": 37
},
"end": {
"line": 104,
"column": 38
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2843,
"end": 3169,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 118,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 2843,
"end": 3168,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 118,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 2843,
"end": 2860,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2843,
"end": 2850,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 2851,
"end": 2860,
"loc": {
"start": {
"line": 106,
"column": 16
},
"end": {
"line": 106,
"column": 25
},
"identifierName": "drawImage"
},
"name": "drawImage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2875,
"end": 2885,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 2875,
"end": 2879,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 16
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 2880,
"end": 2885,
"loc": {
"start": {
"line": 107,
"column": 17
},
"end": {
"line": 107,
"column": 22
},
"identifierName": "atlas"
},
"name": "atlas"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 2902,
"end": 2914,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 2902,
"end": 2906,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 16
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 2907,
"end": 2914,
"loc": {
"start": {
"line": 109,
"column": 17
},
"end": {
"line": 109,
"column": 24
},
"identifierName": "packedX"
},
"name": "packedX"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 2929,
"end": 2941,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 2929,
"end": 2933,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 16
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 2934,
"end": 2941,
"loc": {
"start": {
"line": 110,
"column": 17
},
"end": {
"line": 110,
"column": 24
},
"identifierName": "packedY"
},
"name": "packedY"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 2956,
"end": 2968,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 2956,
"end": 2960,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 16
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 2961,
"end": 2968,
"loc": {
"start": {
"line": 111,
"column": 17
},
"end": {
"line": 111,
"column": 24
},
"identifierName": "packedW"
},
"name": "packedW"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 2983,
"end": 2995,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 112,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 2983,
"end": 2987,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 112,
"column": 16
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 2988,
"end": 2995,
"loc": {
"start": {
"line": 112,
"column": 17
},
"end": {
"line": 112,
"column": 24
},
"identifierName": "packedH"
},
"name": "packedH"
},
"computed": false
},
{
"type": "BinaryExpression",
"start": 3012,
"end": 3041,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 41
}
},
"left": {
"type": "Identifier",
"start": 3012,
"end": 3013,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 13
},
"identifierName": "x"
},
"name": "x"
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 3016,
"end": 3041,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 3016,
"end": 3032,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 3016,
"end": 3020,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 20
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 3021,
"end": 3032,
"loc": {
"start": {
"line": 114,
"column": 21
},
"end": {
"line": 114,
"column": 32
},
"identifierName": "packOffsetX"
},
"name": "packOffsetX"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3035,
"end": 3041,
"loc": {
"start": {
"line": 114,
"column": 35
},
"end": {
"line": 114,
"column": 41
},
"identifierName": "scaleW"
},
"name": "scaleW"
}
}
},
{
"type": "BinaryExpression",
"start": 3056,
"end": 3085,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 41
}
},
"left": {
"type": "Identifier",
"start": 3056,
"end": 3057,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 13
},
"identifierName": "y"
},
"name": "y"
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 3060,
"end": 3085,
"loc": {
"start": {
"line": 115,
"column": 16
},
"end": {
"line": 115,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 3060,
"end": 3076,
"loc": {
"start": {
"line": 115,
"column": 16
},
"end": {
"line": 115,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 3060,
"end": 3064,
"loc": {
"start": {
"line": 115,
"column": 16
},
"end": {
"line": 115,
"column": 20
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 3065,
"end": 3076,
"loc": {
"start": {
"line": 115,
"column": 21
},
"end": {
"line": 115,
"column": 32
},
"identifierName": "packOffsetY"
},
"name": "packOffsetY"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3079,
"end": 3085,
"loc": {
"start": {
"line": 115,
"column": 35
},
"end": {
"line": 115,
"column": 41
},
"identifierName": "scaleH"
},
"name": "scaleH"
}
}
},
{
"type": "BinaryExpression",
"start": 3100,
"end": 3121,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 33
}
},
"left": {
"type": "MemberExpression",
"start": 3100,
"end": 3112,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 3100,
"end": 3104,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 16
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 3105,
"end": 3112,
"loc": {
"start": {
"line": 116,
"column": 17
},
"end": {
"line": 116,
"column": 24
},
"identifierName": "packedW"
},
"name": "packedW"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3115,
"end": 3121,
"loc": {
"start": {
"line": 116,
"column": 27
},
"end": {
"line": 116,
"column": 33
},
"identifierName": "scaleW"
},
"name": "scaleW"
}
},
{
"type": "BinaryExpression",
"start": 3136,
"end": 3157,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 33
}
},
"left": {
"type": "MemberExpression",
"start": 3136,
"end": 3148,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 3136,
"end": 3140,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 16
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 3141,
"end": 3148,
"loc": {
"start": {
"line": 117,
"column": 17
},
"end": {
"line": 117,
"column": 24
},
"identifierName": "packedH"
},
"name": "packedH"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3151,
"end": 3157,
"loc": {
"start": {
"line": 117,
"column": 27
},
"end": {
"line": 117,
"column": 33
},
"identifierName": "scaleH"
},
"name": "scaleH"
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite onto a regular context using no contexts\r\n * @see {BaseSprite.draw}\r\n ",
"start": 2103,
"end": 2212,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 83,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} size\r\n * @param {boolean=} clipping\r\n ",
"start": 3184,
"end": 3363,
"loc": {
"start": {
"line": 121,
"column": 4
},
"end": {
"line": 128,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3369,
"end": 3525,
"loc": {
"start": {
"line": 129,
"column": 4
},
"end": {
"line": 131,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3369,
"end": 3387,
"loc": {
"start": {
"line": 129,
"column": 4
},
"end": {
"line": 129,
"column": 22
},
"identifierName": "drawCachedCentered"
},
"name": "drawCachedCentered",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3388,
"end": 3398,
"loc": {
"start": {
"line": 129,
"column": 23
},
"end": {
"line": 129,
"column": 33
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "Identifier",
"start": 3400,
"end": 3401,
"loc": {
"start": {
"line": 129,
"column": 35
},
"end": {
"line": 129,
"column": 36
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 3403,
"end": 3404,
"loc": {
"start": {
"line": 129,
"column": 38
},
"end": {
"line": 129,
"column": 39
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 3406,
"end": 3410,
"loc": {
"start": {
"line": 129,
"column": 41
},
"end": {
"line": 129,
"column": 45
},
"identifierName": "size"
},
"name": "size"
},
{
"type": "AssignmentPattern",
"start": 3412,
"end": 3427,
"loc": {
"start": {
"line": 129,
"column": 47
},
"end": {
"line": 129,
"column": 62
}
},
"left": {
"type": "Identifier",
"start": 3412,
"end": 3420,
"loc": {
"start": {
"line": 129,
"column": 47
},
"end": {
"line": 129,
"column": 55
},
"identifierName": "clipping"
},
"name": "clipping"
},
"right": {
"type": "BooleanLiteral",
"start": 3423,
"end": 3427,
"loc": {
"start": {
"line": 129,
"column": 58
},
"end": {
"line": 129,
"column": 62
}
},
"value": true
}
}
],
"body": {
"type": "BlockStatement",
"start": 3429,
"end": 3525,
"loc": {
"start": {
"line": 129,
"column": 64
},
"end": {
"line": 131,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3440,
"end": 3518,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 86
}
},
"expression": {
"type": "CallExpression",
"start": 3440,
"end": 3517,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 85
}
},
"callee": {
"type": "MemberExpression",
"start": 3440,
"end": 3455,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 3440,
"end": 3444,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3445,
"end": 3455,
"loc": {
"start": {
"line": 130,
"column": 13
},
"end": {
"line": 130,
"column": 23
},
"identifierName": "drawCached"
},
"name": "drawCached"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3456,
"end": 3466,
"loc": {
"start": {
"line": 130,
"column": 24
},
"end": {
"line": 130,
"column": 34
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "BinaryExpression",
"start": 3468,
"end": 3480,
"loc": {
"start": {
"line": 130,
"column": 36
},
"end": {
"line": 130,
"column": 48
}
},
"left": {
"type": "Identifier",
"start": 3468,
"end": 3469,
"loc": {
"start": {
"line": 130,
"column": 36
},
"end": {
"line": 130,
"column": 37
},
"identifierName": "x"
},
"name": "x"
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 3472,
"end": 3480,
"loc": {
"start": {
"line": 130,
"column": 40
},
"end": {
"line": 130,
"column": 48
}
},
"left": {
"type": "Identifier",
"start": 3472,
"end": 3476,
"loc": {
"start": {
"line": 130,
"column": 40
},
"end": {
"line": 130,
"column": 44
},
"identifierName": "size"
},
"name": "size"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 3479,
"end": 3480,
"loc": {
"start": {
"line": 130,
"column": 47
},
"end": {
"line": 130,
"column": 48
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
}
},
{
"type": "BinaryExpression",
"start": 3482,
"end": 3494,
"loc": {
"start": {
"line": 130,
"column": 50
},
"end": {
"line": 130,
"column": 62
}
},
"left": {
"type": "Identifier",
"start": 3482,
"end": 3483,
"loc": {
"start": {
"line": 130,
"column": 50
},
"end": {
"line": 130,
"column": 51
},
"identifierName": "y"
},
"name": "y"
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 3486,
"end": 3494,
"loc": {
"start": {
"line": 130,
"column": 54
},
"end": {
"line": 130,
"column": 62
}
},
"left": {
"type": "Identifier",
"start": 3486,
"end": 3490,
"loc": {
"start": {
"line": 130,
"column": 54
},
"end": {
"line": 130,
"column": 58
},
"identifierName": "size"
},
"name": "size"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 3493,
"end": 3494,
"loc": {
"start": {
"line": 130,
"column": 61
},
"end": {
"line": 130,
"column": 62
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
}
},
{
"type": "Identifier",
"start": 3496,
"end": 3500,
"loc": {
"start": {
"line": 130,
"column": 64
},
"end": {
"line": 130,
"column": 68
},
"identifierName": "size"
},
"name": "size"
},
{
"type": "Identifier",
"start": 3502,
"end": 3506,
"loc": {
"start": {
"line": 130,
"column": 70
},
"end": {
"line": 130,
"column": 74
},
"identifierName": "size"
},
"name": "size"
},
{
"type": "Identifier",
"start": 3508,
"end": 3516,
"loc": {
"start": {
"line": 130,
"column": 76
},
"end": {
"line": 130,
"column": 84
},
"identifierName": "clipping"
},
"name": "clipping"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} size\r\n * @param {boolean=} clipping\r\n ",
"start": 3184,
"end": 3363,
"loc": {
"start": {
"line": 121,
"column": 4
},
"end": {
"line": 128,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} size\r\n ",
"start": 3533,
"end": 3684,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 139,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3690,
"end": 3801,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 142,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3690,
"end": 3702,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 16
},
"identifierName": "drawCentered"
},
"name": "drawCentered",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3703,
"end": 3710,
"loc": {
"start": {
"line": 140,
"column": 17
},
"end": {
"line": 140,
"column": 24
},
"identifierName": "context"
},
"name": "context"
},
{
"type": "Identifier",
"start": 3712,
"end": 3713,
"loc": {
"start": {
"line": 140,
"column": 26
},
"end": {
"line": 140,
"column": 27
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 3715,
"end": 3716,
"loc": {
"start": {
"line": 140,
"column": 29
},
"end": {
"line": 140,
"column": 30
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 3718,
"end": 3722,
"loc": {
"start": {
"line": 140,
"column": 32
},
"end": {
"line": 140,
"column": 36
},
"identifierName": "size"
},
"name": "size"
}
],
"body": {
"type": "BlockStatement",
"start": 3724,
"end": 3801,
"loc": {
"start": {
"line": 140,
"column": 38
},
"end": {
"line": 142,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3735,
"end": 3794,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 67
}
},
"expression": {
"type": "CallExpression",
"start": 3735,
"end": 3793,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 3735,
"end": 3744,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 3735,
"end": 3739,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3740,
"end": 3744,
"loc": {
"start": {
"line": 141,
"column": 13
},
"end": {
"line": 141,
"column": 17
},
"identifierName": "draw"
},
"name": "draw"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3745,
"end": 3752,
"loc": {
"start": {
"line": 141,
"column": 18
},
"end": {
"line": 141,
"column": 25
},
"identifierName": "context"
},
"name": "context"
},
{
"type": "BinaryExpression",
"start": 3754,
"end": 3766,
"loc": {
"start": {
"line": 141,
"column": 27
},
"end": {
"line": 141,
"column": 39
}
},
"left": {
"type": "Identifier",
"start": 3754,
"end": 3755,
"loc": {
"start": {
"line": 141,
"column": 27
},
"end": {
"line": 141,
"column": 28
},
"identifierName": "x"
},
"name": "x"
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 3758,
"end": 3766,
"loc": {
"start": {
"line": 141,
"column": 31
},
"end": {
"line": 141,
"column": 39
}
},
"left": {
"type": "Identifier",
"start": 3758,
"end": 3762,
"loc": {
"start": {
"line": 141,
"column": 31
},
"end": {
"line": 141,
"column": 35
},
"identifierName": "size"
},
"name": "size"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 3765,
"end": 3766,
"loc": {
"start": {
"line": 141,
"column": 38
},
"end": {
"line": 141,
"column": 39
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
}
},
{
"type": "BinaryExpression",
"start": 3768,
"end": 3780,
"loc": {
"start": {
"line": 141,
"column": 41
},
"end": {
"line": 141,
"column": 53
}
},
"left": {
"type": "Identifier",
"start": 3768,
"end": 3769,
"loc": {
"start": {
"line": 141,
"column": 41
},
"end": {
"line": 141,
"column": 42
},
"identifierName": "y"
},
"name": "y"
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 3772,
"end": 3780,
"loc": {
"start": {
"line": 141,
"column": 45
},
"end": {
"line": 141,
"column": 53
}
},
"left": {
"type": "Identifier",
"start": 3772,
"end": 3776,
"loc": {
"start": {
"line": 141,
"column": 45
},
"end": {
"line": 141,
"column": 49
},
"identifierName": "size"
},
"name": "size"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 3779,
"end": 3780,
"loc": {
"start": {
"line": 141,
"column": 52
},
"end": {
"line": 141,
"column": 53
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
}
},
{
"type": "Identifier",
"start": 3782,
"end": 3786,
"loc": {
"start": {
"line": 141,
"column": 55
},
"end": {
"line": 141,
"column": 59
},
"identifierName": "size"
},
"name": "size"
},
{
"type": "Identifier",
"start": 3788,
"end": 3792,
"loc": {
"start": {
"line": 141,
"column": 61
},
"end": {
"line": 141,
"column": 65
},
"identifierName": "size"
},
"name": "size"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} size\r\n ",
"start": 3533,
"end": 3684,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 139,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite\r\n * @param {DrawParameters} parameters\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {boolean=} clipping Whether to perform culling\r\n ",
"start": 3809,
"end": 4055,
"loc": {
"start": {
"line": 144,
"column": 4
},
"end": {
"line": 152,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4061,
"end": 6104,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 221,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4061,
"end": 4071,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 153,
"column": 14
},
"identifierName": "drawCached"
},
"name": "drawCached",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4072,
"end": 4082,
"loc": {
"start": {
"line": 153,
"column": 15
},
"end": {
"line": 153,
"column": 25
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "Identifier",
"start": 4084,
"end": 4085,
"loc": {
"start": {
"line": 153,
"column": 27
},
"end": {
"line": 153,
"column": 28
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 4087,
"end": 4088,
"loc": {
"start": {
"line": 153,
"column": 30
},
"end": {
"line": 153,
"column": 31
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "AssignmentPattern",
"start": 4090,
"end": 4098,
"loc": {
"start": {
"line": 153,
"column": 33
},
"end": {
"line": 153,
"column": 41
}
},
"left": {
"type": "Identifier",
"start": 4090,
"end": 4091,
"loc": {
"start": {
"line": 153,
"column": 33
},
"end": {
"line": 153,
"column": 34
},
"identifierName": "w"
},
"name": "w"
},
"right": {
"type": "NullLiteral",
"start": 4094,
"end": 4098,
"loc": {
"start": {
"line": 153,
"column": 37
},
"end": {
"line": 153,
"column": 41
}
}
}
},
{
"type": "AssignmentPattern",
"start": 4100,
"end": 4108,
"loc": {
"start": {
"line": 153,
"column": 43
},
"end": {
"line": 153,
"column": 51
}
},
"left": {
"type": "Identifier",
"start": 4100,
"end": 4101,
"loc": {
"start": {
"line": 153,
"column": 43
},
"end": {
"line": 153,
"column": 44
},
"identifierName": "h"
},
"name": "h"
},
"right": {
"type": "NullLiteral",
"start": 4104,
"end": 4108,
"loc": {
"start": {
"line": 153,
"column": 47
},
"end": {
"line": 153,
"column": 51
}
}
}
},
{
"type": "AssignmentPattern",
"start": 4110,
"end": 4125,
"loc": {
"start": {
"line": 153,
"column": 53
},
"end": {
"line": 153,
"column": 68
}
},
"left": {
"type": "Identifier",
"start": 4110,
"end": 4118,
"loc": {
"start": {
"line": 153,
"column": 53
},
"end": {
"line": 153,
"column": 61
},
"identifierName": "clipping"
},
"name": "clipping"
},
"right": {
"type": "BooleanLiteral",
"start": 4121,
"end": 4125,
"loc": {
"start": {
"line": 153,
"column": 64
},
"end": {
"line": 153,
"column": 68
}
},
"value": true
}
}
],
"body": {
"type": "BlockStatement",
"start": 4127,
"end": 6104,
"loc": {
"start": {
"line": 153,
"column": 70
},
"end": {
"line": 221,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 4138,
"end": 4369,
"loc": {
"start": {
"line": 154,
"column": 8
},
"end": {
"line": 158,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 4142,
"end": 4150,
"loc": {
"start": {
"line": 154,
"column": 12
},
"end": {
"line": 154,
"column": 20
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"consequent": {
"type": "BlockStatement",
"start": 4152,
"end": 4369,
"loc": {
"start": {
"line": 154,
"column": 22
},
"end": {
"line": 158,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4167,
"end": 4235,
"loc": {
"start": {
"line": 155,
"column": 12
},
"end": {
"line": 155,
"column": 80
}
},
"expression": {
"type": "CallExpression",
"start": 4167,
"end": 4234,
"loc": {
"start": {
"line": 155,
"column": 12
},
"end": {
"line": 155,
"column": 79
}
},
"callee": {
"type": "Identifier",
"start": 4167,
"end": 4173,
"loc": {
"start": {
"line": 155,
"column": 12
},
"end": {
"line": 155,
"column": 18
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 4174,
"end": 4210,
"loc": {
"start": {
"line": 155,
"column": 19
},
"end": {
"line": 155,
"column": 55
}
},
"left": {
"type": "Identifier",
"start": 4174,
"end": 4184,
"loc": {
"start": {
"line": 155,
"column": 19
},
"end": {
"line": 155,
"column": 29
},
"identifierName": "parameters"
},
"name": "parameters"
},
"operator": "instanceof",
"right": {
"type": "Identifier",
"start": 4196,
"end": 4210,
"loc": {
"start": {
"line": 155,
"column": 41
},
"end": {
"line": 155,
"column": 55
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
}
},
{
"type": "StringLiteral",
"start": 4212,
"end": 4233,
"loc": {
"start": {
"line": 155,
"column": 57
},
"end": {
"line": 155,
"column": 78
}
},
"extra": {
"rawValue": "Not a valid context",
"raw": "\"Not a valid context\""
},
"value": "Not a valid context"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4249,
"end": 4296,
"loc": {
"start": {
"line": 156,
"column": 12
},
"end": {
"line": 156,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 4249,
"end": 4295,
"loc": {
"start": {
"line": 156,
"column": 12
},
"end": {
"line": 156,
"column": 58
}
},
"callee": {
"type": "Identifier",
"start": 4249,
"end": 4255,
"loc": {
"start": {
"line": 156,
"column": 12
},
"end": {
"line": 156,
"column": 18
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "LogicalExpression",
"start": 4256,
"end": 4268,
"loc": {
"start": {
"line": 156,
"column": 19
},
"end": {
"line": 156,
"column": 31
}
},
"left": {
"type": "UnaryExpression",
"start": 4256,
"end": 4259,
"loc": {
"start": {
"line": 156,
"column": 19
},
"end": {
"line": 156,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "UnaryExpression",
"start": 4257,
"end": 4259,
"loc": {
"start": {
"line": 156,
"column": 20
},
"end": {
"line": 156,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 4258,
"end": 4259,
"loc": {
"start": {
"line": 156,
"column": 21
},
"end": {
"line": 156,
"column": 22
},
"identifierName": "w"
},
"name": "w"
},
"extra": {
"parenthesizedArgument": false
}
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 4263,
"end": 4268,
"loc": {
"start": {
"line": 156,
"column": 26
},
"end": {
"line": 156,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 4263,
"end": 4264,
"loc": {
"start": {
"line": 156,
"column": 26
},
"end": {
"line": 156,
"column": 27
},
"identifierName": "w"
},
"name": "w"
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 4267,
"end": 4268,
"loc": {
"start": {
"line": 156,
"column": 30
},
"end": {
"line": 156,
"column": 31
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
},
{
"type": "BinaryExpression",
"start": 4270,
"end": 4294,
"loc": {
"start": {
"line": 156,
"column": 33
},
"end": {
"line": 156,
"column": 57
}
},
"left": {
"type": "StringLiteral",
"start": 4270,
"end": 4290,
"loc": {
"start": {
"line": 156,
"column": 33
},
"end": {
"line": 156,
"column": 53
}
},
"extra": {
"rawValue": "Not a valid width:",
"raw": "\"Not a valid width:\""
},
"value": "Not a valid width:"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 4293,
"end": 4294,
"loc": {
"start": {
"line": 156,
"column": 56
},
"end": {
"line": 156,
"column": 57
},
"identifierName": "w"
},
"name": "w"
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4310,
"end": 4358,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 4310,
"end": 4357,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 59
}
},
"callee": {
"type": "Identifier",
"start": 4310,
"end": 4316,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 18
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "LogicalExpression",
"start": 4317,
"end": 4329,
"loc": {
"start": {
"line": 157,
"column": 19
},
"end": {
"line": 157,
"column": 31
}
},
"left": {
"type": "UnaryExpression",
"start": 4317,
"end": 4320,
"loc": {
"start": {
"line": 157,
"column": 19
},
"end": {
"line": 157,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "UnaryExpression",
"start": 4318,
"end": 4320,
"loc": {
"start": {
"line": 157,
"column": 20
},
"end": {
"line": 157,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 4319,
"end": 4320,
"loc": {
"start": {
"line": 157,
"column": 21
},
"end": {
"line": 157,
"column": 22
},
"identifierName": "h"
},
"name": "h"
},
"extra": {
"parenthesizedArgument": false
}
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 4324,
"end": 4329,
"loc": {
"start": {
"line": 157,
"column": 26
},
"end": {
"line": 157,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 4324,
"end": 4325,
"loc": {
"start": {
"line": 157,
"column": 26
},
"end": {
"line": 157,
"column": 27
},
"identifierName": "h"
},
"name": "h"
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 4328,
"end": 4329,
"loc": {
"start": {
"line": 157,
"column": 30
},
"end": {
"line": 157,
"column": 31
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
},
{
"type": "BinaryExpression",
"start": 4331,
"end": 4356,
"loc": {
"start": {
"line": 157,
"column": 33
},
"end": {
"line": 157,
"column": 58
}
},
"left": {
"type": "StringLiteral",
"start": 4331,
"end": 4352,
"loc": {
"start": {
"line": 157,
"column": 33
},
"end": {
"line": 157,
"column": 54
}
},
"extra": {
"rawValue": "Not a valid height:",
"raw": "\"Not a valid height:\""
},
"value": "Not a valid height:"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 4355,
"end": 4356,
"loc": {
"start": {
"line": 157,
"column": 57
},
"end": {
"line": 157,
"column": 58
},
"identifierName": "h"
},
"name": "h"
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 4381,
"end": 4424,
"loc": {
"start": {
"line": 160,
"column": 8
},
"end": {
"line": 160,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4387,
"end": 4423,
"loc": {
"start": {
"line": 160,
"column": 14
},
"end": {
"line": 160,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 4387,
"end": 4398,
"loc": {
"start": {
"line": 160,
"column": 14
},
"end": {
"line": 160,
"column": 25
},
"identifierName": "visibleRect"
},
"name": "visibleRect"
},
"init": {
"type": "MemberExpression",
"start": 4401,
"end": 4423,
"loc": {
"start": {
"line": 160,
"column": 28
},
"end": {
"line": 160,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 4401,
"end": 4411,
"loc": {
"start": {
"line": 160,
"column": 28
},
"end": {
"line": 160,
"column": 38
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 4412,
"end": 4423,
"loc": {
"start": {
"line": 160,
"column": 39
},
"end": {
"line": 160,
"column": 50
},
"identifierName": "visibleRect"
},
"name": "visibleRect"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4436,
"end": 4479,
"loc": {
"start": {
"line": 162,
"column": 8
},
"end": {
"line": 162,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4442,
"end": 4478,
"loc": {
"start": {
"line": 162,
"column": 14
},
"end": {
"line": 162,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 4442,
"end": 4447,
"loc": {
"start": {
"line": 162,
"column": 14
},
"end": {
"line": 162,
"column": 19
},
"identifierName": "scale"
},
"name": "scale"
},
"init": {
"type": "MemberExpression",
"start": 4450,
"end": 4478,
"loc": {
"start": {
"line": 162,
"column": 22
},
"end": {
"line": 162,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 4450,
"end": 4460,
"loc": {
"start": {
"line": 162,
"column": 22
},
"end": {
"line": 162,
"column": 32
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 4461,
"end": 4478,
"loc": {
"start": {
"line": 162,
"column": 33
},
"end": {
"line": 162,
"column": 50
},
"identifierName": "desiredAtlasScale"
},
"name": "desiredAtlasScale"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4489,
"end": 4532,
"loc": {
"start": {
"line": 163,
"column": 8
},
"end": {
"line": 163,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4495,
"end": 4531,
"loc": {
"start": {
"line": 163,
"column": 14
},
"end": {
"line": 163,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 4495,
"end": 4499,
"loc": {
"start": {
"line": 163,
"column": 14
},
"end": {
"line": 163,
"column": 18
},
"identifierName": "link"
},
"name": "link"
},
"init": {
"type": "MemberExpression",
"start": 4502,
"end": 4531,
"loc": {
"start": {
"line": 163,
"column": 21
},
"end": {
"line": 163,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 4502,
"end": 4524,
"loc": {
"start": {
"line": 163,
"column": 21
},
"end": {
"line": 163,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 4502,
"end": 4506,
"loc": {
"start": {
"line": 163,
"column": 21
},
"end": {
"line": 163,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 4507,
"end": 4524,
"loc": {
"start": {
"line": 163,
"column": 26
},
"end": {
"line": 163,
"column": 43
},
"identifierName": "linksByResolution"
},
"name": "linksByResolution"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4525,
"end": 4530,
"loc": {
"start": {
"line": 163,
"column": 44
},
"end": {
"line": 163,
"column": 49
},
"identifierName": "scale"
},
"name": "scale"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 4544,
"end": 4671,
"loc": {
"start": {
"line": 165,
"column": 8
},
"end": {
"line": 167,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 4548,
"end": 4553,
"loc": {
"start": {
"line": 165,
"column": 12
},
"end": {
"line": 165,
"column": 17
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 4549,
"end": 4553,
"loc": {
"start": {
"line": 165,
"column": 13
},
"end": {
"line": 165,
"column": 17
},
"identifierName": "link"
},
"name": "link"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4555,
"end": 4671,
"loc": {
"start": {
"line": 165,
"column": 19
},
"end": {
"line": 167,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4570,
"end": 4660,
"loc": {
"start": {
"line": 166,
"column": 12
},
"end": {
"line": 166,
"column": 102
}
},
"expression": {
"type": "CallExpression",
"start": 4570,
"end": 4659,
"loc": {
"start": {
"line": 166,
"column": 12
},
"end": {
"line": 166,
"column": 101
}
},
"callee": {
"type": "Identifier",
"start": 4570,
"end": 4576,
"loc": {
"start": {
"line": 166,
"column": 12
},
"end": {
"line": 166,
"column": 18
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 4577,
"end": 4582,
"loc": {
"start": {
"line": 166,
"column": 19
},
"end": {
"line": 166,
"column": 24
}
},
"value": false
},
{
"type": "TemplateLiteral",
"start": 4584,
"end": 4658,
"loc": {
"start": {
"line": 166,
"column": 26
},
"end": {
"line": 166,
"column": 100
}
},
"expressions": [
{
"type": "Identifier",
"start": 4603,
"end": 4608,
"loc": {
"start": {
"line": 166,
"column": 45
},
"end": {
"line": 166,
"column": 50
},
"identifierName": "scale"
},
"name": "scale"
},
{
"type": "CallExpression",
"start": 4620,
"end": 4655,
"loc": {
"start": {
"line": 166,
"column": 62
},
"end": {
"line": 166,
"column": 97
}
},
"callee": {
"type": "MemberExpression",
"start": 4620,
"end": 4631,
"loc": {
"start": {
"line": 166,
"column": 62
},
"end": {
"line": 166,
"column": 73
}
},
"object": {
"type": "Identifier",
"start": 4620,
"end": 4626,
"loc": {
"start": {
"line": 166,
"column": 62
},
"end": {
"line": 166,
"column": 68
},
"identifierName": "Object"
},
"name": "Object"
},
"property": {
"type": "Identifier",
"start": 4627,
"end": 4631,
"loc": {
"start": {
"line": 166,
"column": 69
},
"end": {
"line": 166,
"column": 73
},
"identifierName": "keys"
},
"name": "keys"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4632,
"end": 4654,
"loc": {
"start": {
"line": 166,
"column": 74
},
"end": {
"line": 166,
"column": 96
}
},
"object": {
"type": "ThisExpression",
"start": 4632,
"end": 4636,
"loc": {
"start": {
"line": 166,
"column": 74
},
"end": {
"line": 166,
"column": 78
}
}
},
"property": {
"type": "Identifier",
"start": 4637,
"end": 4654,
"loc": {
"start": {
"line": 166,
"column": 79
},
"end": {
"line": 166,
"column": 96
},
"identifierName": "linksByResolution"
},
"name": "linksByResolution"
},
"computed": false
}
]
}
],
"quasis": [
{
"type": "TemplateElement",
"start": 4585,
"end": 4601,
"loc": {
"start": {
"line": 166,
"column": 27
},
"end": {
"line": 166,
"column": 43
}
},
"value": {
"raw": "Link not known: ",
"cooked": "Link not known: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 4609,
"end": 4618,
"loc": {
"start": {
"line": 166,
"column": 51
},
"end": {
"line": 166,
"column": 60
}
},
"value": {
"raw": " (having ",
"cooked": " (having "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 4656,
"end": 4657,
"loc": {
"start": {
"line": 166,
"column": 98
},
"end": {
"line": 166,
"column": 99
}
},
"value": {
"raw": ")",
"cooked": ")"
},
"tail": true
}
]
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 4683,
"end": 4709,
"loc": {
"start": {
"line": 169,
"column": 8
},
"end": {
"line": 169,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4689,
"end": 4708,
"loc": {
"start": {
"line": 169,
"column": 14
},
"end": {
"line": 169,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 4689,
"end": 4695,
"loc": {
"start": {
"line": 169,
"column": 14
},
"end": {
"line": 169,
"column": 20
},
"identifierName": "scaleW"
},
"name": "scaleW"
},
"init": {
"type": "BinaryExpression",
"start": 4698,
"end": 4708,
"loc": {
"start": {
"line": 169,
"column": 23
},
"end": {
"line": 169,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 4698,
"end": 4699,
"loc": {
"start": {
"line": 169,
"column": 23
},
"end": {
"line": 169,
"column": 24
},
"identifierName": "w"
},
"name": "w"
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 4702,
"end": 4708,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 4702,
"end": 4706,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 31
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 4707,
"end": 4708,
"loc": {
"start": {
"line": 169,
"column": 32
},
"end": {
"line": 169,
"column": 33
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4719,
"end": 4745,
"loc": {
"start": {
"line": 170,
"column": 8
},
"end": {
"line": 170,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4725,
"end": 4744,
"loc": {
"start": {
"line": 170,
"column": 14
},
"end": {
"line": 170,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 4725,
"end": 4731,
"loc": {
"start": {
"line": 170,
"column": 14
},
"end": {
"line": 170,
"column": 20
},
"identifierName": "scaleH"
},
"name": "scaleH"
},
"init": {
"type": "BinaryExpression",
"start": 4734,
"end": 4744,
"loc": {
"start": {
"line": 170,
"column": 23
},
"end": {
"line": 170,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 4734,
"end": 4735,
"loc": {
"start": {
"line": 170,
"column": 23
},
"end": {
"line": 170,
"column": 24
},
"identifierName": "h"
},
"name": "h"
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 4738,
"end": 4744,
"loc": {
"start": {
"line": 170,
"column": 27
},
"end": {
"line": 170,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 4738,
"end": 4742,
"loc": {
"start": {
"line": 170,
"column": 27
},
"end": {
"line": 170,
"column": 31
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 4743,
"end": 4744,
"loc": {
"start": {
"line": 170,
"column": 32
},
"end": {
"line": 170,
"column": 33
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4757,
"end": 4799,
"loc": {
"start": {
"line": 172,
"column": 8
},
"end": {
"line": 172,
"column": 50
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4761,
"end": 4798,
"loc": {
"start": {
"line": 172,
"column": 12
},
"end": {
"line": 172,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 4761,
"end": 4766,
"loc": {
"start": {
"line": 172,
"column": 12
},
"end": {
"line": 172,
"column": 17
},
"identifierName": "destX"
},
"name": "destX"
},
"init": {
"type": "BinaryExpression",
"start": 4769,
"end": 4798,
"loc": {
"start": {
"line": 172,
"column": 20
},
"end": {
"line": 172,
"column": 49
}
},
"left": {
"type": "Identifier",
"start": 4769,
"end": 4770,
"loc": {
"start": {
"line": 172,
"column": 20
},
"end": {
"line": 172,
"column": 21
},
"identifierName": "x"
},
"name": "x"
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 4773,
"end": 4798,
"loc": {
"start": {
"line": 172,
"column": 24
},
"end": {
"line": 172,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 4773,
"end": 4789,
"loc": {
"start": {
"line": 172,
"column": 24
},
"end": {
"line": 172,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 4773,
"end": 4777,
"loc": {
"start": {
"line": 172,
"column": 24
},
"end": {
"line": 172,
"column": 28
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 4778,
"end": 4789,
"loc": {
"start": {
"line": 172,
"column": 29
},
"end": {
"line": 172,
"column": 40
},
"identifierName": "packOffsetX"
},
"name": "packOffsetX"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 4792,
"end": 4798,
"loc": {
"start": {
"line": 172,
"column": 43
},
"end": {
"line": 172,
"column": 49
},
"identifierName": "scaleW"
},
"name": "scaleW"
}
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 4809,
"end": 4851,
"loc": {
"start": {
"line": 173,
"column": 8
},
"end": {
"line": 173,
"column": 50
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4813,
"end": 4850,
"loc": {
"start": {
"line": 173,
"column": 12
},
"end": {
"line": 173,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 4813,
"end": 4818,
"loc": {
"start": {
"line": 173,
"column": 12
},
"end": {
"line": 173,
"column": 17
},
"identifierName": "destY"
},
"name": "destY"
},
"init": {
"type": "BinaryExpression",
"start": 4821,
"end": 4850,
"loc": {
"start": {
"line": 173,
"column": 20
},
"end": {
"line": 173,
"column": 49
}
},
"left": {
"type": "Identifier",
"start": 4821,
"end": 4822,
"loc": {
"start": {
"line": 173,
"column": 20
},
"end": {
"line": 173,
"column": 21
},
"identifierName": "y"
},
"name": "y"
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 4825,
"end": 4850,
"loc": {
"start": {
"line": 173,
"column": 24
},
"end": {
"line": 173,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 4825,
"end": 4841,
"loc": {
"start": {
"line": 173,
"column": 24
},
"end": {
"line": 173,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 4825,
"end": 4829,
"loc": {
"start": {
"line": 173,
"column": 24
},
"end": {
"line": 173,
"column": 28
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 4830,
"end": 4841,
"loc": {
"start": {
"line": 173,
"column": 29
},
"end": {
"line": 173,
"column": 40
},
"identifierName": "packOffsetY"
},
"name": "packOffsetY"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 4844,
"end": 4850,
"loc": {
"start": {
"line": 173,
"column": 43
},
"end": {
"line": 173,
"column": 49
},
"identifierName": "scaleH"
},
"name": "scaleH"
}
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 4861,
"end": 4895,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4865,
"end": 4894,
"loc": {
"start": {
"line": 174,
"column": 12
},
"end": {
"line": 174,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 4865,
"end": 4870,
"loc": {
"start": {
"line": 174,
"column": 12
},
"end": {
"line": 174,
"column": 17
},
"identifierName": "destW"
},
"name": "destW"
},
"init": {
"type": "BinaryExpression",
"start": 4873,
"end": 4894,
"loc": {
"start": {
"line": 174,
"column": 20
},
"end": {
"line": 174,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 4873,
"end": 4885,
"loc": {
"start": {
"line": 174,
"column": 20
},
"end": {
"line": 174,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 4873,
"end": 4877,
"loc": {
"start": {
"line": 174,
"column": 20
},
"end": {
"line": 174,
"column": 24
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 4878,
"end": 4885,
"loc": {
"start": {
"line": 174,
"column": 25
},
"end": {
"line": 174,
"column": 32
},
"identifierName": "packedW"
},
"name": "packedW"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 4888,
"end": 4894,
"loc": {
"start": {
"line": 174,
"column": 35
},
"end": {
"line": 174,
"column": 41
},
"identifierName": "scaleW"
},
"name": "scaleW"
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 4905,
"end": 4939,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4909,
"end": 4938,
"loc": {
"start": {
"line": 175,
"column": 12
},
"end": {
"line": 175,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 4909,
"end": 4914,
"loc": {
"start": {
"line": 175,
"column": 12
},
"end": {
"line": 175,
"column": 17
},
"identifierName": "destH"
},
"name": "destH"
},
"init": {
"type": "BinaryExpression",
"start": 4917,
"end": 4938,
"loc": {
"start": {
"line": 175,
"column": 20
},
"end": {
"line": 175,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 4917,
"end": 4929,
"loc": {
"start": {
"line": 175,
"column": 20
},
"end": {
"line": 175,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 4917,
"end": 4921,
"loc": {
"start": {
"line": 175,
"column": 20
},
"end": {
"line": 175,
"column": 24
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 4922,
"end": 4929,
"loc": {
"start": {
"line": 175,
"column": 25
},
"end": {
"line": 175,
"column": 32
},
"identifierName": "packedH"
},
"name": "packedH"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 4932,
"end": 4938,
"loc": {
"start": {
"line": 175,
"column": 35
},
"end": {
"line": 175,
"column": 41
},
"identifierName": "scaleH"
},
"name": "scaleH"
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 4951,
"end": 4975,
"loc": {
"start": {
"line": 177,
"column": 8
},
"end": {
"line": 177,
"column": 32
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4955,
"end": 4974,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 31
}
},
"id": {
"type": "Identifier",
"start": 4955,
"end": 4959,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 16
},
"identifierName": "srcX"
},
"name": "srcX"
},
"init": {
"type": "MemberExpression",
"start": 4962,
"end": 4974,
"loc": {
"start": {
"line": 177,
"column": 19
},
"end": {
"line": 177,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 4962,
"end": 4966,
"loc": {
"start": {
"line": 177,
"column": 19
},
"end": {
"line": 177,
"column": 23
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 4967,
"end": 4974,
"loc": {
"start": {
"line": 177,
"column": 24
},
"end": {
"line": 177,
"column": 31
},
"identifierName": "packedX"
},
"name": "packedX"
},
"computed": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 4985,
"end": 5009,
"loc": {
"start": {
"line": 178,
"column": 8
},
"end": {
"line": 178,
"column": 32
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4989,
"end": 5008,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 31
}
},
"id": {
"type": "Identifier",
"start": 4989,
"end": 4993,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 16
},
"identifierName": "srcY"
},
"name": "srcY"
},
"init": {
"type": "MemberExpression",
"start": 4996,
"end": 5008,
"loc": {
"start": {
"line": 178,
"column": 19
},
"end": {
"line": 178,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 4996,
"end": 5000,
"loc": {
"start": {
"line": 178,
"column": 19
},
"end": {
"line": 178,
"column": 23
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 5001,
"end": 5008,
"loc": {
"start": {
"line": 178,
"column": 24
},
"end": {
"line": 178,
"column": 31
},
"identifierName": "packedY"
},
"name": "packedY"
},
"computed": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 5019,
"end": 5043,
"loc": {
"start": {
"line": 179,
"column": 8
},
"end": {
"line": 179,
"column": 32
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5023,
"end": 5042,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 31
}
},
"id": {
"type": "Identifier",
"start": 5023,
"end": 5027,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 16
},
"identifierName": "srcW"
},
"name": "srcW"
},
"init": {
"type": "MemberExpression",
"start": 5030,
"end": 5042,
"loc": {
"start": {
"line": 179,
"column": 19
},
"end": {
"line": 179,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 5030,
"end": 5034,
"loc": {
"start": {
"line": 179,
"column": 19
},
"end": {
"line": 179,
"column": 23
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 5035,
"end": 5042,
"loc": {
"start": {
"line": 179,
"column": 24
},
"end": {
"line": 179,
"column": 31
},
"identifierName": "packedW"
},
"name": "packedW"
},
"computed": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 5053,
"end": 5077,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 32
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5057,
"end": 5076,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 180,
"column": 31
}
},
"id": {
"type": "Identifier",
"start": 5057,
"end": 5061,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 180,
"column": 16
},
"identifierName": "srcH"
},
"name": "srcH"
},
"init": {
"type": "MemberExpression",
"start": 5064,
"end": 5076,
"loc": {
"start": {
"line": 180,
"column": 19
},
"end": {
"line": 180,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 5064,
"end": 5068,
"loc": {
"start": {
"line": 180,
"column": 19
},
"end": {
"line": 180,
"column": 23
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 5069,
"end": 5076,
"loc": {
"start": {
"line": 180,
"column": 24
},
"end": {
"line": 180,
"column": 31
},
"identifierName": "packedH"
},
"name": "packedH"
},
"computed": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 5089,
"end": 5113,
"loc": {
"start": {
"line": 182,
"column": 8
},
"end": {
"line": 182,
"column": 32
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5093,
"end": 5112,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 31
}
},
"id": {
"type": "Identifier",
"start": 5093,
"end": 5105,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 24
},
"identifierName": "intersection"
},
"name": "intersection"
},
"init": {
"type": "NullLiteral",
"start": 5108,
"end": 5112,
"loc": {
"start": {
"line": 182,
"column": 27
},
"end": {
"line": 182,
"column": 31
}
}
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 5125,
"end": 5715,
"loc": {
"start": {
"line": 184,
"column": 8
},
"end": {
"line": 202,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 5129,
"end": 5137,
"loc": {
"start": {
"line": 184,
"column": 12
},
"end": {
"line": 184,
"column": 20
},
"identifierName": "clipping"
},
"name": "clipping"
},
"consequent": {
"type": "BlockStatement",
"start": 5139,
"end": 5715,
"loc": {
"start": {
"line": 184,
"column": 22
},
"end": {
"line": 202,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5154,
"end": 5209,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 67
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5160,
"end": 5208,
"loc": {
"start": {
"line": 185,
"column": 18
},
"end": {
"line": 185,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 5160,
"end": 5164,
"loc": {
"start": {
"line": 185,
"column": 18
},
"end": {
"line": 185,
"column": 22
},
"identifierName": "rect"
},
"name": "rect"
},
"init": {
"type": "NewExpression",
"start": 5167,
"end": 5208,
"loc": {
"start": {
"line": 185,
"column": 25
},
"end": {
"line": 185,
"column": 66
}
},
"callee": {
"type": "Identifier",
"start": 5171,
"end": 5180,
"loc": {
"start": {
"line": 185,
"column": 29
},
"end": {
"line": 185,
"column": 38
},
"identifierName": "Rectangle"
},
"name": "Rectangle"
},
"arguments": [
{
"type": "Identifier",
"start": 5181,
"end": 5186,
"loc": {
"start": {
"line": 185,
"column": 39
},
"end": {
"line": 185,
"column": 44
},
"identifierName": "destX"
},
"name": "destX"
},
{
"type": "Identifier",
"start": 5188,
"end": 5193,
"loc": {
"start": {
"line": 185,
"column": 46
},
"end": {
"line": 185,
"column": 51
},
"identifierName": "destY"
},
"name": "destY"
},
{
"type": "Identifier",
"start": 5195,
"end": 5200,
"loc": {
"start": {
"line": 185,
"column": 53
},
"end": {
"line": 185,
"column": 58
},
"identifierName": "destW"
},
"name": "destW"
},
{
"type": "Identifier",
"start": 5202,
"end": 5207,
"loc": {
"start": {
"line": 185,
"column": 60
},
"end": {
"line": 185,
"column": 65
},
"identifierName": "destH"
},
"name": "destH"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 5223,
"end": 5272,
"loc": {
"start": {
"line": 186,
"column": 12
},
"end": {
"line": 186,
"column": 61
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5223,
"end": 5271,
"loc": {
"start": {
"line": 186,
"column": 12
},
"end": {
"line": 186,
"column": 60
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5223,
"end": 5235,
"loc": {
"start": {
"line": 186,
"column": 12
},
"end": {
"line": 186,
"column": 24
},
"identifierName": "intersection"
},
"name": "intersection"
},
"right": {
"type": "CallExpression",
"start": 5238,
"end": 5271,
"loc": {
"start": {
"line": 186,
"column": 27
},
"end": {
"line": 186,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 5238,
"end": 5258,
"loc": {
"start": {
"line": 186,
"column": 27
},
"end": {
"line": 186,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 5238,
"end": 5242,
"loc": {
"start": {
"line": 186,
"column": 27
},
"end": {
"line": 186,
"column": 31
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 5243,
"end": 5258,
"loc": {
"start": {
"line": 186,
"column": 32
},
"end": {
"line": 186,
"column": 47
},
"identifierName": "getIntersection"
},
"name": "getIntersection"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5259,
"end": 5270,
"loc": {
"start": {
"line": 186,
"column": 48
},
"end": {
"line": 186,
"column": 59
},
"identifierName": "visibleRect"
},
"name": "visibleRect"
}
]
}
}
},
{
"type": "IfStatement",
"start": 5286,
"end": 5346,
"loc": {
"start": {
"line": 187,
"column": 12
},
"end": {
"line": 189,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 5290,
"end": 5303,
"loc": {
"start": {
"line": 187,
"column": 16
},
"end": {
"line": 187,
"column": 29
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 5291,
"end": 5303,
"loc": {
"start": {
"line": 187,
"column": 17
},
"end": {
"line": 187,
"column": 29
},
"identifierName": "intersection"
},
"name": "intersection"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 5305,
"end": 5346,
"loc": {
"start": {
"line": 187,
"column": 31
},
"end": {
"line": 189,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5324,
"end": 5331,
"loc": {
"start": {
"line": 188,
"column": 16
},
"end": {
"line": 188,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 5362,
"end": 5404,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 54
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5362,
"end": 5403,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 53
}
},
"operator": "+=",
"left": {
"type": "Identifier",
"start": 5362,
"end": 5366,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 16
},
"identifierName": "srcX"
},
"name": "srcX"
},
"right": {
"type": "BinaryExpression",
"start": 5370,
"end": 5403,
"loc": {
"start": {
"line": 191,
"column": 20
},
"end": {
"line": 191,
"column": 53
}
},
"left": {
"type": "BinaryExpression",
"start": 5371,
"end": 5393,
"loc": {
"start": {
"line": 191,
"column": 21
},
"end": {
"line": 191,
"column": 43
}
},
"left": {
"type": "MemberExpression",
"start": 5371,
"end": 5385,
"loc": {
"start": {
"line": 191,
"column": 21
},
"end": {
"line": 191,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 5371,
"end": 5383,
"loc": {
"start": {
"line": 191,
"column": 21
},
"end": {
"line": 191,
"column": 33
},
"identifierName": "intersection"
},
"name": "intersection"
},
"property": {
"type": "Identifier",
"start": 5384,
"end": 5385,
"loc": {
"start": {
"line": 191,
"column": 34
},
"end": {
"line": 191,
"column": 35
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 5388,
"end": 5393,
"loc": {
"start": {
"line": 191,
"column": 38
},
"end": {
"line": 191,
"column": 43
},
"identifierName": "destX"
},
"name": "destX"
},
"extra": {
"parenthesized": true,
"parenStart": 5370
}
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 5397,
"end": 5403,
"loc": {
"start": {
"line": 191,
"column": 47
},
"end": {
"line": 191,
"column": 53
},
"identifierName": "scaleW"
},
"name": "scaleW"
}
}
}
},
{
"type": "ExpressionStatement",
"start": 5418,
"end": 5460,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 54
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5418,
"end": 5459,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 53
}
},
"operator": "+=",
"left": {
"type": "Identifier",
"start": 5418,
"end": 5422,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 16
},
"identifierName": "srcY"
},
"name": "srcY"
},
"right": {
"type": "BinaryExpression",
"start": 5426,
"end": 5459,
"loc": {
"start": {
"line": 192,
"column": 20
},
"end": {
"line": 192,
"column": 53
}
},
"left": {
"type": "BinaryExpression",
"start": 5427,
"end": 5449,
"loc": {
"start": {
"line": 192,
"column": 21
},
"end": {
"line": 192,
"column": 43
}
},
"left": {
"type": "MemberExpression",
"start": 5427,
"end": 5441,
"loc": {
"start": {
"line": 192,
"column": 21
},
"end": {
"line": 192,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 5427,
"end": 5439,
"loc": {
"start": {
"line": 192,
"column": 21
},
"end": {
"line": 192,
"column": 33
},
"identifierName": "intersection"
},
"name": "intersection"
},
"property": {
"type": "Identifier",
"start": 5440,
"end": 5441,
"loc": {
"start": {
"line": 192,
"column": 34
},
"end": {
"line": 192,
"column": 35
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 5444,
"end": 5449,
"loc": {
"start": {
"line": 192,
"column": 38
},
"end": {
"line": 192,
"column": 43
},
"identifierName": "destY"
},
"name": "destY"
},
"extra": {
"parenthesized": true,
"parenStart": 5426
}
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 5453,
"end": 5459,
"loc": {
"start": {
"line": 192,
"column": 47
},
"end": {
"line": 192,
"column": 53
},
"identifierName": "scaleH"
},
"name": "scaleH"
}
}
}
},
{
"type": "ExpressionStatement",
"start": 5476,
"end": 5507,
"loc": {
"start": {
"line": 194,
"column": 12
},
"end": {
"line": 194,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5476,
"end": 5506,
"loc": {
"start": {
"line": 194,
"column": 12
},
"end": {
"line": 194,
"column": 42
}
},
"operator": "*=",
"left": {
"type": "Identifier",
"start": 5476,
"end": 5480,
"loc": {
"start": {
"line": 194,
"column": 12
},
"end": {
"line": 194,
"column": 16
},
"identifierName": "srcW"
},
"name": "srcW"
},
"right": {
"type": "BinaryExpression",
"start": 5484,
"end": 5506,
"loc": {
"start": {
"line": 194,
"column": 20
},
"end": {
"line": 194,
"column": 42
}
},
"left": {
"type": "MemberExpression",
"start": 5484,
"end": 5498,
"loc": {
"start": {
"line": 194,
"column": 20
},
"end": {
"line": 194,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 5484,
"end": 5496,
"loc": {
"start": {
"line": 194,
"column": 20
},
"end": {
"line": 194,
"column": 32
},
"identifierName": "intersection"
},
"name": "intersection"
},
"property": {
"type": "Identifier",
"start": 5497,
"end": 5498,
"loc": {
"start": {
"line": 194,
"column": 33
},
"end": {
"line": 194,
"column": 34
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 5501,
"end": 5506,
"loc": {
"start": {
"line": 194,
"column": 37
},
"end": {
"line": 194,
"column": 42
},
"identifierName": "destW"
},
"name": "destW"
}
}
}
},
{
"type": "ExpressionStatement",
"start": 5521,
"end": 5552,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5521,
"end": 5551,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 42
}
},
"operator": "*=",
"left": {
"type": "Identifier",
"start": 5521,
"end": 5525,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 16
},
"identifierName": "srcH"
},
"name": "srcH"
},
"right": {
"type": "BinaryExpression",
"start": 5529,
"end": 5551,
"loc": {
"start": {
"line": 195,
"column": 20
},
"end": {
"line": 195,
"column": 42
}
},
"left": {
"type": "MemberExpression",
"start": 5529,
"end": 5543,
"loc": {
"start": {
"line": 195,
"column": 20
},
"end": {
"line": 195,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 5529,
"end": 5541,
"loc": {
"start": {
"line": 195,
"column": 20
},
"end": {
"line": 195,
"column": 32
},
"identifierName": "intersection"
},
"name": "intersection"
},
"property": {
"type": "Identifier",
"start": 5542,
"end": 5543,
"loc": {
"start": {
"line": 195,
"column": 33
},
"end": {
"line": 195,
"column": 34
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 5546,
"end": 5551,
"loc": {
"start": {
"line": 195,
"column": 37
},
"end": {
"line": 195,
"column": 42
},
"identifierName": "destH"
},
"name": "destH"
}
}
}
},
{
"type": "ExpressionStatement",
"start": 5568,
"end": 5591,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5568,
"end": 5590,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 34
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5568,
"end": 5573,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 17
},
"identifierName": "destX"
},
"name": "destX"
},
"right": {
"type": "MemberExpression",
"start": 5576,
"end": 5590,
"loc": {
"start": {
"line": 197,
"column": 20
},
"end": {
"line": 197,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 5576,
"end": 5588,
"loc": {
"start": {
"line": 197,
"column": 20
},
"end": {
"line": 197,
"column": 32
},
"identifierName": "intersection"
},
"name": "intersection"
},
"property": {
"type": "Identifier",
"start": 5589,
"end": 5590,
"loc": {
"start": {
"line": 197,
"column": 33
},
"end": {
"line": 197,
"column": 34
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 5605,
"end": 5628,
"loc": {
"start": {
"line": 198,
"column": 12
},
"end": {
"line": 198,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5605,
"end": 5627,
"loc": {
"start": {
"line": 198,
"column": 12
},
"end": {
"line": 198,
"column": 34
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5605,
"end": 5610,
"loc": {
"start": {
"line": 198,
"column": 12
},
"end": {
"line": 198,
"column": 17
},
"identifierName": "destY"
},
"name": "destY"
},
"right": {
"type": "MemberExpression",
"start": 5613,
"end": 5627,
"loc": {
"start": {
"line": 198,
"column": 20
},
"end": {
"line": 198,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 5613,
"end": 5625,
"loc": {
"start": {
"line": 198,
"column": 20
},
"end": {
"line": 198,
"column": 32
},
"identifierName": "intersection"
},
"name": "intersection"
},
"property": {
"type": "Identifier",
"start": 5626,
"end": 5627,
"loc": {
"start": {
"line": 198,
"column": 33
},
"end": {
"line": 198,
"column": 34
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 5644,
"end": 5667,
"loc": {
"start": {
"line": 200,
"column": 12
},
"end": {
"line": 200,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5644,
"end": 5666,
"loc": {
"start": {
"line": 200,
"column": 12
},
"end": {
"line": 200,
"column": 34
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5644,
"end": 5649,
"loc": {
"start": {
"line": 200,
"column": 12
},
"end": {
"line": 200,
"column": 17
},
"identifierName": "destW"
},
"name": "destW"
},
"right": {
"type": "MemberExpression",
"start": 5652,
"end": 5666,
"loc": {
"start": {
"line": 200,
"column": 20
},
"end": {
"line": 200,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 5652,
"end": 5664,
"loc": {
"start": {
"line": 200,
"column": 20
},
"end": {
"line": 200,
"column": 32
},
"identifierName": "intersection"
},
"name": "intersection"
},
"property": {
"type": "Identifier",
"start": 5665,
"end": 5666,
"loc": {
"start": {
"line": 200,
"column": 33
},
"end": {
"line": 200,
"column": 34
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 5681,
"end": 5704,
"loc": {
"start": {
"line": 201,
"column": 12
},
"end": {
"line": 201,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5681,
"end": 5703,
"loc": {
"start": {
"line": 201,
"column": 12
},
"end": {
"line": 201,
"column": 34
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 5681,
"end": 5686,
"loc": {
"start": {
"line": 201,
"column": 12
},
"end": {
"line": 201,
"column": 17
},
"identifierName": "destH"
},
"name": "destH"
},
"right": {
"type": "MemberExpression",
"start": 5689,
"end": 5703,
"loc": {
"start": {
"line": 201,
"column": 20
},
"end": {
"line": 201,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 5689,
"end": 5701,
"loc": {
"start": {
"line": 201,
"column": 20
},
"end": {
"line": 201,
"column": 32
},
"identifierName": "intersection"
},
"name": "intersection"
},
"property": {
"type": "Identifier",
"start": 5702,
"end": 5703,
"loc": {
"start": {
"line": 201,
"column": 33
},
"end": {
"line": 201,
"column": 34
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 5727,
"end": 6097,
"loc": {
"start": {
"line": 204,
"column": 8
},
"end": {
"line": 220,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 5727,
"end": 6096,
"loc": {
"start": {
"line": 204,
"column": 8
},
"end": {
"line": 220,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 5727,
"end": 5755,
"loc": {
"start": {
"line": 204,
"column": 8
},
"end": {
"line": 204,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 5727,
"end": 5745,
"loc": {
"start": {
"line": 204,
"column": 8
},
"end": {
"line": 204,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 5727,
"end": 5737,
"loc": {
"start": {
"line": 204,
"column": 8
},
"end": {
"line": 204,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 5738,
"end": 5745,
"loc": {
"start": {
"line": 204,
"column": 19
},
"end": {
"line": 204,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5746,
"end": 5755,
"loc": {
"start": {
"line": 204,
"column": 27
},
"end": {
"line": 204,
"column": 36
},
"identifierName": "drawImage"
},
"name": "drawImage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5770,
"end": 5780,
"loc": {
"start": {
"line": 205,
"column": 12
},
"end": {
"line": 205,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 5770,
"end": 5774,
"loc": {
"start": {
"line": 205,
"column": 12
},
"end": {
"line": 205,
"column": 16
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 5775,
"end": 5780,
"loc": {
"start": {
"line": 205,
"column": 17
},
"end": {
"line": 205,
"column": 22
},
"identifierName": "atlas"
},
"name": "atlas"
},
"computed": false
},
{
"type": "Identifier",
"start": 5827,
"end": 5831,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 16
},
"identifierName": "srcX"
},
"name": "srcX",
"leadingComments": [
{
"type": "CommentLine",
"value": " atlas src pos",
"start": 5797,
"end": 5813,
"loc": {
"start": {
"line": 207,
"column": 12
},
"end": {
"line": 207,
"column": 28
}
}
}
]
},
{
"type": "Identifier",
"start": 5846,
"end": 5850,
"loc": {
"start": {
"line": 209,
"column": 12
},
"end": {
"line": 209,
"column": 16
},
"identifierName": "srcY"
},
"name": "srcY"
},
{
"type": "Identifier",
"start": 5898,
"end": 5902,
"loc": {
"start": {
"line": 212,
"column": 12
},
"end": {
"line": 212,
"column": 16
},
"identifierName": "srcW"
},
"name": "srcW",
"leadingComments": [
{
"type": "CommentLine",
"value": " atlas src size",
"start": 5867,
"end": 5884,
"loc": {
"start": {
"line": 211,
"column": 12
},
"end": {
"line": 211,
"column": 29
}
}
}
]
},
{
"type": "Identifier",
"start": 5917,
"end": 5921,
"loc": {
"start": {
"line": 213,
"column": 12
},
"end": {
"line": 213,
"column": 16
},
"identifierName": "srcH"
},
"name": "srcH"
},
{
"type": "BinaryExpression",
"start": 5972,
"end": 5987,
"loc": {
"start": {
"line": 216,
"column": 12
},
"end": {
"line": 216,
"column": 27
}
},
"left": {
"type": "Identifier",
"start": 5972,
"end": 5977,
"loc": {
"start": {
"line": 216,
"column": 12
},
"end": {
"line": 216,
"column": 17
},
"identifierName": "destX"
},
"name": "destX",
"leadingComments": null
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 5980,
"end": 5987,
"loc": {
"start": {
"line": 216,
"column": 20
},
"end": {
"line": 216,
"column": 27
},
"identifierName": "EXTRUDE"
},
"name": "EXTRUDE"
},
"leadingComments": [
{
"type": "CommentLine",
"value": " dest pos and size",
"start": 5938,
"end": 5958,
"loc": {
"start": {
"line": 215,
"column": 12
},
"end": {
"line": 215,
"column": 32
}
}
}
]
},
{
"type": "BinaryExpression",
"start": 6002,
"end": 6017,
"loc": {
"start": {
"line": 217,
"column": 12
},
"end": {
"line": 217,
"column": 27
}
},
"left": {
"type": "Identifier",
"start": 6002,
"end": 6007,
"loc": {
"start": {
"line": 217,
"column": 12
},
"end": {
"line": 217,
"column": 17
},
"identifierName": "destY"
},
"name": "destY"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 6010,
"end": 6017,
"loc": {
"start": {
"line": 217,
"column": 20
},
"end": {
"line": 217,
"column": 27
},
"identifierName": "EXTRUDE"
},
"name": "EXTRUDE"
}
},
{
"type": "BinaryExpression",
"start": 6032,
"end": 6051,
"loc": {
"start": {
"line": 218,
"column": 12
},
"end": {
"line": 218,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 6032,
"end": 6037,
"loc": {
"start": {
"line": 218,
"column": 12
},
"end": {
"line": 218,
"column": 17
},
"identifierName": "destW"
},
"name": "destW"
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 6040,
"end": 6051,
"loc": {
"start": {
"line": 218,
"column": 20
},
"end": {
"line": 218,
"column": 31
}
},
"left": {
"type": "NumericLiteral",
"start": 6040,
"end": 6041,
"loc": {
"start": {
"line": 218,
"column": 20
},
"end": {
"line": 218,
"column": 21
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 6044,
"end": 6051,
"loc": {
"start": {
"line": 218,
"column": 24
},
"end": {
"line": 218,
"column": 31
},
"identifierName": "EXTRUDE"
},
"name": "EXTRUDE"
}
}
},
{
"type": "BinaryExpression",
"start": 6066,
"end": 6085,
"loc": {
"start": {
"line": 219,
"column": 12
},
"end": {
"line": 219,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 6066,
"end": 6071,
"loc": {
"start": {
"line": 219,
"column": 12
},
"end": {
"line": 219,
"column": 17
},
"identifierName": "destH"
},
"name": "destH"
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 6074,
"end": 6085,
"loc": {
"start": {
"line": 219,
"column": 20
},
"end": {
"line": 219,
"column": 31
}
},
"left": {
"type": "NumericLiteral",
"start": 6074,
"end": 6075,
"loc": {
"start": {
"line": 219,
"column": 20
},
"end": {
"line": 219,
"column": 21
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 6078,
"end": 6085,
"loc": {
"start": {
"line": 219,
"column": 24
},
"end": {
"line": 219,
"column": 31
},
"identifierName": "EXTRUDE"
},
"name": "EXTRUDE"
}
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite\r\n * @param {DrawParameters} parameters\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {boolean=} clipping Whether to perform culling\r\n ",
"start": 3809,
"end": 4055,
"loc": {
"start": {
"line": 144,
"column": 4
},
"end": {
"line": 152,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws a subset of the sprite. Does NO culling\r\n * @param {DrawParameters} parameters\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {Rectangle=} clipRect The rectangle in local space (0 ... 1) to draw of the image\r\n ",
"start": 6112,
"end": 6422,
"loc": {
"start": {
"line": 223,
"column": 4
},
"end": {
"line": 231,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6428,
"end": 7997,
"loc": {
"start": {
"line": 232,
"column": 4
},
"end": {
"line": 277,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6428,
"end": 6450,
"loc": {
"start": {
"line": 232,
"column": 4
},
"end": {
"line": 232,
"column": 26
},
"identifierName": "drawCachedWithClipRect"
},
"name": "drawCachedWithClipRect",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6451,
"end": 6461,
"loc": {
"start": {
"line": 232,
"column": 27
},
"end": {
"line": 232,
"column": 37
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "Identifier",
"start": 6463,
"end": 6464,
"loc": {
"start": {
"line": 232,
"column": 39
},
"end": {
"line": 232,
"column": 40
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 6466,
"end": 6467,
"loc": {
"start": {
"line": 232,
"column": 42
},
"end": {
"line": 232,
"column": 43
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "AssignmentPattern",
"start": 6469,
"end": 6477,
"loc": {
"start": {
"line": 232,
"column": 45
},
"end": {
"line": 232,
"column": 53
}
},
"left": {
"type": "Identifier",
"start": 6469,
"end": 6470,
"loc": {
"start": {
"line": 232,
"column": 45
},
"end": {
"line": 232,
"column": 46
},
"identifierName": "w"
},
"name": "w"
},
"right": {
"type": "NullLiteral",
"start": 6473,
"end": 6477,
"loc": {
"start": {
"line": 232,
"column": 49
},
"end": {
"line": 232,
"column": 53
}
}
}
},
{
"type": "AssignmentPattern",
"start": 6479,
"end": 6487,
"loc": {
"start": {
"line": 232,
"column": 55
},
"end": {
"line": 232,
"column": 63
}
},
"left": {
"type": "Identifier",
"start": 6479,
"end": 6480,
"loc": {
"start": {
"line": 232,
"column": 55
},
"end": {
"line": 232,
"column": 56
},
"identifierName": "h"
},
"name": "h"
},
"right": {
"type": "NullLiteral",
"start": 6483,
"end": 6487,
"loc": {
"start": {
"line": 232,
"column": 59
},
"end": {
"line": 232,
"column": 63
}
}
}
},
{
"type": "AssignmentPattern",
"start": 6489,
"end": 6514,
"loc": {
"start": {
"line": 232,
"column": 65
},
"end": {
"line": 232,
"column": 90
}
},
"left": {
"type": "Identifier",
"start": 6489,
"end": 6497,
"loc": {
"start": {
"line": 232,
"column": 65
},
"end": {
"line": 232,
"column": 73
},
"identifierName": "clipRect"
},
"name": "clipRect"
},
"right": {
"type": "Identifier",
"start": 6500,
"end": 6514,
"loc": {
"start": {
"line": 232,
"column": 76
},
"end": {
"line": 232,
"column": 90
},
"identifierName": "FULL_CLIP_RECT"
},
"name": "FULL_CLIP_RECT"
}
}
],
"body": {
"type": "BlockStatement",
"start": 6516,
"end": 7997,
"loc": {
"start": {
"line": 232,
"column": 92
},
"end": {
"line": 277,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 6527,
"end": 6812,
"loc": {
"start": {
"line": 233,
"column": 8
},
"end": {
"line": 238,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 6531,
"end": 6539,
"loc": {
"start": {
"line": 233,
"column": 12
},
"end": {
"line": 233,
"column": 20
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"consequent": {
"type": "BlockStatement",
"start": 6541,
"end": 6812,
"loc": {
"start": {
"line": 233,
"column": 22
},
"end": {
"line": 238,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6556,
"end": 6624,
"loc": {
"start": {
"line": 234,
"column": 12
},
"end": {
"line": 234,
"column": 80
}
},
"expression": {
"type": "CallExpression",
"start": 6556,
"end": 6623,
"loc": {
"start": {
"line": 234,
"column": 12
},
"end": {
"line": 234,
"column": 79
}
},
"callee": {
"type": "Identifier",
"start": 6556,
"end": 6562,
"loc": {
"start": {
"line": 234,
"column": 12
},
"end": {
"line": 234,
"column": 18
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 6563,
"end": 6599,
"loc": {
"start": {
"line": 234,
"column": 19
},
"end": {
"line": 234,
"column": 55
}
},
"left": {
"type": "Identifier",
"start": 6563,
"end": 6573,
"loc": {
"start": {
"line": 234,
"column": 19
},
"end": {
"line": 234,
"column": 29
},
"identifierName": "parameters"
},
"name": "parameters"
},
"operator": "instanceof",
"right": {
"type": "Identifier",
"start": 6585,
"end": 6599,
"loc": {
"start": {
"line": 234,
"column": 41
},
"end": {
"line": 234,
"column": 55
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
}
},
{
"type": "StringLiteral",
"start": 6601,
"end": 6622,
"loc": {
"start": {
"line": 234,
"column": 57
},
"end": {
"line": 234,
"column": 78
}
},
"extra": {
"rawValue": "Not a valid context",
"raw": "\"Not a valid context\""
},
"value": "Not a valid context"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 6638,
"end": 6685,
"loc": {
"start": {
"line": 235,
"column": 12
},
"end": {
"line": 235,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 6638,
"end": 6684,
"loc": {
"start": {
"line": 235,
"column": 12
},
"end": {
"line": 235,
"column": 58
}
},
"callee": {
"type": "Identifier",
"start": 6638,
"end": 6644,
"loc": {
"start": {
"line": 235,
"column": 12
},
"end": {
"line": 235,
"column": 18
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "LogicalExpression",
"start": 6645,
"end": 6657,
"loc": {
"start": {
"line": 235,
"column": 19
},
"end": {
"line": 235,
"column": 31
}
},
"left": {
"type": "UnaryExpression",
"start": 6645,
"end": 6648,
"loc": {
"start": {
"line": 235,
"column": 19
},
"end": {
"line": 235,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "UnaryExpression",
"start": 6646,
"end": 6648,
"loc": {
"start": {
"line": 235,
"column": 20
},
"end": {
"line": 235,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6647,
"end": 6648,
"loc": {
"start": {
"line": 235,
"column": 21
},
"end": {
"line": 235,
"column": 22
},
"identifierName": "w"
},
"name": "w"
},
"extra": {
"parenthesizedArgument": false
}
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 6652,
"end": 6657,
"loc": {
"start": {
"line": 235,
"column": 26
},
"end": {
"line": 235,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 6652,
"end": 6653,
"loc": {
"start": {
"line": 235,
"column": 26
},
"end": {
"line": 235,
"column": 27
},
"identifierName": "w"
},
"name": "w"
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 6656,
"end": 6657,
"loc": {
"start": {
"line": 235,
"column": 30
},
"end": {
"line": 235,
"column": 31
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
},
{
"type": "BinaryExpression",
"start": 6659,
"end": 6683,
"loc": {
"start": {
"line": 235,
"column": 33
},
"end": {
"line": 235,
"column": 57
}
},
"left": {
"type": "StringLiteral",
"start": 6659,
"end": 6679,
"loc": {
"start": {
"line": 235,
"column": 33
},
"end": {
"line": 235,
"column": 53
}
},
"extra": {
"rawValue": "Not a valid width:",
"raw": "\"Not a valid width:\""
},
"value": "Not a valid width:"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 6682,
"end": 6683,
"loc": {
"start": {
"line": 235,
"column": 56
},
"end": {
"line": 235,
"column": 57
},
"identifierName": "w"
},
"name": "w"
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 6699,
"end": 6747,
"loc": {
"start": {
"line": 236,
"column": 12
},
"end": {
"line": 236,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 6699,
"end": 6746,
"loc": {
"start": {
"line": 236,
"column": 12
},
"end": {
"line": 236,
"column": 59
}
},
"callee": {
"type": "Identifier",
"start": 6699,
"end": 6705,
"loc": {
"start": {
"line": 236,
"column": 12
},
"end": {
"line": 236,
"column": 18
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "LogicalExpression",
"start": 6706,
"end": 6718,
"loc": {
"start": {
"line": 236,
"column": 19
},
"end": {
"line": 236,
"column": 31
}
},
"left": {
"type": "UnaryExpression",
"start": 6706,
"end": 6709,
"loc": {
"start": {
"line": 236,
"column": 19
},
"end": {
"line": 236,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "UnaryExpression",
"start": 6707,
"end": 6709,
"loc": {
"start": {
"line": 236,
"column": 20
},
"end": {
"line": 236,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6708,
"end": 6709,
"loc": {
"start": {
"line": 236,
"column": 21
},
"end": {
"line": 236,
"column": 22
},
"identifierName": "h"
},
"name": "h"
},
"extra": {
"parenthesizedArgument": false
}
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 6713,
"end": 6718,
"loc": {
"start": {
"line": 236,
"column": 26
},
"end": {
"line": 236,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 6713,
"end": 6714,
"loc": {
"start": {
"line": 236,
"column": 26
},
"end": {
"line": 236,
"column": 27
},
"identifierName": "h"
},
"name": "h"
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 6717,
"end": 6718,
"loc": {
"start": {
"line": 236,
"column": 30
},
"end": {
"line": 236,
"column": 31
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
},
{
"type": "BinaryExpression",
"start": 6720,
"end": 6745,
"loc": {
"start": {
"line": 236,
"column": 33
},
"end": {
"line": 236,
"column": 58
}
},
"left": {
"type": "StringLiteral",
"start": 6720,
"end": 6741,
"loc": {
"start": {
"line": 236,
"column": 33
},
"end": {
"line": 236,
"column": 54
}
},
"extra": {
"rawValue": "Not a valid height:",
"raw": "\"Not a valid height:\""
},
"value": "Not a valid height:"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 6744,
"end": 6745,
"loc": {
"start": {
"line": 236,
"column": 57
},
"end": {
"line": 236,
"column": 58
},
"identifierName": "h"
},
"name": "h"
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 6761,
"end": 6801,
"loc": {
"start": {
"line": 237,
"column": 12
},
"end": {
"line": 237,
"column": 52
}
},
"expression": {
"type": "CallExpression",
"start": 6761,
"end": 6800,
"loc": {
"start": {
"line": 237,
"column": 12
},
"end": {
"line": 237,
"column": 51
}
},
"callee": {
"type": "Identifier",
"start": 6761,
"end": 6767,
"loc": {
"start": {
"line": 237,
"column": 12
},
"end": {
"line": 237,
"column": 18
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "Identifier",
"start": 6768,
"end": 6776,
"loc": {
"start": {
"line": 237,
"column": 19
},
"end": {
"line": 237,
"column": 27
},
"identifierName": "clipRect"
},
"name": "clipRect"
},
{
"type": "StringLiteral",
"start": 6778,
"end": 6799,
"loc": {
"start": {
"line": 237,
"column": 29
},
"end": {
"line": 237,
"column": 50
}
},
"extra": {
"rawValue": "No clip rect given!",
"raw": "\"No clip rect given!\""
},
"value": "No clip rect given!"
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 6824,
"end": 6867,
"loc": {
"start": {
"line": 240,
"column": 8
},
"end": {
"line": 240,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6830,
"end": 6866,
"loc": {
"start": {
"line": 240,
"column": 14
},
"end": {
"line": 240,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 6830,
"end": 6835,
"loc": {
"start": {
"line": 240,
"column": 14
},
"end": {
"line": 240,
"column": 19
},
"identifierName": "scale"
},
"name": "scale"
},
"init": {
"type": "MemberExpression",
"start": 6838,
"end": 6866,
"loc": {
"start": {
"line": 240,
"column": 22
},
"end": {
"line": 240,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 6838,
"end": 6848,
"loc": {
"start": {
"line": 240,
"column": 22
},
"end": {
"line": 240,
"column": 32
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 6849,
"end": 6866,
"loc": {
"start": {
"line": 240,
"column": 33
},
"end": {
"line": 240,
"column": 50
},
"identifierName": "desiredAtlasScale"
},
"name": "desiredAtlasScale"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6877,
"end": 6920,
"loc": {
"start": {
"line": 241,
"column": 8
},
"end": {
"line": 241,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6883,
"end": 6919,
"loc": {
"start": {
"line": 241,
"column": 14
},
"end": {
"line": 241,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 6883,
"end": 6887,
"loc": {
"start": {
"line": 241,
"column": 14
},
"end": {
"line": 241,
"column": 18
},
"identifierName": "link"
},
"name": "link"
},
"init": {
"type": "MemberExpression",
"start": 6890,
"end": 6919,
"loc": {
"start": {
"line": 241,
"column": 21
},
"end": {
"line": 241,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 6890,
"end": 6912,
"loc": {
"start": {
"line": 241,
"column": 21
},
"end": {
"line": 241,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 6890,
"end": 6894,
"loc": {
"start": {
"line": 241,
"column": 21
},
"end": {
"line": 241,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 6895,
"end": 6912,
"loc": {
"start": {
"line": 241,
"column": 26
},
"end": {
"line": 241,
"column": 43
},
"identifierName": "linksByResolution"
},
"name": "linksByResolution"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6913,
"end": 6918,
"loc": {
"start": {
"line": 241,
"column": 44
},
"end": {
"line": 241,
"column": 49
},
"identifierName": "scale"
},
"name": "scale"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6932,
"end": 7059,
"loc": {
"start": {
"line": 243,
"column": 8
},
"end": {
"line": 245,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 6936,
"end": 6941,
"loc": {
"start": {
"line": 243,
"column": 12
},
"end": {
"line": 243,
"column": 17
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6937,
"end": 6941,
"loc": {
"start": {
"line": 243,
"column": 13
},
"end": {
"line": 243,
"column": 17
},
"identifierName": "link"
},
"name": "link"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 6943,
"end": 7059,
"loc": {
"start": {
"line": 243,
"column": 19
},
"end": {
"line": 245,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6958,
"end": 7048,
"loc": {
"start": {
"line": 244,
"column": 12
},
"end": {
"line": 244,
"column": 102
}
},
"expression": {
"type": "CallExpression",
"start": 6958,
"end": 7047,
"loc": {
"start": {
"line": 244,
"column": 12
},
"end": {
"line": 244,
"column": 101
}
},
"callee": {
"type": "Identifier",
"start": 6958,
"end": 6964,
"loc": {
"start": {
"line": 244,
"column": 12
},
"end": {
"line": 244,
"column": 18
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 6965,
"end": 6970,
"loc": {
"start": {
"line": 244,
"column": 19
},
"end": {
"line": 244,
"column": 24
}
},
"value": false
},
{
"type": "TemplateLiteral",
"start": 6972,
"end": 7046,
"loc": {
"start": {
"line": 244,
"column": 26
},
"end": {
"line": 244,
"column": 100
}
},
"expressions": [
{
"type": "Identifier",
"start": 6991,
"end": 6996,
"loc": {
"start": {
"line": 244,
"column": 45
},
"end": {
"line": 244,
"column": 50
},
"identifierName": "scale"
},
"name": "scale"
},
{
"type": "CallExpression",
"start": 7008,
"end": 7043,
"loc": {
"start": {
"line": 244,
"column": 62
},
"end": {
"line": 244,
"column": 97
}
},
"callee": {
"type": "MemberExpression",
"start": 7008,
"end": 7019,
"loc": {
"start": {
"line": 244,
"column": 62
},
"end": {
"line": 244,
"column": 73
}
},
"object": {
"type": "Identifier",
"start": 7008,
"end": 7014,
"loc": {
"start": {
"line": 244,
"column": 62
},
"end": {
"line": 244,
"column": 68
},
"identifierName": "Object"
},
"name": "Object"
},
"property": {
"type": "Identifier",
"start": 7015,
"end": 7019,
"loc": {
"start": {
"line": 244,
"column": 69
},
"end": {
"line": 244,
"column": 73
},
"identifierName": "keys"
},
"name": "keys"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 7020,
"end": 7042,
"loc": {
"start": {
"line": 244,
"column": 74
},
"end": {
"line": 244,
"column": 96
}
},
"object": {
"type": "ThisExpression",
"start": 7020,
"end": 7024,
"loc": {
"start": {
"line": 244,
"column": 74
},
"end": {
"line": 244,
"column": 78
}
}
},
"property": {
"type": "Identifier",
"start": 7025,
"end": 7042,
"loc": {
"start": {
"line": 244,
"column": 79
},
"end": {
"line": 244,
"column": 96
},
"identifierName": "linksByResolution"
},
"name": "linksByResolution"
},
"computed": false
}
]
}
],
"quasis": [
{
"type": "TemplateElement",
"start": 6973,
"end": 6989,
"loc": {
"start": {
"line": 244,
"column": 27
},
"end": {
"line": 244,
"column": 43
}
},
"value": {
"raw": "Link not known: ",
"cooked": "Link not known: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 6997,
"end": 7006,
"loc": {
"start": {
"line": 244,
"column": 51
},
"end": {
"line": 244,
"column": 60
}
},
"value": {
"raw": " (having ",
"cooked": " (having "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 7044,
"end": 7045,
"loc": {
"start": {
"line": 244,
"column": 98
},
"end": {
"line": 244,
"column": 99
}
},
"value": {
"raw": ")",
"cooked": ")"
},
"tail": true
}
]
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 7071,
"end": 7097,
"loc": {
"start": {
"line": 247,
"column": 8
},
"end": {
"line": 247,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7077,
"end": 7096,
"loc": {
"start": {
"line": 247,
"column": 14
},
"end": {
"line": 247,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 7077,
"end": 7083,
"loc": {
"start": {
"line": 247,
"column": 14
},
"end": {
"line": 247,
"column": 20
},
"identifierName": "scaleW"
},
"name": "scaleW"
},
"init": {
"type": "BinaryExpression",
"start": 7086,
"end": 7096,
"loc": {
"start": {
"line": 247,
"column": 23
},
"end": {
"line": 247,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 7086,
"end": 7087,
"loc": {
"start": {
"line": 247,
"column": 23
},
"end": {
"line": 247,
"column": 24
},
"identifierName": "w"
},
"name": "w"
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 7090,
"end": 7096,
"loc": {
"start": {
"line": 247,
"column": 27
},
"end": {
"line": 247,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 7090,
"end": 7094,
"loc": {
"start": {
"line": 247,
"column": 27
},
"end": {
"line": 247,
"column": 31
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7095,
"end": 7096,
"loc": {
"start": {
"line": 247,
"column": 32
},
"end": {
"line": 247,
"column": 33
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 7107,
"end": 7133,
"loc": {
"start": {
"line": 248,
"column": 8
},
"end": {
"line": 248,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7113,
"end": 7132,
"loc": {
"start": {
"line": 248,
"column": 14
},
"end": {
"line": 248,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 7113,
"end": 7119,
"loc": {
"start": {
"line": 248,
"column": 14
},
"end": {
"line": 248,
"column": 20
},
"identifierName": "scaleH"
},
"name": "scaleH"
},
"init": {
"type": "BinaryExpression",
"start": 7122,
"end": 7132,
"loc": {
"start": {
"line": 248,
"column": 23
},
"end": {
"line": 248,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 7122,
"end": 7123,
"loc": {
"start": {
"line": 248,
"column": 23
},
"end": {
"line": 248,
"column": 24
},
"identifierName": "h"
},
"name": "h"
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 7126,
"end": 7132,
"loc": {
"start": {
"line": 248,
"column": 27
},
"end": {
"line": 248,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 7126,
"end": 7130,
"loc": {
"start": {
"line": 248,
"column": 27
},
"end": {
"line": 248,
"column": 31
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7131,
"end": 7132,
"loc": {
"start": {
"line": 248,
"column": 32
},
"end": {
"line": 248,
"column": 33
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 7145,
"end": 7204,
"loc": {
"start": {
"line": 250,
"column": 8
},
"end": {
"line": 250,
"column": 67
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7149,
"end": 7203,
"loc": {
"start": {
"line": 250,
"column": 12
},
"end": {
"line": 250,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 7149,
"end": 7154,
"loc": {
"start": {
"line": 250,
"column": 12
},
"end": {
"line": 250,
"column": 17
},
"identifierName": "destX"
},
"name": "destX"
},
"init": {
"type": "BinaryExpression",
"start": 7157,
"end": 7203,
"loc": {
"start": {
"line": 250,
"column": 20
},
"end": {
"line": 250,
"column": 66
}
},
"left": {
"type": "BinaryExpression",
"start": 7157,
"end": 7186,
"loc": {
"start": {
"line": 250,
"column": 20
},
"end": {
"line": 250,
"column": 49
}
},
"left": {
"type": "Identifier",
"start": 7157,
"end": 7158,
"loc": {
"start": {
"line": 250,
"column": 20
},
"end": {
"line": 250,
"column": 21
},
"identifierName": "x"
},
"name": "x"
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 7161,
"end": 7186,
"loc": {
"start": {
"line": 250,
"column": 24
},
"end": {
"line": 250,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 7161,
"end": 7177,
"loc": {
"start": {
"line": 250,
"column": 24
},
"end": {
"line": 250,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 7161,
"end": 7165,
"loc": {
"start": {
"line": 250,
"column": 24
},
"end": {
"line": 250,
"column": 28
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7166,
"end": 7177,
"loc": {
"start": {
"line": 250,
"column": 29
},
"end": {
"line": 250,
"column": 40
},
"identifierName": "packOffsetX"
},
"name": "packOffsetX"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7180,
"end": 7186,
"loc": {
"start": {
"line": 250,
"column": 43
},
"end": {
"line": 250,
"column": 49
},
"identifierName": "scaleW"
},
"name": "scaleW"
}
}
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 7189,
"end": 7203,
"loc": {
"start": {
"line": 250,
"column": 52
},
"end": {
"line": 250,
"column": 66
}
},
"left": {
"type": "MemberExpression",
"start": 7189,
"end": 7199,
"loc": {
"start": {
"line": 250,
"column": 52
},
"end": {
"line": 250,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 7189,
"end": 7197,
"loc": {
"start": {
"line": 250,
"column": 52
},
"end": {
"line": 250,
"column": 60
},
"identifierName": "clipRect"
},
"name": "clipRect"
},
"property": {
"type": "Identifier",
"start": 7198,
"end": 7199,
"loc": {
"start": {
"line": 250,
"column": 61
},
"end": {
"line": 250,
"column": 62
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7202,
"end": 7203,
"loc": {
"start": {
"line": 250,
"column": 65
},
"end": {
"line": 250,
"column": 66
},
"identifierName": "w"
},
"name": "w"
}
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 7214,
"end": 7273,
"loc": {
"start": {
"line": 251,
"column": 8
},
"end": {
"line": 251,
"column": 67
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7218,
"end": 7272,
"loc": {
"start": {
"line": 251,
"column": 12
},
"end": {
"line": 251,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 7218,
"end": 7223,
"loc": {
"start": {
"line": 251,
"column": 12
},
"end": {
"line": 251,
"column": 17
},
"identifierName": "destY"
},
"name": "destY"
},
"init": {
"type": "BinaryExpression",
"start": 7226,
"end": 7272,
"loc": {
"start": {
"line": 251,
"column": 20
},
"end": {
"line": 251,
"column": 66
}
},
"left": {
"type": "BinaryExpression",
"start": 7226,
"end": 7255,
"loc": {
"start": {
"line": 251,
"column": 20
},
"end": {
"line": 251,
"column": 49
}
},
"left": {
"type": "Identifier",
"start": 7226,
"end": 7227,
"loc": {
"start": {
"line": 251,
"column": 20
},
"end": {
"line": 251,
"column": 21
},
"identifierName": "y"
},
"name": "y"
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 7230,
"end": 7255,
"loc": {
"start": {
"line": 251,
"column": 24
},
"end": {
"line": 251,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 7230,
"end": 7246,
"loc": {
"start": {
"line": 251,
"column": 24
},
"end": {
"line": 251,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 7230,
"end": 7234,
"loc": {
"start": {
"line": 251,
"column": 24
},
"end": {
"line": 251,
"column": 28
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7235,
"end": 7246,
"loc": {
"start": {
"line": 251,
"column": 29
},
"end": {
"line": 251,
"column": 40
},
"identifierName": "packOffsetY"
},
"name": "packOffsetY"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7249,
"end": 7255,
"loc": {
"start": {
"line": 251,
"column": 43
},
"end": {
"line": 251,
"column": 49
},
"identifierName": "scaleH"
},
"name": "scaleH"
}
}
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 7258,
"end": 7272,
"loc": {
"start": {
"line": 251,
"column": 52
},
"end": {
"line": 251,
"column": 66
}
},
"left": {
"type": "MemberExpression",
"start": 7258,
"end": 7268,
"loc": {
"start": {
"line": 251,
"column": 52
},
"end": {
"line": 251,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 7258,
"end": 7266,
"loc": {
"start": {
"line": 251,
"column": 52
},
"end": {
"line": 251,
"column": 60
},
"identifierName": "clipRect"
},
"name": "clipRect"
},
"property": {
"type": "Identifier",
"start": 7267,
"end": 7268,
"loc": {
"start": {
"line": 251,
"column": 61
},
"end": {
"line": 251,
"column": 62
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7271,
"end": 7272,
"loc": {
"start": {
"line": 251,
"column": 65
},
"end": {
"line": 251,
"column": 66
},
"identifierName": "h"
},
"name": "h"
}
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 7283,
"end": 7330,
"loc": {
"start": {
"line": 252,
"column": 8
},
"end": {
"line": 252,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7287,
"end": 7329,
"loc": {
"start": {
"line": 252,
"column": 12
},
"end": {
"line": 252,
"column": 54
}
},
"id": {
"type": "Identifier",
"start": 7287,
"end": 7292,
"loc": {
"start": {
"line": 252,
"column": 12
},
"end": {
"line": 252,
"column": 17
},
"identifierName": "destW"
},
"name": "destW"
},
"init": {
"type": "BinaryExpression",
"start": 7295,
"end": 7329,
"loc": {
"start": {
"line": 252,
"column": 20
},
"end": {
"line": 252,
"column": 54
}
},
"left": {
"type": "BinaryExpression",
"start": 7295,
"end": 7316,
"loc": {
"start": {
"line": 252,
"column": 20
},
"end": {
"line": 252,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 7295,
"end": 7307,
"loc": {
"start": {
"line": 252,
"column": 20
},
"end": {
"line": 252,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 7295,
"end": 7299,
"loc": {
"start": {
"line": 252,
"column": 20
},
"end": {
"line": 252,
"column": 24
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7300,
"end": 7307,
"loc": {
"start": {
"line": 252,
"column": 25
},
"end": {
"line": 252,
"column": 32
},
"identifierName": "packedW"
},
"name": "packedW"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7310,
"end": 7316,
"loc": {
"start": {
"line": 252,
"column": 35
},
"end": {
"line": 252,
"column": 41
},
"identifierName": "scaleW"
},
"name": "scaleW"
}
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 7319,
"end": 7329,
"loc": {
"start": {
"line": 252,
"column": 44
},
"end": {
"line": 252,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 7319,
"end": 7327,
"loc": {
"start": {
"line": 252,
"column": 44
},
"end": {
"line": 252,
"column": 52
},
"identifierName": "clipRect"
},
"name": "clipRect"
},
"property": {
"type": "Identifier",
"start": 7328,
"end": 7329,
"loc": {
"start": {
"line": 252,
"column": 53
},
"end": {
"line": 252,
"column": 54
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 7340,
"end": 7387,
"loc": {
"start": {
"line": 253,
"column": 8
},
"end": {
"line": 253,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7344,
"end": 7386,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 54
}
},
"id": {
"type": "Identifier",
"start": 7344,
"end": 7349,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 17
},
"identifierName": "destH"
},
"name": "destH"
},
"init": {
"type": "BinaryExpression",
"start": 7352,
"end": 7386,
"loc": {
"start": {
"line": 253,
"column": 20
},
"end": {
"line": 253,
"column": 54
}
},
"left": {
"type": "BinaryExpression",
"start": 7352,
"end": 7373,
"loc": {
"start": {
"line": 253,
"column": 20
},
"end": {
"line": 253,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 7352,
"end": 7364,
"loc": {
"start": {
"line": 253,
"column": 20
},
"end": {
"line": 253,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 7352,
"end": 7356,
"loc": {
"start": {
"line": 253,
"column": 20
},
"end": {
"line": 253,
"column": 24
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7357,
"end": 7364,
"loc": {
"start": {
"line": 253,
"column": 25
},
"end": {
"line": 253,
"column": 32
},
"identifierName": "packedH"
},
"name": "packedH"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7367,
"end": 7373,
"loc": {
"start": {
"line": 253,
"column": 35
},
"end": {
"line": 253,
"column": 41
},
"identifierName": "scaleH"
},
"name": "scaleH"
}
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 7376,
"end": 7386,
"loc": {
"start": {
"line": 253,
"column": 44
},
"end": {
"line": 253,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 7376,
"end": 7384,
"loc": {
"start": {
"line": 253,
"column": 44
},
"end": {
"line": 253,
"column": 52
},
"identifierName": "clipRect"
},
"name": "clipRect"
},
"property": {
"type": "Identifier",
"start": 7385,
"end": 7386,
"loc": {
"start": {
"line": 253,
"column": 53
},
"end": {
"line": 253,
"column": 54
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 7399,
"end": 7451,
"loc": {
"start": {
"line": 255,
"column": 8
},
"end": {
"line": 255,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7403,
"end": 7450,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 59
}
},
"id": {
"type": "Identifier",
"start": 7403,
"end": 7407,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 16
},
"identifierName": "srcX"
},
"name": "srcX"
},
"init": {
"type": "BinaryExpression",
"start": 7410,
"end": 7450,
"loc": {
"start": {
"line": 255,
"column": 19
},
"end": {
"line": 255,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 7410,
"end": 7422,
"loc": {
"start": {
"line": 255,
"column": 19
},
"end": {
"line": 255,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 7410,
"end": 7414,
"loc": {
"start": {
"line": 255,
"column": 19
},
"end": {
"line": 255,
"column": 23
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7415,
"end": 7422,
"loc": {
"start": {
"line": 255,
"column": 24
},
"end": {
"line": 255,
"column": 31
},
"identifierName": "packedX"
},
"name": "packedX"
},
"computed": false
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 7425,
"end": 7450,
"loc": {
"start": {
"line": 255,
"column": 34
},
"end": {
"line": 255,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 7425,
"end": 7435,
"loc": {
"start": {
"line": 255,
"column": 34
},
"end": {
"line": 255,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 7425,
"end": 7433,
"loc": {
"start": {
"line": 255,
"column": 34
},
"end": {
"line": 255,
"column": 42
},
"identifierName": "clipRect"
},
"name": "clipRect"
},
"property": {
"type": "Identifier",
"start": 7434,
"end": 7435,
"loc": {
"start": {
"line": 255,
"column": 43
},
"end": {
"line": 255,
"column": 44
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 7438,
"end": 7450,
"loc": {
"start": {
"line": 255,
"column": 47
},
"end": {
"line": 255,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 7438,
"end": 7442,
"loc": {
"start": {
"line": 255,
"column": 47
},
"end": {
"line": 255,
"column": 51
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7443,
"end": 7450,
"loc": {
"start": {
"line": 255,
"column": 52
},
"end": {
"line": 255,
"column": 59
},
"identifierName": "packedW"
},
"name": "packedW"
},
"computed": false
}
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 7461,
"end": 7513,
"loc": {
"start": {
"line": 256,
"column": 8
},
"end": {
"line": 256,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7465,
"end": 7512,
"loc": {
"start": {
"line": 256,
"column": 12
},
"end": {
"line": 256,
"column": 59
}
},
"id": {
"type": "Identifier",
"start": 7465,
"end": 7469,
"loc": {
"start": {
"line": 256,
"column": 12
},
"end": {
"line": 256,
"column": 16
},
"identifierName": "srcY"
},
"name": "srcY"
},
"init": {
"type": "BinaryExpression",
"start": 7472,
"end": 7512,
"loc": {
"start": {
"line": 256,
"column": 19
},
"end": {
"line": 256,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 7472,
"end": 7484,
"loc": {
"start": {
"line": 256,
"column": 19
},
"end": {
"line": 256,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 7472,
"end": 7476,
"loc": {
"start": {
"line": 256,
"column": 19
},
"end": {
"line": 256,
"column": 23
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7477,
"end": 7484,
"loc": {
"start": {
"line": 256,
"column": 24
},
"end": {
"line": 256,
"column": 31
},
"identifierName": "packedY"
},
"name": "packedY"
},
"computed": false
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 7487,
"end": 7512,
"loc": {
"start": {
"line": 256,
"column": 34
},
"end": {
"line": 256,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 7487,
"end": 7497,
"loc": {
"start": {
"line": 256,
"column": 34
},
"end": {
"line": 256,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 7487,
"end": 7495,
"loc": {
"start": {
"line": 256,
"column": 34
},
"end": {
"line": 256,
"column": 42
},
"identifierName": "clipRect"
},
"name": "clipRect"
},
"property": {
"type": "Identifier",
"start": 7496,
"end": 7497,
"loc": {
"start": {
"line": 256,
"column": 43
},
"end": {
"line": 256,
"column": 44
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 7500,
"end": 7512,
"loc": {
"start": {
"line": 256,
"column": 47
},
"end": {
"line": 256,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 7500,
"end": 7504,
"loc": {
"start": {
"line": 256,
"column": 47
},
"end": {
"line": 256,
"column": 51
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7505,
"end": 7512,
"loc": {
"start": {
"line": 256,
"column": 52
},
"end": {
"line": 256,
"column": 59
},
"identifierName": "packedH"
},
"name": "packedH"
},
"computed": false
}
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 7523,
"end": 7560,
"loc": {
"start": {
"line": 257,
"column": 8
},
"end": {
"line": 257,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7527,
"end": 7559,
"loc": {
"start": {
"line": 257,
"column": 12
},
"end": {
"line": 257,
"column": 44
}
},
"id": {
"type": "Identifier",
"start": 7527,
"end": 7531,
"loc": {
"start": {
"line": 257,
"column": 12
},
"end": {
"line": 257,
"column": 16
},
"identifierName": "srcW"
},
"name": "srcW"
},
"init": {
"type": "BinaryExpression",
"start": 7534,
"end": 7559,
"loc": {
"start": {
"line": 257,
"column": 19
},
"end": {
"line": 257,
"column": 44
}
},
"left": {
"type": "MemberExpression",
"start": 7534,
"end": 7546,
"loc": {
"start": {
"line": 257,
"column": 19
},
"end": {
"line": 257,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 7534,
"end": 7538,
"loc": {
"start": {
"line": 257,
"column": 19
},
"end": {
"line": 257,
"column": 23
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7539,
"end": 7546,
"loc": {
"start": {
"line": 257,
"column": 24
},
"end": {
"line": 257,
"column": 31
},
"identifierName": "packedW"
},
"name": "packedW"
},
"computed": false
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 7549,
"end": 7559,
"loc": {
"start": {
"line": 257,
"column": 34
},
"end": {
"line": 257,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 7549,
"end": 7557,
"loc": {
"start": {
"line": 257,
"column": 34
},
"end": {
"line": 257,
"column": 42
},
"identifierName": "clipRect"
},
"name": "clipRect"
},
"property": {
"type": "Identifier",
"start": 7558,
"end": 7559,
"loc": {
"start": {
"line": 257,
"column": 43
},
"end": {
"line": 257,
"column": 44
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 7570,
"end": 7607,
"loc": {
"start": {
"line": 258,
"column": 8
},
"end": {
"line": 258,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7574,
"end": 7606,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 44
}
},
"id": {
"type": "Identifier",
"start": 7574,
"end": 7578,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 16
},
"identifierName": "srcH"
},
"name": "srcH"
},
"init": {
"type": "BinaryExpression",
"start": 7581,
"end": 7606,
"loc": {
"start": {
"line": 258,
"column": 19
},
"end": {
"line": 258,
"column": 44
}
},
"left": {
"type": "MemberExpression",
"start": 7581,
"end": 7593,
"loc": {
"start": {
"line": 258,
"column": 19
},
"end": {
"line": 258,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 7581,
"end": 7585,
"loc": {
"start": {
"line": 258,
"column": 19
},
"end": {
"line": 258,
"column": 23
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7586,
"end": 7593,
"loc": {
"start": {
"line": 258,
"column": 24
},
"end": {
"line": 258,
"column": 31
},
"identifierName": "packedH"
},
"name": "packedH"
},
"computed": false
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 7596,
"end": 7606,
"loc": {
"start": {
"line": 258,
"column": 34
},
"end": {
"line": 258,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 7596,
"end": 7604,
"loc": {
"start": {
"line": 258,
"column": 34
},
"end": {
"line": 258,
"column": 42
},
"identifierName": "clipRect"
},
"name": "clipRect"
},
"property": {
"type": "Identifier",
"start": 7605,
"end": 7606,
"loc": {
"start": {
"line": 258,
"column": 43
},
"end": {
"line": 258,
"column": 44
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
}
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 7619,
"end": 7990,
"loc": {
"start": {
"line": 260,
"column": 8
},
"end": {
"line": 276,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 7619,
"end": 7989,
"loc": {
"start": {
"line": 260,
"column": 8
},
"end": {
"line": 276,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 7619,
"end": 7647,
"loc": {
"start": {
"line": 260,
"column": 8
},
"end": {
"line": 260,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 7619,
"end": 7637,
"loc": {
"start": {
"line": 260,
"column": 8
},
"end": {
"line": 260,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 7619,
"end": 7629,
"loc": {
"start": {
"line": 260,
"column": 8
},
"end": {
"line": 260,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7630,
"end": 7637,
"loc": {
"start": {
"line": 260,
"column": 19
},
"end": {
"line": 260,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7638,
"end": 7647,
"loc": {
"start": {
"line": 260,
"column": 27
},
"end": {
"line": 260,
"column": 36
},
"identifierName": "drawImage"
},
"name": "drawImage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 7662,
"end": 7672,
"loc": {
"start": {
"line": 261,
"column": 12
},
"end": {
"line": 261,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 7662,
"end": 7666,
"loc": {
"start": {
"line": 261,
"column": 12
},
"end": {
"line": 261,
"column": 16
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 7667,
"end": 7672,
"loc": {
"start": {
"line": 261,
"column": 17
},
"end": {
"line": 261,
"column": 22
},
"identifierName": "atlas"
},
"name": "atlas"
},
"computed": false
},
{
"type": "Identifier",
"start": 7719,
"end": 7723,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 264,
"column": 16
},
"identifierName": "srcX"
},
"name": "srcX",
"leadingComments": [
{
"type": "CommentLine",
"value": " atlas src pos",
"start": 7689,
"end": 7705,
"loc": {
"start": {
"line": 263,
"column": 12
},
"end": {
"line": 263,
"column": 28
}
}
}
]
},
{
"type": "Identifier",
"start": 7738,
"end": 7742,
"loc": {
"start": {
"line": 265,
"column": 12
},
"end": {
"line": 265,
"column": 16
},
"identifierName": "srcY"
},
"name": "srcY"
},
{
"type": "Identifier",
"start": 7791,
"end": 7795,
"loc": {
"start": {
"line": 268,
"column": 12
},
"end": {
"line": 268,
"column": 16
},
"identifierName": "srcW"
},
"name": "srcW",
"leadingComments": [
{
"type": "CommentLine",
"value": " atlas src siize",
"start": 7759,
"end": 7777,
"loc": {
"start": {
"line": 267,
"column": 12
},
"end": {
"line": 267,
"column": 30
}
}
}
]
},
{
"type": "Identifier",
"start": 7810,
"end": 7814,
"loc": {
"start": {
"line": 269,
"column": 12
},
"end": {
"line": 269,
"column": 16
},
"identifierName": "srcH"
},
"name": "srcH"
},
{
"type": "BinaryExpression",
"start": 7865,
"end": 7880,
"loc": {
"start": {
"line": 272,
"column": 12
},
"end": {
"line": 272,
"column": 27
}
},
"left": {
"type": "Identifier",
"start": 7865,
"end": 7870,
"loc": {
"start": {
"line": 272,
"column": 12
},
"end": {
"line": 272,
"column": 17
},
"identifierName": "destX"
},
"name": "destX",
"leadingComments": null
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 7873,
"end": 7880,
"loc": {
"start": {
"line": 272,
"column": 20
},
"end": {
"line": 272,
"column": 27
},
"identifierName": "EXTRUDE"
},
"name": "EXTRUDE"
},
"leadingComments": [
{
"type": "CommentLine",
"value": " dest pos and size",
"start": 7831,
"end": 7851,
"loc": {
"start": {
"line": 271,
"column": 12
},
"end": {
"line": 271,
"column": 32
}
}
}
]
},
{
"type": "BinaryExpression",
"start": 7895,
"end": 7910,
"loc": {
"start": {
"line": 273,
"column": 12
},
"end": {
"line": 273,
"column": 27
}
},
"left": {
"type": "Identifier",
"start": 7895,
"end": 7900,
"loc": {
"start": {
"line": 273,
"column": 12
},
"end": {
"line": 273,
"column": 17
},
"identifierName": "destY"
},
"name": "destY"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 7903,
"end": 7910,
"loc": {
"start": {
"line": 273,
"column": 20
},
"end": {
"line": 273,
"column": 27
},
"identifierName": "EXTRUDE"
},
"name": "EXTRUDE"
}
},
{
"type": "BinaryExpression",
"start": 7925,
"end": 7944,
"loc": {
"start": {
"line": 274,
"column": 12
},
"end": {
"line": 274,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 7925,
"end": 7930,
"loc": {
"start": {
"line": 274,
"column": 12
},
"end": {
"line": 274,
"column": 17
},
"identifierName": "destW"
},
"name": "destW"
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 7933,
"end": 7944,
"loc": {
"start": {
"line": 274,
"column": 20
},
"end": {
"line": 274,
"column": 31
}
},
"left": {
"type": "NumericLiteral",
"start": 7933,
"end": 7934,
"loc": {
"start": {
"line": 274,
"column": 20
},
"end": {
"line": 274,
"column": 21
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7937,
"end": 7944,
"loc": {
"start": {
"line": 274,
"column": 24
},
"end": {
"line": 274,
"column": 31
},
"identifierName": "EXTRUDE"
},
"name": "EXTRUDE"
}
}
},
{
"type": "BinaryExpression",
"start": 7959,
"end": 7978,
"loc": {
"start": {
"line": 275,
"column": 12
},
"end": {
"line": 275,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 7959,
"end": 7964,
"loc": {
"start": {
"line": 275,
"column": 12
},
"end": {
"line": 275,
"column": 17
},
"identifierName": "destH"
},
"name": "destH"
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 7967,
"end": 7978,
"loc": {
"start": {
"line": 275,
"column": 20
},
"end": {
"line": 275,
"column": 31
}
},
"left": {
"type": "NumericLiteral",
"start": 7967,
"end": 7968,
"loc": {
"start": {
"line": 275,
"column": 20
},
"end": {
"line": 275,
"column": 21
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7971,
"end": 7978,
"loc": {
"start": {
"line": 275,
"column": 24
},
"end": {
"line": 275,
"column": 31
},
"identifierName": "EXTRUDE"
},
"name": "EXTRUDE"
}
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws a subset of the sprite. Does NO culling\r\n * @param {DrawParameters} parameters\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {Rectangle=} clipRect The rectangle in local space (0 ... 1) to draw of the image\r\n ",
"start": 6112,
"end": 6422,
"loc": {
"start": {
"line": 223,
"column": 4
},
"end": {
"line": 231,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Renders into an html element\r\n * @param {HTMLElement} element\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 8005,
"end": 8143,
"loc": {
"start": {
"line": 279,
"column": 4
},
"end": {
"line": 284,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 8149,
"end": 8297,
"loc": {
"start": {
"line": 285,
"column": 4
},
"end": {
"line": 288,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8149,
"end": 8168,
"loc": {
"start": {
"line": 285,
"column": 4
},
"end": {
"line": 285,
"column": 23
},
"identifierName": "renderToHTMLElement"
},
"name": "renderToHTMLElement",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 8169,
"end": 8176,
"loc": {
"start": {
"line": 285,
"column": 24
},
"end": {
"line": 285,
"column": 31
},
"identifierName": "element"
},
"name": "element"
},
{
"type": "AssignmentPattern",
"start": 8178,
"end": 8183,
"loc": {
"start": {
"line": 285,
"column": 33
},
"end": {
"line": 285,
"column": 38
}
},
"left": {
"type": "Identifier",
"start": 8178,
"end": 8179,
"loc": {
"start": {
"line": 285,
"column": 33
},
"end": {
"line": 285,
"column": 34
},
"identifierName": "w"
},
"name": "w"
},
"right": {
"type": "NumericLiteral",
"start": 8182,
"end": 8183,
"loc": {
"start": {
"line": 285,
"column": 37
},
"end": {
"line": 285,
"column": 38
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
},
{
"type": "AssignmentPattern",
"start": 8185,
"end": 8190,
"loc": {
"start": {
"line": 285,
"column": 40
},
"end": {
"line": 285,
"column": 45
}
},
"left": {
"type": "Identifier",
"start": 8185,
"end": 8186,
"loc": {
"start": {
"line": 285,
"column": 40
},
"end": {
"line": 285,
"column": 41
},
"identifierName": "h"
},
"name": "h"
},
"right": {
"type": "NumericLiteral",
"start": 8189,
"end": 8190,
"loc": {
"start": {
"line": 285,
"column": 44
},
"end": {
"line": 285,
"column": 45
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
],
"body": {
"type": "BlockStatement",
"start": 8192,
"end": 8297,
"loc": {
"start": {
"line": 285,
"column": 47
},
"end": {
"line": 288,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 8203,
"end": 8239,
"loc": {
"start": {
"line": 286,
"column": 8
},
"end": {
"line": 286,
"column": 44
}
},
"expression": {
"type": "AssignmentExpression",
"start": 8203,
"end": 8238,
"loc": {
"start": {
"line": 286,
"column": 8
},
"end": {
"line": 286,
"column": 43
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 8203,
"end": 8225,
"loc": {
"start": {
"line": 286,
"column": 8
},
"end": {
"line": 286,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 8203,
"end": 8216,
"loc": {
"start": {
"line": 286,
"column": 8
},
"end": {
"line": 286,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 8203,
"end": 8210,
"loc": {
"start": {
"line": 286,
"column": 8
},
"end": {
"line": 286,
"column": 15
},
"identifierName": "element"
},
"name": "element"
},
"property": {
"type": "Identifier",
"start": 8211,
"end": 8216,
"loc": {
"start": {
"line": 286,
"column": 16
},
"end": {
"line": 286,
"column": 21
},
"identifierName": "style"
},
"name": "style"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8217,
"end": 8225,
"loc": {
"start": {
"line": 286,
"column": 22
},
"end": {
"line": 286,
"column": 30
},
"identifierName": "position"
},
"name": "position"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 8228,
"end": 8238,
"loc": {
"start": {
"line": 286,
"column": 33
},
"end": {
"line": 286,
"column": 43
}
},
"extra": {
"rawValue": "relative",
"raw": "\"relative\""
},
"value": "relative"
}
}
},
{
"type": "ExpressionStatement",
"start": 8249,
"end": 8290,
"loc": {
"start": {
"line": 287,
"column": 8
},
"end": {
"line": 287,
"column": 49
}
},
"expression": {
"type": "AssignmentExpression",
"start": 8249,
"end": 8289,
"loc": {
"start": {
"line": 287,
"column": 8
},
"end": {
"line": 287,
"column": 48
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 8249,
"end": 8266,
"loc": {
"start": {
"line": 287,
"column": 8
},
"end": {
"line": 287,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 8249,
"end": 8256,
"loc": {
"start": {
"line": 287,
"column": 8
},
"end": {
"line": 287,
"column": 15
},
"identifierName": "element"
},
"name": "element"
},
"property": {
"type": "Identifier",
"start": 8257,
"end": 8266,
"loc": {
"start": {
"line": 287,
"column": 16
},
"end": {
"line": 287,
"column": 25
},
"identifierName": "innerHTML"
},
"name": "innerHTML"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 8269,
"end": 8289,
"loc": {
"start": {
"line": 287,
"column": 28
},
"end": {
"line": 287,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 8269,
"end": 8283,
"loc": {
"start": {
"line": 287,
"column": 28
},
"end": {
"line": 287,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 8269,
"end": 8273,
"loc": {
"start": {
"line": 287,
"column": 28
},
"end": {
"line": 287,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 8274,
"end": 8283,
"loc": {
"start": {
"line": 287,
"column": 33
},
"end": {
"line": 287,
"column": 42
},
"identifierName": "getAsHTML"
},
"name": "getAsHTML"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 8284,
"end": 8285,
"loc": {
"start": {
"line": 287,
"column": 43
},
"end": {
"line": 287,
"column": 44
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 8287,
"end": 8288,
"loc": {
"start": {
"line": 287,
"column": 46
},
"end": {
"line": 287,
"column": 47
},
"identifierName": "h"
},
"name": "h"
}
]
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Renders into an html element\r\n * @param {HTMLElement} element\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 8005,
"end": 8143,
"loc": {
"start": {
"line": 279,
"column": 4
},
"end": {
"line": 284,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the html to render as icon\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 8305,
"end": 8412,
"loc": {
"start": {
"line": 290,
"column": 4
},
"end": {
"line": 294,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 8418,
"end": 10568,
"loc": {
"start": {
"line": 295,
"column": 4
},
"end": {
"line": 345,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8418,
"end": 8427,
"loc": {
"start": {
"line": 295,
"column": 4
},
"end": {
"line": 295,
"column": 13
},
"identifierName": "getAsHTML"
},
"name": "getAsHTML",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 8428,
"end": 8429,
"loc": {
"start": {
"line": 295,
"column": 14
},
"end": {
"line": 295,
"column": 15
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 8431,
"end": 8432,
"loc": {
"start": {
"line": 295,
"column": 17
},
"end": {
"line": 295,
"column": 18
},
"identifierName": "h"
},
"name": "h"
}
],
"body": {
"type": "BlockStatement",
"start": 8434,
"end": 10568,
"loc": {
"start": {
"line": 295,
"column": 20
},
"end": {
"line": 345,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 8445,
"end": 8488,
"loc": {
"start": {
"line": 296,
"column": 8
},
"end": {
"line": 296,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8451,
"end": 8487,
"loc": {
"start": {
"line": 296,
"column": 14
},
"end": {
"line": 296,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 8451,
"end": 8455,
"loc": {
"start": {
"line": 296,
"column": 14
},
"end": {
"line": 296,
"column": 18
},
"identifierName": "link"
},
"name": "link"
},
"init": {
"type": "MemberExpression",
"start": 8458,
"end": 8487,
"loc": {
"start": {
"line": 296,
"column": 21
},
"end": {
"line": 296,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 8458,
"end": 8480,
"loc": {
"start": {
"line": 296,
"column": 21
},
"end": {
"line": 296,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 8458,
"end": 8462,
"loc": {
"start": {
"line": 296,
"column": 21
},
"end": {
"line": 296,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 8463,
"end": 8480,
"loc": {
"start": {
"line": 296,
"column": 26
},
"end": {
"line": 296,
"column": 43
},
"identifierName": "linksByResolution"
},
"name": "linksByResolution"
},
"computed": false
},
"property": {
"type": "StringLiteral",
"start": 8481,
"end": 8486,
"loc": {
"start": {
"line": 296,
"column": 44
},
"end": {
"line": 296,
"column": 49
}
},
"extra": {
"rawValue": "0.5",
"raw": "\"0.5\""
},
"value": "0.5"
},
"computed": true
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Find out how much we have to scale it so that it fits",
"start": 8500,
"end": 8556,
"loc": {
"start": {
"line": 298,
"column": 8
},
"end": {
"line": 298,
"column": 64
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 8566,
"end": 8592,
"loc": {
"start": {
"line": 299,
"column": 8
},
"end": {
"line": 299,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8572,
"end": 8591,
"loc": {
"start": {
"line": 299,
"column": 14
},
"end": {
"line": 299,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 8572,
"end": 8578,
"loc": {
"start": {
"line": 299,
"column": 14
},
"end": {
"line": 299,
"column": 20
},
"identifierName": "scaleX"
},
"name": "scaleX",
"leadingComments": null
},
"init": {
"type": "BinaryExpression",
"start": 8581,
"end": 8591,
"loc": {
"start": {
"line": 299,
"column": 23
},
"end": {
"line": 299,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 8581,
"end": 8582,
"loc": {
"start": {
"line": 299,
"column": 23
},
"end": {
"line": 299,
"column": 24
},
"identifierName": "w"
},
"name": "w"
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 8585,
"end": 8591,
"loc": {
"start": {
"line": 299,
"column": 27
},
"end": {
"line": 299,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 8585,
"end": 8589,
"loc": {
"start": {
"line": 299,
"column": 27
},
"end": {
"line": 299,
"column": 31
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 8590,
"end": 8591,
"loc": {
"start": {
"line": 299,
"column": 32
},
"end": {
"line": 299,
"column": 33
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Find out how much we have to scale it so that it fits",
"start": 8500,
"end": 8556,
"loc": {
"start": {
"line": 298,
"column": 8
},
"end": {
"line": 298,
"column": 64
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 8602,
"end": 8628,
"loc": {
"start": {
"line": 300,
"column": 8
},
"end": {
"line": 300,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8608,
"end": 8627,
"loc": {
"start": {
"line": 300,
"column": 14
},
"end": {
"line": 300,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 8608,
"end": 8614,
"loc": {
"start": {
"line": 300,
"column": 14
},
"end": {
"line": 300,
"column": 20
},
"identifierName": "scaleY"
},
"name": "scaleY"
},
"init": {
"type": "BinaryExpression",
"start": 8617,
"end": 8627,
"loc": {
"start": {
"line": 300,
"column": 23
},
"end": {
"line": 300,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 8617,
"end": 8618,
"loc": {
"start": {
"line": 300,
"column": 23
},
"end": {
"line": 300,
"column": 24
},
"identifierName": "h"
},
"name": "h"
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 8621,
"end": 8627,
"loc": {
"start": {
"line": 300,
"column": 27
},
"end": {
"line": 300,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 8621,
"end": 8625,
"loc": {
"start": {
"line": 300,
"column": 27
},
"end": {
"line": 300,
"column": 31
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 8626,
"end": 8627,
"loc": {
"start": {
"line": 300,
"column": 32
},
"end": {
"line": 300,
"column": 33
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
}
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Find out how big the scaled atlas is",
"start": 8640,
"end": 8679,
"loc": {
"start": {
"line": 302,
"column": 8
},
"end": {
"line": 302,
"column": 47
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 8689,
"end": 8730,
"loc": {
"start": {
"line": 303,
"column": 8
},
"end": {
"line": 303,
"column": 49
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8695,
"end": 8729,
"loc": {
"start": {
"line": 303,
"column": 14
},
"end": {
"line": 303,
"column": 48
}
},
"id": {
"type": "Identifier",
"start": 8695,
"end": 8701,
"loc": {
"start": {
"line": 303,
"column": 14
},
"end": {
"line": 303,
"column": 20
},
"identifierName": "atlasW"
},
"name": "atlasW",
"leadingComments": null
},
"init": {
"type": "BinaryExpression",
"start": 8704,
"end": 8729,
"loc": {
"start": {
"line": 303,
"column": 23
},
"end": {
"line": 303,
"column": 48
}
},
"left": {
"type": "MemberExpression",
"start": 8704,
"end": 8720,
"loc": {
"start": {
"line": 303,
"column": 23
},
"end": {
"line": 303,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 8704,
"end": 8714,
"loc": {
"start": {
"line": 303,
"column": 23
},
"end": {
"line": 303,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 8704,
"end": 8708,
"loc": {
"start": {
"line": 303,
"column": 23
},
"end": {
"line": 303,
"column": 27
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 8709,
"end": 8714,
"loc": {
"start": {
"line": 303,
"column": 28
},
"end": {
"line": 303,
"column": 33
},
"identifierName": "atlas"
},
"name": "atlas"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8715,
"end": 8720,
"loc": {
"start": {
"line": 303,
"column": 34
},
"end": {
"line": 303,
"column": 39
},
"identifierName": "width"
},
"name": "width"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 8723,
"end": 8729,
"loc": {
"start": {
"line": 303,
"column": 42
},
"end": {
"line": 303,
"column": 48
},
"identifierName": "scaleX"
},
"name": "scaleX"
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Find out how big the scaled atlas is",
"start": 8640,
"end": 8679,
"loc": {
"start": {
"line": 302,
"column": 8
},
"end": {
"line": 302,
"column": 47
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 8740,
"end": 8782,
"loc": {
"start": {
"line": 304,
"column": 8
},
"end": {
"line": 304,
"column": 50
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8746,
"end": 8781,
"loc": {
"start": {
"line": 304,
"column": 14
},
"end": {
"line": 304,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 8746,
"end": 8752,
"loc": {
"start": {
"line": 304,
"column": 14
},
"end": {
"line": 304,
"column": 20
},
"identifierName": "atlasH"
},
"name": "atlasH"
},
"init": {
"type": "BinaryExpression",
"start": 8755,
"end": 8781,
"loc": {
"start": {
"line": 304,
"column": 23
},
"end": {
"line": 304,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 8755,
"end": 8772,
"loc": {
"start": {
"line": 304,
"column": 23
},
"end": {
"line": 304,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 8755,
"end": 8765,
"loc": {
"start": {
"line": 304,
"column": 23
},
"end": {
"line": 304,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 8755,
"end": 8759,
"loc": {
"start": {
"line": 304,
"column": 23
},
"end": {
"line": 304,
"column": 27
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 8760,
"end": 8765,
"loc": {
"start": {
"line": 304,
"column": 28
},
"end": {
"line": 304,
"column": 33
},
"identifierName": "atlas"
},
"name": "atlas"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8766,
"end": 8772,
"loc": {
"start": {
"line": 304,
"column": 34
},
"end": {
"line": 304,
"column": 40
},
"identifierName": "height"
},
"name": "height"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 8775,
"end": 8781,
"loc": {
"start": {
"line": 304,
"column": 43
},
"end": {
"line": 304,
"column": 49
},
"identifierName": "scaleY"
},
"name": "scaleY"
}
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 8794,
"end": 8807,
"loc": {
"start": {
"line": 306,
"column": 8
},
"end": {
"line": 306,
"column": 21
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 8817,
"end": 8870,
"loc": {
"start": {
"line": 307,
"column": 8
},
"end": {
"line": 307,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8823,
"end": 8869,
"loc": {
"start": {
"line": 307,
"column": 14
},
"end": {
"line": 307,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 8823,
"end": 8830,
"loc": {
"start": {
"line": 307,
"column": 14
},
"end": {
"line": 307,
"column": 21
},
"identifierName": "srcSafe"
},
"name": "srcSafe",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 8833,
"end": 8869,
"loc": {
"start": {
"line": 307,
"column": 24
},
"end": {
"line": 307,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 8833,
"end": 8858,
"loc": {
"start": {
"line": 307,
"column": 24
},
"end": {
"line": 307,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 8833,
"end": 8847,
"loc": {
"start": {
"line": 307,
"column": 24
},
"end": {
"line": 307,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 8833,
"end": 8843,
"loc": {
"start": {
"line": 307,
"column": 24
},
"end": {
"line": 307,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 8833,
"end": 8837,
"loc": {
"start": {
"line": 307,
"column": 24
},
"end": {
"line": 307,
"column": 28
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 8838,
"end": 8843,
"loc": {
"start": {
"line": 307,
"column": 29
},
"end": {
"line": 307,
"column": 34
},
"identifierName": "atlas"
},
"name": "atlas"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8844,
"end": 8847,
"loc": {
"start": {
"line": 307,
"column": 35
},
"end": {
"line": 307,
"column": 38
},
"identifierName": "src"
},
"name": "src"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8848,
"end": 8858,
"loc": {
"start": {
"line": 307,
"column": 39
},
"end": {
"line": 307,
"column": 49
},
"identifierName": "replaceAll"
},
"name": "replaceAll"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 8859,
"end": 8863,
"loc": {
"start": {
"line": 307,
"column": 50
},
"end": {
"line": 307,
"column": 54
}
},
"extra": {
"rawValue": "\\",
"raw": "\"\\\\\""
},
"value": "\\"
},
{
"type": "StringLiteral",
"start": 8865,
"end": 8868,
"loc": {
"start": {
"line": 307,
"column": 56
},
"end": {
"line": 307,
"column": 59
}
},
"extra": {
"rawValue": "/",
"raw": "\"/\""
},
"value": "/"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 8794,
"end": 8807,
"loc": {
"start": {
"line": 306,
"column": 8
},
"end": {
"line": 306,
"column": 21
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Find out how big we render the sprite",
"start": 8882,
"end": 8922,
"loc": {
"start": {
"line": 309,
"column": 8
},
"end": {
"line": 309,
"column": 48
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 8932,
"end": 8976,
"loc": {
"start": {
"line": 310,
"column": 8
},
"end": {
"line": 310,
"column": 52
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8938,
"end": 8975,
"loc": {
"start": {
"line": 310,
"column": 14
},
"end": {
"line": 310,
"column": 51
}
},
"id": {
"type": "Identifier",
"start": 8938,
"end": 8951,
"loc": {
"start": {
"line": 310,
"column": 14
},
"end": {
"line": 310,
"column": 27
},
"identifierName": "widthAbsolute"
},
"name": "widthAbsolute",
"leadingComments": null
},
"init": {
"type": "BinaryExpression",
"start": 8954,
"end": 8975,
"loc": {
"start": {
"line": 310,
"column": 30
},
"end": {
"line": 310,
"column": 51
}
},
"left": {
"type": "Identifier",
"start": 8954,
"end": 8960,
"loc": {
"start": {
"line": 310,
"column": 30
},
"end": {
"line": 310,
"column": 36
},
"identifierName": "scaleX"
},
"name": "scaleX"
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 8963,
"end": 8975,
"loc": {
"start": {
"line": 310,
"column": 39
},
"end": {
"line": 310,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 8963,
"end": 8967,
"loc": {
"start": {
"line": 310,
"column": 39
},
"end": {
"line": 310,
"column": 43
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 8968,
"end": 8975,
"loc": {
"start": {
"line": 310,
"column": 44
},
"end": {
"line": 310,
"column": 51
},
"identifierName": "packedW"
},
"name": "packedW"
},
"computed": false
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Find out how big we render the sprite",
"start": 8882,
"end": 8922,
"loc": {
"start": {
"line": 309,
"column": 8
},
"end": {
"line": 309,
"column": 48
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 8986,
"end": 9031,
"loc": {
"start": {
"line": 311,
"column": 8
},
"end": {
"line": 311,
"column": 53
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8992,
"end": 9030,
"loc": {
"start": {
"line": 311,
"column": 14
},
"end": {
"line": 311,
"column": 52
}
},
"id": {
"type": "Identifier",
"start": 8992,
"end": 9006,
"loc": {
"start": {
"line": 311,
"column": 14
},
"end": {
"line": 311,
"column": 28
},
"identifierName": "heightAbsolute"
},
"name": "heightAbsolute"
},
"init": {
"type": "BinaryExpression",
"start": 9009,
"end": 9030,
"loc": {
"start": {
"line": 311,
"column": 31
},
"end": {
"line": 311,
"column": 52
}
},
"left": {
"type": "Identifier",
"start": 9009,
"end": 9015,
"loc": {
"start": {
"line": 311,
"column": 31
},
"end": {
"line": 311,
"column": 37
},
"identifierName": "scaleY"
},
"name": "scaleY"
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 9018,
"end": 9030,
"loc": {
"start": {
"line": 311,
"column": 40
},
"end": {
"line": 311,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 9018,
"end": 9022,
"loc": {
"start": {
"line": 311,
"column": 40
},
"end": {
"line": 311,
"column": 44
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 9023,
"end": 9030,
"loc": {
"start": {
"line": 311,
"column": 45
},
"end": {
"line": 311,
"column": 52
},
"identifierName": "packedH"
},
"name": "packedH"
},
"computed": false
}
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Compute the position in the relative container",
"start": 9043,
"end": 9092,
"loc": {
"start": {
"line": 313,
"column": 8
},
"end": {
"line": 313,
"column": 57
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 9102,
"end": 9155,
"loc": {
"start": {
"line": 314,
"column": 8
},
"end": {
"line": 314,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9108,
"end": 9154,
"loc": {
"start": {
"line": 314,
"column": 14
},
"end": {
"line": 314,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 9108,
"end": 9120,
"loc": {
"start": {
"line": 314,
"column": 14
},
"end": {
"line": 314,
"column": 26
},
"identifierName": "leftRelative"
},
"name": "leftRelative",
"leadingComments": null
},
"init": {
"type": "BinaryExpression",
"start": 9123,
"end": 9154,
"loc": {
"start": {
"line": 314,
"column": 29
},
"end": {
"line": 314,
"column": 60
}
},
"left": {
"type": "BinaryExpression",
"start": 9124,
"end": 9149,
"loc": {
"start": {
"line": 314,
"column": 30
},
"end": {
"line": 314,
"column": 55
}
},
"left": {
"type": "MemberExpression",
"start": 9124,
"end": 9140,
"loc": {
"start": {
"line": 314,
"column": 30
},
"end": {
"line": 314,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 9124,
"end": 9128,
"loc": {
"start": {
"line": 314,
"column": 30
},
"end": {
"line": 314,
"column": 34
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 9129,
"end": 9140,
"loc": {
"start": {
"line": 314,
"column": 35
},
"end": {
"line": 314,
"column": 46
},
"identifierName": "packOffsetX"
},
"name": "packOffsetX"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 9143,
"end": 9149,
"loc": {
"start": {
"line": 314,
"column": 49
},
"end": {
"line": 314,
"column": 55
},
"identifierName": "scaleX"
},
"name": "scaleX"
},
"extra": {
"parenthesized": true,
"parenStart": 9123
}
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 9153,
"end": 9154,
"loc": {
"start": {
"line": 314,
"column": 59
},
"end": {
"line": 314,
"column": 60
},
"identifierName": "w"
},
"name": "w"
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Compute the position in the relative container",
"start": 9043,
"end": 9092,
"loc": {
"start": {
"line": 313,
"column": 8
},
"end": {
"line": 313,
"column": 57
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 9165,
"end": 9217,
"loc": {
"start": {
"line": 315,
"column": 8
},
"end": {
"line": 315,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9171,
"end": 9216,
"loc": {
"start": {
"line": 315,
"column": 14
},
"end": {
"line": 315,
"column": 59
}
},
"id": {
"type": "Identifier",
"start": 9171,
"end": 9182,
"loc": {
"start": {
"line": 315,
"column": 14
},
"end": {
"line": 315,
"column": 25
},
"identifierName": "topRelative"
},
"name": "topRelative"
},
"init": {
"type": "BinaryExpression",
"start": 9185,
"end": 9216,
"loc": {
"start": {
"line": 315,
"column": 28
},
"end": {
"line": 315,
"column": 59
}
},
"left": {
"type": "BinaryExpression",
"start": 9186,
"end": 9211,
"loc": {
"start": {
"line": 315,
"column": 29
},
"end": {
"line": 315,
"column": 54
}
},
"left": {
"type": "MemberExpression",
"start": 9186,
"end": 9202,
"loc": {
"start": {
"line": 315,
"column": 29
},
"end": {
"line": 315,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 9186,
"end": 9190,
"loc": {
"start": {
"line": 315,
"column": 29
},
"end": {
"line": 315,
"column": 33
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 9191,
"end": 9202,
"loc": {
"start": {
"line": 315,
"column": 34
},
"end": {
"line": 315,
"column": 45
},
"identifierName": "packOffsetY"
},
"name": "packOffsetY"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 9205,
"end": 9211,
"loc": {
"start": {
"line": 315,
"column": 48
},
"end": {
"line": 315,
"column": 54
},
"identifierName": "scaleY"
},
"name": "scaleY"
},
"extra": {
"parenthesized": true,
"parenStart": 9185
}
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 9215,
"end": 9216,
"loc": {
"start": {
"line": 315,
"column": 58
},
"end": {
"line": 315,
"column": 59
},
"identifierName": "h"
},
"name": "h"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 9227,
"end": 9267,
"loc": {
"start": {
"line": 316,
"column": 8
},
"end": {
"line": 316,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9233,
"end": 9266,
"loc": {
"start": {
"line": 316,
"column": 14
},
"end": {
"line": 316,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 9233,
"end": 9246,
"loc": {
"start": {
"line": 316,
"column": 14
},
"end": {
"line": 316,
"column": 27
},
"identifierName": "widthRelative"
},
"name": "widthRelative"
},
"init": {
"type": "BinaryExpression",
"start": 9249,
"end": 9266,
"loc": {
"start": {
"line": 316,
"column": 30
},
"end": {
"line": 316,
"column": 47
}
},
"left": {
"type": "Identifier",
"start": 9249,
"end": 9262,
"loc": {
"start": {
"line": 316,
"column": 30
},
"end": {
"line": 316,
"column": 43
},
"identifierName": "widthAbsolute"
},
"name": "widthAbsolute"
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 9265,
"end": 9266,
"loc": {
"start": {
"line": 316,
"column": 46
},
"end": {
"line": 316,
"column": 47
},
"identifierName": "w"
},
"name": "w"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 9277,
"end": 9319,
"loc": {
"start": {
"line": 317,
"column": 8
},
"end": {
"line": 317,
"column": 50
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9283,
"end": 9318,
"loc": {
"start": {
"line": 317,
"column": 14
},
"end": {
"line": 317,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 9283,
"end": 9297,
"loc": {
"start": {
"line": 317,
"column": 14
},
"end": {
"line": 317,
"column": 28
},
"identifierName": "heightRelative"
},
"name": "heightRelative"
},
"init": {
"type": "BinaryExpression",
"start": 9300,
"end": 9318,
"loc": {
"start": {
"line": 317,
"column": 31
},
"end": {
"line": 317,
"column": 49
}
},
"left": {
"type": "Identifier",
"start": 9300,
"end": 9314,
"loc": {
"start": {
"line": 317,
"column": 31
},
"end": {
"line": 317,
"column": 45
},
"identifierName": "heightAbsolute"
},
"name": "heightAbsolute"
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 9317,
"end": 9318,
"loc": {
"start": {
"line": 317,
"column": 48
},
"end": {
"line": 317,
"column": 49
},
"identifierName": "h"
},
"name": "h"
}
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Scale the atlas relative to the width and height of the element",
"start": 9331,
"end": 9397,
"loc": {
"start": {
"line": 319,
"column": 8
},
"end": {
"line": 319,
"column": 74
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 9407,
"end": 9442,
"loc": {
"start": {
"line": 320,
"column": 8
},
"end": {
"line": 320,
"column": 43
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9413,
"end": 9441,
"loc": {
"start": {
"line": 320,
"column": 14
},
"end": {
"line": 320,
"column": 42
}
},
"id": {
"type": "Identifier",
"start": 9413,
"end": 9416,
"loc": {
"start": {
"line": 320,
"column": 14
},
"end": {
"line": 320,
"column": 17
},
"identifierName": "bgW"
},
"name": "bgW",
"leadingComments": null
},
"init": {
"type": "BinaryExpression",
"start": 9419,
"end": 9441,
"loc": {
"start": {
"line": 320,
"column": 20
},
"end": {
"line": 320,
"column": 42
}
},
"left": {
"type": "Identifier",
"start": 9419,
"end": 9425,
"loc": {
"start": {
"line": 320,
"column": 20
},
"end": {
"line": 320,
"column": 26
},
"identifierName": "atlasW"
},
"name": "atlasW"
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 9428,
"end": 9441,
"loc": {
"start": {
"line": 320,
"column": 29
},
"end": {
"line": 320,
"column": 42
},
"identifierName": "widthAbsolute"
},
"name": "widthAbsolute"
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Scale the atlas relative to the width and height of the element",
"start": 9331,
"end": 9397,
"loc": {
"start": {
"line": 319,
"column": 8
},
"end": {
"line": 319,
"column": 74
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 9452,
"end": 9488,
"loc": {
"start": {
"line": 321,
"column": 8
},
"end": {
"line": 321,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9458,
"end": 9487,
"loc": {
"start": {
"line": 321,
"column": 14
},
"end": {
"line": 321,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 9458,
"end": 9461,
"loc": {
"start": {
"line": 321,
"column": 14
},
"end": {
"line": 321,
"column": 17
},
"identifierName": "bgH"
},
"name": "bgH"
},
"init": {
"type": "BinaryExpression",
"start": 9464,
"end": 9487,
"loc": {
"start": {
"line": 321,
"column": 20
},
"end": {
"line": 321,
"column": 43
}
},
"left": {
"type": "Identifier",
"start": 9464,
"end": 9470,
"loc": {
"start": {
"line": 321,
"column": 20
},
"end": {
"line": 321,
"column": 26
},
"identifierName": "atlasH"
},
"name": "atlasH"
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 9473,
"end": 9487,
"loc": {
"start": {
"line": 321,
"column": 29
},
"end": {
"line": 321,
"column": 43
},
"identifierName": "heightAbsolute"
},
"name": "heightAbsolute"
}
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Figure out what the position of the atlas is",
"start": 9500,
"end": 9547,
"loc": {
"start": {
"line": 323,
"column": 8
},
"end": {
"line": 323,
"column": 55
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 9557,
"end": 9591,
"loc": {
"start": {
"line": 324,
"column": 8
},
"end": {
"line": 324,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9563,
"end": 9590,
"loc": {
"start": {
"line": 324,
"column": 14
},
"end": {
"line": 324,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 9563,
"end": 9566,
"loc": {
"start": {
"line": 324,
"column": 14
},
"end": {
"line": 324,
"column": 17
},
"identifierName": "bgX"
},
"name": "bgX",
"leadingComments": null
},
"init": {
"type": "BinaryExpression",
"start": 9569,
"end": 9590,
"loc": {
"start": {
"line": 324,
"column": 20
},
"end": {
"line": 324,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 9569,
"end": 9581,
"loc": {
"start": {
"line": 324,
"column": 20
},
"end": {
"line": 324,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 9569,
"end": 9573,
"loc": {
"start": {
"line": 324,
"column": 20
},
"end": {
"line": 324,
"column": 24
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 9574,
"end": 9581,
"loc": {
"start": {
"line": 324,
"column": 25
},
"end": {
"line": 324,
"column": 32
},
"identifierName": "packedX"
},
"name": "packedX"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 9584,
"end": 9590,
"loc": {
"start": {
"line": 324,
"column": 35
},
"end": {
"line": 324,
"column": 41
},
"identifierName": "scaleX"
},
"name": "scaleX"
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Figure out what the position of the atlas is",
"start": 9500,
"end": 9547,
"loc": {
"start": {
"line": 323,
"column": 8
},
"end": {
"line": 323,
"column": 55
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 9601,
"end": 9635,
"loc": {
"start": {
"line": 325,
"column": 8
},
"end": {
"line": 325,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9607,
"end": 9634,
"loc": {
"start": {
"line": 325,
"column": 14
},
"end": {
"line": 325,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 9607,
"end": 9610,
"loc": {
"start": {
"line": 325,
"column": 14
},
"end": {
"line": 325,
"column": 17
},
"identifierName": "bgY"
},
"name": "bgY"
},
"init": {
"type": "BinaryExpression",
"start": 9613,
"end": 9634,
"loc": {
"start": {
"line": 325,
"column": 20
},
"end": {
"line": 325,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 9613,
"end": 9625,
"loc": {
"start": {
"line": 325,
"column": 20
},
"end": {
"line": 325,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 9613,
"end": 9617,
"loc": {
"start": {
"line": 325,
"column": 20
},
"end": {
"line": 325,
"column": 24
},
"identifierName": "link"
},
"name": "link"
},
"property": {
"type": "Identifier",
"start": 9618,
"end": 9625,
"loc": {
"start": {
"line": 325,
"column": 25
},
"end": {
"line": 325,
"column": 32
},
"identifierName": "packedY"
},
"name": "packedY"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 9628,
"end": 9634,
"loc": {
"start": {
"line": 325,
"column": 35
},
"end": {
"line": 325,
"column": 41
},
"identifierName": "scaleY"
},
"name": "scaleY"
}
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Fuck you, whoever thought its a good idea to make background-position work like it does now",
"start": 9647,
"end": 9741,
"loc": {
"start": {
"line": 327,
"column": 8
},
"end": {
"line": 327,
"column": 102
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 9751,
"end": 9803,
"loc": {
"start": {
"line": 328,
"column": 8
},
"end": {
"line": 328,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9757,
"end": 9802,
"loc": {
"start": {
"line": 328,
"column": 14
},
"end": {
"line": 328,
"column": 59
}
},
"id": {
"type": "Identifier",
"start": 9757,
"end": 9768,
"loc": {
"start": {
"line": 328,
"column": 14
},
"end": {
"line": 328,
"column": 25
},
"identifierName": "bgXRelative"
},
"name": "bgXRelative",
"leadingComments": null
},
"init": {
"type": "BinaryExpression",
"start": 9771,
"end": 9802,
"loc": {
"start": {
"line": 328,
"column": 28
},
"end": {
"line": 328,
"column": 59
}
},
"left": {
"type": "UnaryExpression",
"start": 9771,
"end": 9775,
"loc": {
"start": {
"line": 328,
"column": 28
},
"end": {
"line": 328,
"column": 32
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 9772,
"end": 9775,
"loc": {
"start": {
"line": 328,
"column": 29
},
"end": {
"line": 328,
"column": 32
},
"identifierName": "bgX"
},
"name": "bgX"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "/",
"right": {
"type": "BinaryExpression",
"start": 9779,
"end": 9801,
"loc": {
"start": {
"line": 328,
"column": 36
},
"end": {
"line": 328,
"column": 58
}
},
"left": {
"type": "Identifier",
"start": 9779,
"end": 9792,
"loc": {
"start": {
"line": 328,
"column": 36
},
"end": {
"line": 328,
"column": 49
},
"identifierName": "widthAbsolute"
},
"name": "widthAbsolute"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 9795,
"end": 9801,
"loc": {
"start": {
"line": 328,
"column": 52
},
"end": {
"line": 328,
"column": 58
},
"identifierName": "atlasW"
},
"name": "atlasW"
},
"extra": {
"parenthesized": true,
"parenStart": 9778
}
}
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Fuck you, whoever thought its a good idea to make background-position work like it does now",
"start": 9647,
"end": 9741,
"loc": {
"start": {
"line": 327,
"column": 8
},
"end": {
"line": 327,
"column": 102
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 9813,
"end": 9866,
"loc": {
"start": {
"line": 329,
"column": 8
},
"end": {
"line": 329,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9819,
"end": 9865,
"loc": {
"start": {
"line": 329,
"column": 14
},
"end": {
"line": 329,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 9819,
"end": 9830,
"loc": {
"start": {
"line": 329,
"column": 14
},
"end": {
"line": 329,
"column": 25
},
"identifierName": "bgYRelative"
},
"name": "bgYRelative"
},
"init": {
"type": "BinaryExpression",
"start": 9833,
"end": 9865,
"loc": {
"start": {
"line": 329,
"column": 28
},
"end": {
"line": 329,
"column": 60
}
},
"left": {
"type": "UnaryExpression",
"start": 9833,
"end": 9837,
"loc": {
"start": {
"line": 329,
"column": 28
},
"end": {
"line": 329,
"column": 32
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 9834,
"end": 9837,
"loc": {
"start": {
"line": 329,
"column": 29
},
"end": {
"line": 329,
"column": 32
},
"identifierName": "bgY"
},
"name": "bgY"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "/",
"right": {
"type": "BinaryExpression",
"start": 9841,
"end": 9864,
"loc": {
"start": {
"line": 329,
"column": 36
},
"end": {
"line": 329,
"column": 59
}
},
"left": {
"type": "Identifier",
"start": 9841,
"end": 9855,
"loc": {
"start": {
"line": 329,
"column": 36
},
"end": {
"line": 329,
"column": 50
},
"identifierName": "heightAbsolute"
},
"name": "heightAbsolute"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 9858,
"end": 9864,
"loc": {
"start": {
"line": 329,
"column": 53
},
"end": {
"line": 329,
"column": 59
},
"identifierName": "atlasH"
},
"name": "atlasH"
},
"extra": {
"parenthesized": true,
"parenStart": 9840
}
}
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 9878,
"end": 10561,
"loc": {
"start": {
"line": 331,
"column": 8
},
"end": {
"line": 344,
"column": 10
}
},
"argument": {
"type": "TemplateLiteral",
"start": 9885,
"end": 10560,
"loc": {
"start": {
"line": 331,
"column": 15
},
"end": {
"line": 344,
"column": 9
}
},
"expressions": [
{
"type": "Identifier",
"start": 9981,
"end": 9988,
"loc": {
"start": {
"line": 333,
"column": 41
},
"end": {
"line": 333,
"column": 48
},
"identifierName": "srcSafe"
},
"name": "srcSafe"
},
{
"type": "CallExpression",
"start": 10018,
"end": 10052,
"loc": {
"start": {
"line": 334,
"column": 24
},
"end": {
"line": 334,
"column": 58
}
},
"callee": {
"type": "Identifier",
"start": 10018,
"end": 10030,
"loc": {
"start": {
"line": 334,
"column": 24
},
"end": {
"line": 334,
"column": 36
},
"identifierName": "round3Digits"
},
"name": "round3Digits"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 10031,
"end": 10051,
"loc": {
"start": {
"line": 334,
"column": 37
},
"end": {
"line": 334,
"column": 57
}
},
"left": {
"type": "Identifier",
"start": 10031,
"end": 10043,
"loc": {
"start": {
"line": 334,
"column": 37
},
"end": {
"line": 334,
"column": 49
},
"identifierName": "leftRelative"
},
"name": "leftRelative"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 10046,
"end": 10051,
"loc": {
"start": {
"line": 334,
"column": 52
},
"end": {
"line": 334,
"column": 57
}
},
"extra": {
"rawValue": 100,
"raw": "100.0"
},
"value": 100
}
}
]
},
{
"type": "CallExpression",
"start": 10080,
"end": 10113,
"loc": {
"start": {
"line": 335,
"column": 23
},
"end": {
"line": 335,
"column": 56
}
},
"callee": {
"type": "Identifier",
"start": 10080,
"end": 10092,
"loc": {
"start": {
"line": 335,
"column": 23
},
"end": {
"line": 335,
"column": 35
},
"identifierName": "round3Digits"
},
"name": "round3Digits"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 10093,
"end": 10112,
"loc": {
"start": {
"line": 335,
"column": 36
},
"end": {
"line": 335,
"column": 55
}
},
"left": {
"type": "Identifier",
"start": 10093,
"end": 10104,
"loc": {
"start": {
"line": 335,
"column": 36
},
"end": {
"line": 335,
"column": 47
},
"identifierName": "topRelative"
},
"name": "topRelative"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 10107,
"end": 10112,
"loc": {
"start": {
"line": 335,
"column": 50
},
"end": {
"line": 335,
"column": 55
}
},
"extra": {
"rawValue": 100,
"raw": "100.0"
},
"value": 100
}
}
]
},
{
"type": "CallExpression",
"start": 10143,
"end": 10178,
"loc": {
"start": {
"line": 336,
"column": 25
},
"end": {
"line": 336,
"column": 60
}
},
"callee": {
"type": "Identifier",
"start": 10143,
"end": 10155,
"loc": {
"start": {
"line": 336,
"column": 25
},
"end": {
"line": 336,
"column": 37
},
"identifierName": "round3Digits"
},
"name": "round3Digits"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 10156,
"end": 10177,
"loc": {
"start": {
"line": 336,
"column": 38
},
"end": {
"line": 336,
"column": 59
}
},
"left": {
"type": "Identifier",
"start": 10156,
"end": 10169,
"loc": {
"start": {
"line": 336,
"column": 38
},
"end": {
"line": 336,
"column": 51
},
"identifierName": "widthRelative"
},
"name": "widthRelative"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 10172,
"end": 10177,
"loc": {
"start": {
"line": 336,
"column": 54
},
"end": {
"line": 336,
"column": 59
}
},
"extra": {
"rawValue": 100,
"raw": "100.0"
},
"value": 100
}
}
]
},
{
"type": "CallExpression",
"start": 10209,
"end": 10245,
"loc": {
"start": {
"line": 337,
"column": 26
},
"end": {
"line": 337,
"column": 62
}
},
"callee": {
"type": "Identifier",
"start": 10209,
"end": 10221,
"loc": {
"start": {
"line": 337,
"column": 26
},
"end": {
"line": 337,
"column": 38
},
"identifierName": "round3Digits"
},
"name": "round3Digits"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 10222,
"end": 10244,
"loc": {
"start": {
"line": 337,
"column": 39
},
"end": {
"line": 337,
"column": 61
}
},
"left": {
"type": "Identifier",
"start": 10222,
"end": 10236,
"loc": {
"start": {
"line": 337,
"column": 39
},
"end": {
"line": 337,
"column": 53
},
"identifierName": "heightRelative"
},
"name": "heightRelative"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 10239,
"end": 10244,
"loc": {
"start": {
"line": 337,
"column": 56
},
"end": {
"line": 337,
"column": 61
}
},
"extra": {
"rawValue": 100,
"raw": "100.0"
},
"value": 100
}
}
]
},
{
"type": "CallExpression",
"start": 10333,
"end": 10366,
"loc": {
"start": {
"line": 339,
"column": 39
},
"end": {
"line": 339,
"column": 72
}
},
"callee": {
"type": "Identifier",
"start": 10333,
"end": 10345,
"loc": {
"start": {
"line": 339,
"column": 39
},
"end": {
"line": 339,
"column": 51
},
"identifierName": "round3Digits"
},
"name": "round3Digits"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 10346,
"end": 10365,
"loc": {
"start": {
"line": 339,
"column": 52
},
"end": {
"line": 339,
"column": 71
}
},
"left": {
"type": "Identifier",
"start": 10346,
"end": 10357,
"loc": {
"start": {
"line": 339,
"column": 52
},
"end": {
"line": 339,
"column": 63
},
"identifierName": "bgXRelative"
},
"name": "bgXRelative"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 10360,
"end": 10365,
"loc": {
"start": {
"line": 339,
"column": 66
},
"end": {
"line": 339,
"column": 71
}
},
"extra": {
"rawValue": 100,
"raw": "100.0"
},
"value": 100
}
}
]
},
{
"type": "CallExpression",
"start": 10371,
"end": 10428,
"loc": {
"start": {
"line": 339,
"column": 77
},
"end": {
"line": 341,
"column": 9
}
},
"callee": {
"type": "Identifier",
"start": 10371,
"end": 10383,
"loc": {
"start": {
"line": 339,
"column": 77
},
"end": {
"line": 339,
"column": 89
},
"identifierName": "round3Digits"
},
"name": "round3Digits"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 10398,
"end": 10417,
"loc": {
"start": {
"line": 340,
"column": 12
},
"end": {
"line": 340,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 10398,
"end": 10409,
"loc": {
"start": {
"line": 340,
"column": 12
},
"end": {
"line": 340,
"column": 23
},
"identifierName": "bgYRelative"
},
"name": "bgYRelative"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 10412,
"end": 10417,
"loc": {
"start": {
"line": 340,
"column": 26
},
"end": {
"line": 340,
"column": 31
}
},
"extra": {
"rawValue": 100,
"raw": "100.0"
},
"value": 100
}
}
]
},
{
"type": "CallExpression",
"start": 10468,
"end": 10493,
"loc": {
"start": {
"line": 342,
"column": 35
},
"end": {
"line": 342,
"column": 60
}
},
"callee": {
"type": "Identifier",
"start": 10468,
"end": 10480,
"loc": {
"start": {
"line": 342,
"column": 35
},
"end": {
"line": 342,
"column": 47
},
"identifierName": "round3Digits"
},
"name": "round3Digits"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 10481,
"end": 10492,
"loc": {
"start": {
"line": 342,
"column": 48
},
"end": {
"line": 342,
"column": 59
}
},
"left": {
"type": "Identifier",
"start": 10481,
"end": 10484,
"loc": {
"start": {
"line": 342,
"column": 48
},
"end": {
"line": 342,
"column": 51
},
"identifierName": "bgW"
},
"name": "bgW"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 10487,
"end": 10492,
"loc": {
"start": {
"line": 342,
"column": 54
},
"end": {
"line": 342,
"column": 59
}
},
"extra": {
"rawValue": 100,
"raw": "100.0"
},
"value": 100
}
}
]
},
{
"type": "CallExpression",
"start": 10498,
"end": 10523,
"loc": {
"start": {
"line": 342,
"column": 65
},
"end": {
"line": 342,
"column": 90
}
},
"callee": {
"type": "Identifier",
"start": 10498,
"end": 10510,
"loc": {
"start": {
"line": 342,
"column": 65
},
"end": {
"line": 342,
"column": 77
},
"identifierName": "round3Digits"
},
"name": "round3Digits"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 10511,
"end": 10522,
"loc": {
"start": {
"line": 342,
"column": 78
},
"end": {
"line": 342,
"column": 89
}
},
"left": {
"type": "Identifier",
"start": 10511,
"end": 10514,
"loc": {
"start": {
"line": 342,
"column": 78
},
"end": {
"line": 342,
"column": 81
},
"identifierName": "bgH"
},
"name": "bgH"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 10517,
"end": 10522,
"loc": {
"start": {
"line": 342,
"column": 84
},
"end": {
"line": 342,
"column": 89
}
},
"extra": {
"rawValue": 100,
"raw": "100.0"
},
"value": 100
}
}
]
}
],
"quasis": [
{
"type": "TemplateElement",
"start": 9886,
"end": 9979,
"loc": {
"start": {
"line": 331,
"column": 16
},
"end": {
"line": 333,
"column": 39
}
},
"value": {
"raw": "\n <span class=\"spritesheetImage\" style=\"\n background-image: url('",
"cooked": "\n <span class=\"spritesheetImage\" style=\"\n background-image: url('"
},
"tail": false
},
{
"type": "TemplateElement",
"start": 9989,
"end": 10016,
"loc": {
"start": {
"line": 333,
"column": 49
},
"end": {
"line": 334,
"column": 22
}
},
"value": {
"raw": "');\n left: ",
"cooked": "');\n left: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 10053,
"end": 10078,
"loc": {
"start": {
"line": 334,
"column": 59
},
"end": {
"line": 335,
"column": 21
}
},
"value": {
"raw": "%;\n top: ",
"cooked": "%;\n top: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 10114,
"end": 10141,
"loc": {
"start": {
"line": 335,
"column": 57
},
"end": {
"line": 336,
"column": 23
}
},
"value": {
"raw": "%;\n width: ",
"cooked": "%;\n width: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 10179,
"end": 10207,
"loc": {
"start": {
"line": 336,
"column": 61
},
"end": {
"line": 337,
"column": 24
}
},
"value": {
"raw": "%;\n height: ",
"cooked": "%;\n height: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 10246,
"end": 10331,
"loc": {
"start": {
"line": 337,
"column": 63
},
"end": {
"line": 339,
"column": 37
}
},
"value": {
"raw": "%;\n background-repeat: repeat;\n background-position: ",
"cooked": "%;\n background-repeat: repeat;\n background-position: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 10367,
"end": 10369,
"loc": {
"start": {
"line": 339,
"column": 73
},
"end": {
"line": 339,
"column": 75
}
},
"value": {
"raw": "% ",
"cooked": "% "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 10429,
"end": 10466,
"loc": {
"start": {
"line": 341,
"column": 10
},
"end": {
"line": 342,
"column": 33
}
},
"value": {
"raw": "%;\n background-size: ",
"cooked": "%;\n background-size: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 10494,
"end": 10496,
"loc": {
"start": {
"line": 342,
"column": 61
},
"end": {
"line": 342,
"column": 63
}
},
"value": {
"raw": "% ",
"cooked": "% "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 10524,
"end": 10559,
"loc": {
"start": {
"line": 342,
"column": 91
},
"end": {
"line": 344,
"column": 8
}
},
"value": {
"raw": "%;\n \"></span>\n ",
"cooked": "%;\n \"></span>\n "
},
"tail": true
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the html to render as icon\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 8305,
"end": 8412,
"loc": {
"start": {
"line": 290,
"column": 4
},
"end": {
"line": 294,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
},
{
"type": "ExportNamedDeclaration",
"start": 10575,
"end": 12111,
"loc": {
"start": {
"line": 348,
"column": 0
},
"end": {
"line": 395,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 10582,
"end": 12111,
"loc": {
"start": {
"line": 348,
"column": 7
},
"end": {
"line": 395,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 10588,
"end": 10601,
"loc": {
"start": {
"line": 348,
"column": 13
},
"end": {
"line": 348,
"column": 26
},
"identifierName": "RegularSprite"
},
"name": "RegularSprite"
},
"superClass": {
"type": "Identifier",
"start": 10610,
"end": 10620,
"loc": {
"start": {
"line": 348,
"column": 35
},
"end": {
"line": 348,
"column": 45
},
"identifierName": "BaseSprite"
},
"name": "BaseSprite"
},
"body": {
"type": "ClassBody",
"start": 10621,
"end": 12111,
"loc": {
"start": {
"line": 348,
"column": 46
},
"end": {
"line": 395,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 10628,
"end": 10753,
"loc": {
"start": {
"line": 349,
"column": 4
},
"end": {
"line": 354,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 10628,
"end": 10639,
"loc": {
"start": {
"line": 349,
"column": 4
},
"end": {
"line": 349,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 10640,
"end": 10646,
"loc": {
"start": {
"line": 349,
"column": 16
},
"end": {
"line": 349,
"column": 22
},
"identifierName": "sprite"
},
"name": "sprite"
},
{
"type": "Identifier",
"start": 10648,
"end": 10649,
"loc": {
"start": {
"line": 349,
"column": 24
},
"end": {
"line": 349,
"column": 25
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 10651,
"end": 10652,
"loc": {
"start": {
"line": 349,
"column": 27
},
"end": {
"line": 349,
"column": 28
},
"identifierName": "h"
},
"name": "h"
}
],
"body": {
"type": "BlockStatement",
"start": 10654,
"end": 10753,
"loc": {
"start": {
"line": 349,
"column": 30
},
"end": {
"line": 354,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 10665,
"end": 10673,
"loc": {
"start": {
"line": 350,
"column": 8
},
"end": {
"line": 350,
"column": 16
}
},
"expression": {
"type": "CallExpression",
"start": 10665,
"end": 10672,
"loc": {
"start": {
"line": 350,
"column": 8
},
"end": {
"line": 350,
"column": 15
}
},
"callee": {
"type": "Super",
"start": 10665,
"end": 10670,
"loc": {
"start": {
"line": 350,
"column": 8
},
"end": {
"line": 350,
"column": 13
}
}
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 10683,
"end": 10694,
"loc": {
"start": {
"line": 351,
"column": 8
},
"end": {
"line": 351,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10683,
"end": 10693,
"loc": {
"start": {
"line": 351,
"column": 8
},
"end": {
"line": 351,
"column": 18
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10683,
"end": 10689,
"loc": {
"start": {
"line": 351,
"column": 8
},
"end": {
"line": 351,
"column": 14
}
},
"object": {
"type": "ThisExpression",
"start": 10683,
"end": 10687,
"loc": {
"start": {
"line": 351,
"column": 8
},
"end": {
"line": 351,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10688,
"end": 10689,
"loc": {
"start": {
"line": 351,
"column": 13
},
"end": {
"line": 351,
"column": 14
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 10692,
"end": 10693,
"loc": {
"start": {
"line": 351,
"column": 17
},
"end": {
"line": 351,
"column": 18
},
"identifierName": "w"
},
"name": "w"
}
}
},
{
"type": "ExpressionStatement",
"start": 10704,
"end": 10715,
"loc": {
"start": {
"line": 352,
"column": 8
},
"end": {
"line": 352,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10704,
"end": 10714,
"loc": {
"start": {
"line": 352,
"column": 8
},
"end": {
"line": 352,
"column": 18
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10704,
"end": 10710,
"loc": {
"start": {
"line": 352,
"column": 8
},
"end": {
"line": 352,
"column": 14
}
},
"object": {
"type": "ThisExpression",
"start": 10704,
"end": 10708,
"loc": {
"start": {
"line": 352,
"column": 8
},
"end": {
"line": 352,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10709,
"end": 10710,
"loc": {
"start": {
"line": 352,
"column": 13
},
"end": {
"line": 352,
"column": 14
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 10713,
"end": 10714,
"loc": {
"start": {
"line": 352,
"column": 17
},
"end": {
"line": 352,
"column": 18
},
"identifierName": "h"
},
"name": "h"
}
}
},
{
"type": "ExpressionStatement",
"start": 10725,
"end": 10746,
"loc": {
"start": {
"line": 353,
"column": 8
},
"end": {
"line": 353,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10725,
"end": 10745,
"loc": {
"start": {
"line": 353,
"column": 8
},
"end": {
"line": 353,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10725,
"end": 10736,
"loc": {
"start": {
"line": 353,
"column": 8
},
"end": {
"line": 353,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 10725,
"end": 10729,
"loc": {
"start": {
"line": 353,
"column": 8
},
"end": {
"line": 353,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10730,
"end": 10736,
"loc": {
"start": {
"line": 353,
"column": 13
},
"end": {
"line": 353,
"column": 19
},
"identifierName": "sprite"
},
"name": "sprite"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 10739,
"end": 10745,
"loc": {
"start": {
"line": 353,
"column": 22
},
"end": {
"line": 353,
"column": 28
},
"identifierName": "sprite"
},
"name": "sprite"
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 10761,
"end": 10814,
"loc": {
"start": {
"line": 356,
"column": 4
},
"end": {
"line": 358,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 10761,
"end": 10774,
"loc": {
"start": {
"line": 356,
"column": 4
},
"end": {
"line": 356,
"column": 17
},
"identifierName": "getRawTexture"
},
"name": "getRawTexture"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 10777,
"end": 10814,
"loc": {
"start": {
"line": 356,
"column": 20
},
"end": {
"line": 358,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 10788,
"end": 10807,
"loc": {
"start": {
"line": 357,
"column": 8
},
"end": {
"line": 357,
"column": 27
}
},
"argument": {
"type": "MemberExpression",
"start": 10795,
"end": 10806,
"loc": {
"start": {
"line": 357,
"column": 15
},
"end": {
"line": 357,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 10795,
"end": 10799,
"loc": {
"start": {
"line": 357,
"column": 15
},
"end": {
"line": 357,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 10800,
"end": 10806,
"loc": {
"start": {
"line": 357,
"column": 20
},
"end": {
"line": 357,
"column": 26
},
"identifierName": "sprite"
},
"name": "sprite"
},
"computed": false
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite, do *not* use this for sprites which are rendered! Only for drawing\r\n * images into buffers\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 10822,
"end": 11109,
"loc": {
"start": {
"line": 360,
"column": 4
},
"end": {
"line": 368,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 11115,
"end": 11449,
"loc": {
"start": {
"line": 369,
"column": 4
},
"end": {
"line": 376,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 11115,
"end": 11119,
"loc": {
"start": {
"line": 369,
"column": 4
},
"end": {
"line": 369,
"column": 8
},
"identifierName": "draw"
},
"name": "draw",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 11120,
"end": 11127,
"loc": {
"start": {
"line": 369,
"column": 9
},
"end": {
"line": 369,
"column": 16
},
"identifierName": "context"
},
"name": "context"
},
{
"type": "Identifier",
"start": 11129,
"end": 11130,
"loc": {
"start": {
"line": 369,
"column": 18
},
"end": {
"line": 369,
"column": 19
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 11132,
"end": 11133,
"loc": {
"start": {
"line": 369,
"column": 21
},
"end": {
"line": 369,
"column": 22
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 11135,
"end": 11136,
"loc": {
"start": {
"line": 369,
"column": 24
},
"end": {
"line": 369,
"column": 25
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 11138,
"end": 11139,
"loc": {
"start": {
"line": 369,
"column": 27
},
"end": {
"line": 369,
"column": 28
},
"identifierName": "h"
},
"name": "h"
}
],
"body": {
"type": "BlockStatement",
"start": 11141,
"end": 11449,
"loc": {
"start": {
"line": 369,
"column": 30
},
"end": {
"line": 376,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 11152,
"end": 11188,
"loc": {
"start": {
"line": 370,
"column": 8
},
"end": {
"line": 370,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 11152,
"end": 11187,
"loc": {
"start": {
"line": 370,
"column": 8
},
"end": {
"line": 370,
"column": 43
}
},
"callee": {
"type": "Identifier",
"start": 11152,
"end": 11158,
"loc": {
"start": {
"line": 370,
"column": 8
},
"end": {
"line": 370,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "Identifier",
"start": 11159,
"end": 11166,
"loc": {
"start": {
"line": 370,
"column": 15
},
"end": {
"line": 370,
"column": 22
},
"identifierName": "context"
},
"name": "context"
},
{
"type": "StringLiteral",
"start": 11168,
"end": 11186,
"loc": {
"start": {
"line": 370,
"column": 24
},
"end": {
"line": 370,
"column": 42
}
},
"extra": {
"rawValue": "No context given",
"raw": "\"No context given\""
},
"value": "No context given"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 11198,
"end": 11236,
"loc": {
"start": {
"line": 371,
"column": 8
},
"end": {
"line": 371,
"column": 46
}
},
"expression": {
"type": "CallExpression",
"start": 11198,
"end": 11235,
"loc": {
"start": {
"line": 371,
"column": 8
},
"end": {
"line": 371,
"column": 45
}
},
"callee": {
"type": "Identifier",
"start": 11198,
"end": 11204,
"loc": {
"start": {
"line": 371,
"column": 8
},
"end": {
"line": 371,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 11205,
"end": 11220,
"loc": {
"start": {
"line": 371,
"column": 15
},
"end": {
"line": 371,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 11205,
"end": 11206,
"loc": {
"start": {
"line": 371,
"column": 15
},
"end": {
"line": 371,
"column": 16
},
"identifierName": "x"
},
"name": "x"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 11211,
"end": 11220,
"loc": {
"start": {
"line": 371,
"column": 21
},
"end": {
"line": 371,
"column": 30
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
{
"type": "StringLiteral",
"start": 11222,
"end": 11234,
"loc": {
"start": {
"line": 371,
"column": 32
},
"end": {
"line": 371,
"column": 44
}
},
"extra": {
"rawValue": "No x given",
"raw": "\"No x given\""
},
"value": "No x given"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 11246,
"end": 11284,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 46
}
},
"expression": {
"type": "CallExpression",
"start": 11246,
"end": 11283,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 45
}
},
"callee": {
"type": "Identifier",
"start": 11246,
"end": 11252,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 11253,
"end": 11268,
"loc": {
"start": {
"line": 372,
"column": 15
},
"end": {
"line": 372,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 11253,
"end": 11254,
"loc": {
"start": {
"line": 372,
"column": 15
},
"end": {
"line": 372,
"column": 16
},
"identifierName": "y"
},
"name": "y"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 11259,
"end": 11268,
"loc": {
"start": {
"line": 372,
"column": 21
},
"end": {
"line": 372,
"column": 30
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
{
"type": "StringLiteral",
"start": 11270,
"end": 11282,
"loc": {
"start": {
"line": 372,
"column": 32
},
"end": {
"line": 372,
"column": 44
}
},
"extra": {
"rawValue": "No y given",
"raw": "\"No y given\""
},
"value": "No y given"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 11294,
"end": 11336,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 50
}
},
"expression": {
"type": "CallExpression",
"start": 11294,
"end": 11335,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 49
}
},
"callee": {
"type": "Identifier",
"start": 11294,
"end": 11300,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 11301,
"end": 11316,
"loc": {
"start": {
"line": 373,
"column": 15
},
"end": {
"line": 373,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 11301,
"end": 11302,
"loc": {
"start": {
"line": 373,
"column": 15
},
"end": {
"line": 373,
"column": 16
},
"identifierName": "w"
},
"name": "w"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 11307,
"end": 11316,
"loc": {
"start": {
"line": 373,
"column": 21
},
"end": {
"line": 373,
"column": 30
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
{
"type": "StringLiteral",
"start": 11318,
"end": 11334,
"loc": {
"start": {
"line": 373,
"column": 32
},
"end": {
"line": 373,
"column": 48
}
},
"extra": {
"rawValue": "No width given",
"raw": "\"No width given\""
},
"value": "No width given"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 11346,
"end": 11389,
"loc": {
"start": {
"line": 374,
"column": 8
},
"end": {
"line": 374,
"column": 51
}
},
"expression": {
"type": "CallExpression",
"start": 11346,
"end": 11388,
"loc": {
"start": {
"line": 374,
"column": 8
},
"end": {
"line": 374,
"column": 50
}
},
"callee": {
"type": "Identifier",
"start": 11346,
"end": 11352,
"loc": {
"start": {
"line": 374,
"column": 8
},
"end": {
"line": 374,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 11353,
"end": 11368,
"loc": {
"start": {
"line": 374,
"column": 15
},
"end": {
"line": 374,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 11353,
"end": 11354,
"loc": {
"start": {
"line": 374,
"column": 15
},
"end": {
"line": 374,
"column": 16
},
"identifierName": "h"
},
"name": "h"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 11359,
"end": 11368,
"loc": {
"start": {
"line": 374,
"column": 21
},
"end": {
"line": 374,
"column": 30
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
{
"type": "StringLiteral",
"start": 11370,
"end": 11387,
"loc": {
"start": {
"line": 374,
"column": 32
},
"end": {
"line": 374,
"column": 49
}
},
"extra": {
"rawValue": "No height given",
"raw": "\"No height given\""
},
"value": "No height given"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 11399,
"end": 11442,
"loc": {
"start": {
"line": 375,
"column": 8
},
"end": {
"line": 375,
"column": 51
}
},
"expression": {
"type": "CallExpression",
"start": 11399,
"end": 11441,
"loc": {
"start": {
"line": 375,
"column": 8
},
"end": {
"line": 375,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 11399,
"end": 11416,
"loc": {
"start": {
"line": 375,
"column": 8
},
"end": {
"line": 375,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 11399,
"end": 11406,
"loc": {
"start": {
"line": 375,
"column": 8
},
"end": {
"line": 375,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 11407,
"end": 11416,
"loc": {
"start": {
"line": 375,
"column": 16
},
"end": {
"line": 375,
"column": 25
},
"identifierName": "drawImage"
},
"name": "drawImage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 11417,
"end": 11428,
"loc": {
"start": {
"line": 375,
"column": 26
},
"end": {
"line": 375,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 11417,
"end": 11421,
"loc": {
"start": {
"line": 375,
"column": 26
},
"end": {
"line": 375,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 11422,
"end": 11428,
"loc": {
"start": {
"line": 375,
"column": 31
},
"end": {
"line": 375,
"column": 37
},
"identifierName": "sprite"
},
"name": "sprite"
},
"computed": false
},
{
"type": "Identifier",
"start": 11430,
"end": 11431,
"loc": {
"start": {
"line": 375,
"column": 39
},
"end": {
"line": 375,
"column": 40
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 11433,
"end": 11434,
"loc": {
"start": {
"line": 375,
"column": 42
},
"end": {
"line": 375,
"column": 43
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 11436,
"end": 11437,
"loc": {
"start": {
"line": 375,
"column": 45
},
"end": {
"line": 375,
"column": 46
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 11439,
"end": 11440,
"loc": {
"start": {
"line": 375,
"column": 48
},
"end": {
"line": 375,
"column": 49
},
"identifierName": "h"
},
"name": "h"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite, do *not* use this for sprites which are rendered! Only for drawing\r\n * images into buffers\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 10822,
"end": 11109,
"loc": {
"start": {
"line": 360,
"column": 4
},
"end": {
"line": 368,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite, do *not* use this for sprites which are rendered! Only for drawing\r\n * images into buffers\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 11457,
"end": 11744,
"loc": {
"start": {
"line": 378,
"column": 4
},
"end": {
"line": 386,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 11750,
"end": 12108,
"loc": {
"start": {
"line": 387,
"column": 4
},
"end": {
"line": 394,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 11750,
"end": 11762,
"loc": {
"start": {
"line": 387,
"column": 4
},
"end": {
"line": 387,
"column": 16
},
"identifierName": "drawCentered"
},
"name": "drawCentered",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 11763,
"end": 11770,
"loc": {
"start": {
"line": 387,
"column": 17
},
"end": {
"line": 387,
"column": 24
},
"identifierName": "context"
},
"name": "context"
},
{
"type": "Identifier",
"start": 11772,
"end": 11773,
"loc": {
"start": {
"line": 387,
"column": 26
},
"end": {
"line": 387,
"column": 27
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 11775,
"end": 11776,
"loc": {
"start": {
"line": 387,
"column": 29
},
"end": {
"line": 387,
"column": 30
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 11778,
"end": 11779,
"loc": {
"start": {
"line": 387,
"column": 32
},
"end": {
"line": 387,
"column": 33
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 11781,
"end": 11782,
"loc": {
"start": {
"line": 387,
"column": 35
},
"end": {
"line": 387,
"column": 36
},
"identifierName": "h"
},
"name": "h"
}
],
"body": {
"type": "BlockStatement",
"start": 11784,
"end": 12108,
"loc": {
"start": {
"line": 387,
"column": 38
},
"end": {
"line": 394,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 11795,
"end": 11831,
"loc": {
"start": {
"line": 388,
"column": 8
},
"end": {
"line": 388,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 11795,
"end": 11830,
"loc": {
"start": {
"line": 388,
"column": 8
},
"end": {
"line": 388,
"column": 43
}
},
"callee": {
"type": "Identifier",
"start": 11795,
"end": 11801,
"loc": {
"start": {
"line": 388,
"column": 8
},
"end": {
"line": 388,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "Identifier",
"start": 11802,
"end": 11809,
"loc": {
"start": {
"line": 388,
"column": 15
},
"end": {
"line": 388,
"column": 22
},
"identifierName": "context"
},
"name": "context"
},
{
"type": "StringLiteral",
"start": 11811,
"end": 11829,
"loc": {
"start": {
"line": 388,
"column": 24
},
"end": {
"line": 388,
"column": 42
}
},
"extra": {
"rawValue": "No context given",
"raw": "\"No context given\""
},
"value": "No context given"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 11841,
"end": 11879,
"loc": {
"start": {
"line": 389,
"column": 8
},
"end": {
"line": 389,
"column": 46
}
},
"expression": {
"type": "CallExpression",
"start": 11841,
"end": 11878,
"loc": {
"start": {
"line": 389,
"column": 8
},
"end": {
"line": 389,
"column": 45
}
},
"callee": {
"type": "Identifier",
"start": 11841,
"end": 11847,
"loc": {
"start": {
"line": 389,
"column": 8
},
"end": {
"line": 389,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 11848,
"end": 11863,
"loc": {
"start": {
"line": 389,
"column": 15
},
"end": {
"line": 389,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 11848,
"end": 11849,
"loc": {
"start": {
"line": 389,
"column": 15
},
"end": {
"line": 389,
"column": 16
},
"identifierName": "x"
},
"name": "x"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 11854,
"end": 11863,
"loc": {
"start": {
"line": 389,
"column": 21
},
"end": {
"line": 389,
"column": 30
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
{
"type": "StringLiteral",
"start": 11865,
"end": 11877,
"loc": {
"start": {
"line": 389,
"column": 32
},
"end": {
"line": 389,
"column": 44
}
},
"extra": {
"rawValue": "No x given",
"raw": "\"No x given\""
},
"value": "No x given"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 11889,
"end": 11927,
"loc": {
"start": {
"line": 390,
"column": 8
},
"end": {
"line": 390,
"column": 46
}
},
"expression": {
"type": "CallExpression",
"start": 11889,
"end": 11926,
"loc": {
"start": {
"line": 390,
"column": 8
},
"end": {
"line": 390,
"column": 45
}
},
"callee": {
"type": "Identifier",
"start": 11889,
"end": 11895,
"loc": {
"start": {
"line": 390,
"column": 8
},
"end": {
"line": 390,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 11896,
"end": 11911,
"loc": {
"start": {
"line": 390,
"column": 15
},
"end": {
"line": 390,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 11896,
"end": 11897,
"loc": {
"start": {
"line": 390,
"column": 15
},
"end": {
"line": 390,
"column": 16
},
"identifierName": "y"
},
"name": "y"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 11902,
"end": 11911,
"loc": {
"start": {
"line": 390,
"column": 21
},
"end": {
"line": 390,
"column": 30
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
{
"type": "StringLiteral",
"start": 11913,
"end": 11925,
"loc": {
"start": {
"line": 390,
"column": 32
},
"end": {
"line": 390,
"column": 44
}
},
"extra": {
"rawValue": "No y given",
"raw": "\"No y given\""
},
"value": "No y given"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 11937,
"end": 11979,
"loc": {
"start": {
"line": 391,
"column": 8
},
"end": {
"line": 391,
"column": 50
}
},
"expression": {
"type": "CallExpression",
"start": 11937,
"end": 11978,
"loc": {
"start": {
"line": 391,
"column": 8
},
"end": {
"line": 391,
"column": 49
}
},
"callee": {
"type": "Identifier",
"start": 11937,
"end": 11943,
"loc": {
"start": {
"line": 391,
"column": 8
},
"end": {
"line": 391,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 11944,
"end": 11959,
"loc": {
"start": {
"line": 391,
"column": 15
},
"end": {
"line": 391,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 11944,
"end": 11945,
"loc": {
"start": {
"line": 391,
"column": 15
},
"end": {
"line": 391,
"column": 16
},
"identifierName": "w"
},
"name": "w"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 11950,
"end": 11959,
"loc": {
"start": {
"line": 391,
"column": 21
},
"end": {
"line": 391,
"column": 30
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
{
"type": "StringLiteral",
"start": 11961,
"end": 11977,
"loc": {
"start": {
"line": 391,
"column": 32
},
"end": {
"line": 391,
"column": 48
}
},
"extra": {
"rawValue": "No width given",
"raw": "\"No width given\""
},
"value": "No width given"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 11989,
"end": 12032,
"loc": {
"start": {
"line": 392,
"column": 8
},
"end": {
"line": 392,
"column": 51
}
},
"expression": {
"type": "CallExpression",
"start": 11989,
"end": 12031,
"loc": {
"start": {
"line": 392,
"column": 8
},
"end": {
"line": 392,
"column": 50
}
},
"callee": {
"type": "Identifier",
"start": 11989,
"end": 11995,
"loc": {
"start": {
"line": 392,
"column": 8
},
"end": {
"line": 392,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 11996,
"end": 12011,
"loc": {
"start": {
"line": 392,
"column": 15
},
"end": {
"line": 392,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 11996,
"end": 11997,
"loc": {
"start": {
"line": 392,
"column": 15
},
"end": {
"line": 392,
"column": 16
},
"identifierName": "h"
},
"name": "h"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 12002,
"end": 12011,
"loc": {
"start": {
"line": 392,
"column": 21
},
"end": {
"line": 392,
"column": 30
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
{
"type": "StringLiteral",
"start": 12013,
"end": 12030,
"loc": {
"start": {
"line": 392,
"column": 32
},
"end": {
"line": 392,
"column": 49
}
},
"extra": {
"rawValue": "No height given",
"raw": "\"No height given\""
},
"value": "No height given"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 12042,
"end": 12101,
"loc": {
"start": {
"line": 393,
"column": 8
},
"end": {
"line": 393,
"column": 67
}
},
"expression": {
"type": "CallExpression",
"start": 12042,
"end": 12100,
"loc": {
"start": {
"line": 393,
"column": 8
},
"end": {
"line": 393,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 12042,
"end": 12059,
"loc": {
"start": {
"line": 393,
"column": 8
},
"end": {
"line": 393,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 12042,
"end": 12049,
"loc": {
"start": {
"line": 393,
"column": 8
},
"end": {
"line": 393,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 12050,
"end": 12059,
"loc": {
"start": {
"line": 393,
"column": 16
},
"end": {
"line": 393,
"column": 25
},
"identifierName": "drawImage"
},
"name": "drawImage"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 12060,
"end": 12071,
"loc": {
"start": {
"line": 393,
"column": 26
},
"end": {
"line": 393,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 12060,
"end": 12064,
"loc": {
"start": {
"line": 393,
"column": 26
},
"end": {
"line": 393,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 12065,
"end": 12071,
"loc": {
"start": {
"line": 393,
"column": 31
},
"end": {
"line": 393,
"column": 37
},
"identifierName": "sprite"
},
"name": "sprite"
},
"computed": false
},
{
"type": "BinaryExpression",
"start": 12073,
"end": 12082,
"loc": {
"start": {
"line": 393,
"column": 39
},
"end": {
"line": 393,
"column": 48
}
},
"left": {
"type": "Identifier",
"start": 12073,
"end": 12074,
"loc": {
"start": {
"line": 393,
"column": 39
},
"end": {
"line": 393,
"column": 40
},
"identifierName": "x"
},
"name": "x"
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 12077,
"end": 12082,
"loc": {
"start": {
"line": 393,
"column": 43
},
"end": {
"line": 393,
"column": 48
}
},
"left": {
"type": "Identifier",
"start": 12077,
"end": 12078,
"loc": {
"start": {
"line": 393,
"column": 43
},
"end": {
"line": 393,
"column": 44
},
"identifierName": "w"
},
"name": "w"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 12081,
"end": 12082,
"loc": {
"start": {
"line": 393,
"column": 47
},
"end": {
"line": 393,
"column": 48
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
}
},
{
"type": "BinaryExpression",
"start": 12084,
"end": 12093,
"loc": {
"start": {
"line": 393,
"column": 50
},
"end": {
"line": 393,
"column": 59
}
},
"left": {
"type": "Identifier",
"start": 12084,
"end": 12085,
"loc": {
"start": {
"line": 393,
"column": 50
},
"end": {
"line": 393,
"column": 51
},
"identifierName": "y"
},
"name": "y"
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 12088,
"end": 12093,
"loc": {
"start": {
"line": 393,
"column": 54
},
"end": {
"line": 393,
"column": 59
}
},
"left": {
"type": "Identifier",
"start": 12088,
"end": 12089,
"loc": {
"start": {
"line": 393,
"column": 54
},
"end": {
"line": 393,
"column": 55
},
"identifierName": "h"
},
"name": "h"
},
"operator": "/",
"right": {
"type": "NumericLiteral",
"start": 12092,
"end": 12093,
"loc": {
"start": {
"line": 393,
"column": 58
},
"end": {
"line": 393,
"column": 59
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
}
},
{
"type": "Identifier",
"start": 12095,
"end": 12096,
"loc": {
"start": {
"line": 393,
"column": 61
},
"end": {
"line": 393,
"column": 62
},
"identifierName": "w"
},
"name": "w"
},
{
"type": "Identifier",
"start": 12098,
"end": 12099,
"loc": {
"start": {
"line": 393,
"column": 64
},
"end": {
"line": 393,
"column": 65
},
"identifierName": "h"
},
"name": "h"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite, do *not* use this for sprites which are rendered! Only for drawing\r\n * images into buffers\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 11457,
"end": 11744,
"loc": {
"start": {
"line": 378,
"column": 4
},
"end": {
"line": 386,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the raw handle\r\n * @returns {HTMLImageElement|HTMLCanvasElement}\r\n ",
"start": 299,
"end": 396,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 14,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 475,
"end": 666,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 27,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " eslint-disable-line no-unused-vars",
"start": 709,
"end": 746,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 45
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Position of a sprite within an atlas\r\n ",
"start": 779,
"end": 828,
"loc": {
"start": {
"line": 34,
"column": 0
},
"end": {
"line": 36,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {object} param0\r\n * @param {number} param0.packedX\r\n * @param {number} param0.packedY\r\n * @param {number} param0.packOffsetX\r\n * @param {number} param0.packOffsetY\r\n * @param {number} param0.packedW\r\n * @param {number} param0.packedH\r\n * @param {number} param0.w\r\n * @param {number} param0.h\r\n * @param {HTMLImageElement|HTMLCanvasElement} param0.atlas\r\n ",
"start": 866,
"end": 1290,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {string} spriteName\r\n ",
"start": 1738,
"end": 1793,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Object.<string, SpriteAtlasLink>} ",
"start": 1863,
"end": 1910,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 55
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite onto a regular context using no contexts\r\n * @see {BaseSprite.draw}\r\n ",
"start": 2103,
"end": 2212,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 83,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} size\r\n * @param {boolean=} clipping\r\n ",
"start": 3184,
"end": 3363,
"loc": {
"start": {
"line": 121,
"column": 4
},
"end": {
"line": 128,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} size\r\n ",
"start": 3533,
"end": 3684,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 139,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite\r\n * @param {DrawParameters} parameters\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {boolean=} clipping Whether to perform culling\r\n ",
"start": 3809,
"end": 4055,
"loc": {
"start": {
"line": 144,
"column": 4
},
"end": {
"line": 152,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " atlas src pos",
"start": 5797,
"end": 5813,
"loc": {
"start": {
"line": 207,
"column": 12
},
"end": {
"line": 207,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " atlas src size",
"start": 5867,
"end": 5884,
"loc": {
"start": {
"line": 211,
"column": 12
},
"end": {
"line": 211,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " dest pos and size",
"start": 5938,
"end": 5958,
"loc": {
"start": {
"line": 215,
"column": 12
},
"end": {
"line": 215,
"column": 32
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws a subset of the sprite. Does NO culling\r\n * @param {DrawParameters} parameters\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {Rectangle=} clipRect The rectangle in local space (0 ... 1) to draw of the image\r\n ",
"start": 6112,
"end": 6422,
"loc": {
"start": {
"line": 223,
"column": 4
},
"end": {
"line": 231,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " atlas src pos",
"start": 7689,
"end": 7705,
"loc": {
"start": {
"line": 263,
"column": 12
},
"end": {
"line": 263,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " atlas src siize",
"start": 7759,
"end": 7777,
"loc": {
"start": {
"line": 267,
"column": 12
},
"end": {
"line": 267,
"column": 30
}
}
},
{
"type": "CommentLine",
"value": " dest pos and size",
"start": 7831,
"end": 7851,
"loc": {
"start": {
"line": 271,
"column": 12
},
"end": {
"line": 271,
"column": 32
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Renders into an html element\r\n * @param {HTMLElement} element\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 8005,
"end": 8143,
"loc": {
"start": {
"line": 279,
"column": 4
},
"end": {
"line": 284,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the html to render as icon\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 8305,
"end": 8412,
"loc": {
"start": {
"line": 290,
"column": 4
},
"end": {
"line": 294,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Find out how much we have to scale it so that it fits",
"start": 8500,
"end": 8556,
"loc": {
"start": {
"line": 298,
"column": 8
},
"end": {
"line": 298,
"column": 64
}
}
},
{
"type": "CommentLine",
"value": " Find out how big the scaled atlas is",
"start": 8640,
"end": 8679,
"loc": {
"start": {
"line": 302,
"column": 8
},
"end": {
"line": 302,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 8794,
"end": 8807,
"loc": {
"start": {
"line": 306,
"column": 8
},
"end": {
"line": 306,
"column": 21
}
}
},
{
"type": "CommentLine",
"value": " Find out how big we render the sprite",
"start": 8882,
"end": 8922,
"loc": {
"start": {
"line": 309,
"column": 8
},
"end": {
"line": 309,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " Compute the position in the relative container",
"start": 9043,
"end": 9092,
"loc": {
"start": {
"line": 313,
"column": 8
},
"end": {
"line": 313,
"column": 57
}
}
},
{
"type": "CommentLine",
"value": " Scale the atlas relative to the width and height of the element",
"start": 9331,
"end": 9397,
"loc": {
"start": {
"line": 319,
"column": 8
},
"end": {
"line": 319,
"column": 74
}
}
},
{
"type": "CommentLine",
"value": " Figure out what the position of the atlas is",
"start": 9500,
"end": 9547,
"loc": {
"start": {
"line": 323,
"column": 8
},
"end": {
"line": 323,
"column": 55
}
}
},
{
"type": "CommentLine",
"value": " Fuck you, whoever thought its a good idea to make background-position work like it does now",
"start": 9647,
"end": 9741,
"loc": {
"start": {
"line": 327,
"column": 8
},
"end": {
"line": 327,
"column": 102
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite, do *not* use this for sprites which are rendered! Only for drawing\r\n * images into buffers\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 10822,
"end": 11109,
"loc": {
"start": {
"line": 360,
"column": 4
},
"end": {
"line": 368,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite, do *not* use this for sprites which are rendered! Only for drawing\r\n * images into buffers\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 11457,
"end": 11744,
"loc": {
"start": {
"line": 378,
"column": 4
},
"end": {
"line": 386,
"column": 7
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DrawParameters",
"start": 9,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 24,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 26,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./draw_parameters",
"start": 31,
"end": 50,
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 50,
"end": 51,
"loc": {
"start": {
"line": 1,
"column": 50
},
"end": {
"line": 1,
"column": 51
}
}
},
{
"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": 53,
"end": 59,
"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": 60,
"end": 61,
"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": "Rectangle",
"start": 62,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 72,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 74,
"end": 78,
"loc": {
"start": {
"line": 2,
"column": 21
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./rectangle",
"start": 79,
"end": 92,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 92,
"end": 93,
"loc": {
"start": {
"line": 2,
"column": 39
},
"end": {
"line": 2,
"column": 40
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 95,
"end": 101,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 102,
"end": 103,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "round3Digits",
"start": 104,
"end": 116,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 117,
"end": 118,
"loc": {
"start": {
"line": 3,
"column": 22
},
"end": {
"line": 3,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 119,
"end": 123,
"loc": {
"start": {
"line": 3,
"column": 24
},
"end": {
"line": 3,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./utils",
"start": 124,
"end": 133,
"loc": {
"start": {
"line": 3,
"column": 29
},
"end": {
"line": 3,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 133,
"end": 134,
"loc": {
"start": {
"line": 3,
"column": 38
},
"end": {
"line": 3,
"column": 39
}
}
},
{
"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": 138,
"end": 144,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 145,
"end": 150,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ORIGINAL_SPRITE_SCALE",
"start": 151,
"end": 172,
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 173,
"end": 174,
"loc": {
"start": {
"line": 5,
"column": 35
},
"end": {
"line": 5,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "0.75",
"start": 175,
"end": 181,
"loc": {
"start": {
"line": 5,
"column": 37
},
"end": {
"line": 5,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 181,
"end": 182,
"loc": {
"start": {
"line": 5,
"column": 43
},
"end": {
"line": 5,
"column": 44
}
}
},
{
"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": 184,
"end": 190,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 191,
"end": 196,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "FULL_CLIP_RECT",
"start": 197,
"end": 211,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 212,
"end": 213,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 29
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 214,
"end": 217,
"loc": {
"start": {
"line": 6,
"column": 30
},
"end": {
"line": 6,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Rectangle",
"start": 218,
"end": 227,
"loc": {
"start": {
"line": 6,
"column": 34
},
"end": {
"line": 6,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 227,
"end": 228,
"loc": {
"start": {
"line": 6,
"column": 43
},
"end": {
"line": 6,
"column": 44
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 228,
"end": 229,
"loc": {
"start": {
"line": 6,
"column": 44
},
"end": {
"line": 6,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 229,
"end": 230,
"loc": {
"start": {
"line": 6,
"column": 45
},
"end": {
"line": 6,
"column": 46
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 231,
"end": 232,
"loc": {
"start": {
"line": 6,
"column": 47
},
"end": {
"line": 6,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 232,
"end": 233,
"loc": {
"start": {
"line": 6,
"column": 48
},
"end": {
"line": 6,
"column": 49
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 234,
"end": 235,
"loc": {
"start": {
"line": 6,
"column": 50
},
"end": {
"line": 6,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 235,
"end": 236,
"loc": {
"start": {
"line": 6,
"column": 51
},
"end": {
"line": 6,
"column": 52
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 237,
"end": 238,
"loc": {
"start": {
"line": 6,
"column": 53
},
"end": {
"line": 6,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 238,
"end": 239,
"loc": {
"start": {
"line": 6,
"column": 54
},
"end": {
"line": 6,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 239,
"end": 240,
"loc": {
"start": {
"line": 6,
"column": 55
},
"end": {
"line": 6,
"column": 56
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 244,
"end": 249,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "EXTRUDE",
"start": 250,
"end": 257,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 13
}
}
},
{
"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": 8,
"column": 14
},
"end": {
"line": 8,
"column": 15
}
}
},
{
"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": 260,
"end": 263,
"loc": {
"start": {
"line": 8,
"column": 16
},
"end": {
"line": 8,
"column": 19
}
}
},
{
"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": 8,
"column": 19
},
"end": {
"line": 8,
"column": 20
}
}
},
{
"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": 268,
"end": 274,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"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": 275,
"end": 280,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseSprite",
"start": 281,
"end": 291,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 292,
"end": 293,
"loc": {
"start": {
"line": 10,
"column": 24
},
"end": {
"line": 10,
"column": 25
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the raw handle\r\n * @returns {HTMLImageElement|HTMLCanvasElement}\r\n ",
"start": 299,
"end": 396,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 14,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getRawTexture",
"start": 402,
"end": 415,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 415,
"end": 416,
"loc": {
"start": {
"line": 15,
"column": 17
},
"end": {
"line": 15,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 416,
"end": 417,
"loc": {
"start": {
"line": 15,
"column": 18
},
"end": {
"line": 15,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 418,
"end": 419,
"loc": {
"start": {
"line": 15,
"column": 20
},
"end": {
"line": 15,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abstract",
"start": 429,
"end": 437,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 16
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 437,
"end": 438,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"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": 448,
"end": 454,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 14
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 455,
"end": 459,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 459,
"end": 460,
"loc": {
"start": {
"line": 17,
"column": 19
},
"end": {
"line": 17,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 466,
"end": 467,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 475,
"end": 666,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 27,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "draw",
"start": 672,
"end": 676,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 676,
"end": 677,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 677,
"end": 684,
"loc": {
"start": {
"line": 28,
"column": 9
},
"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": 684,
"end": 685,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 686,
"end": 687,
"loc": {
"start": {
"line": 28,
"column": 18
},
"end": {
"line": 28,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 687,
"end": 688,
"loc": {
"start": {
"line": 28,
"column": 19
},
"end": {
"line": 28,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 689,
"end": 690,
"loc": {
"start": {
"line": 28,
"column": 21
},
"end": {
"line": 28,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 690,
"end": 691,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 692,
"end": 693,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 28,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 693,
"end": 694,
"loc": {
"start": {
"line": 28,
"column": 25
},
"end": {
"line": 28,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 695,
"end": 696,
"loc": {
"start": {
"line": 28,
"column": 27
},
"end": {
"line": 28,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 696,
"end": 697,
"loc": {
"start": {
"line": 28,
"column": 28
},
"end": {
"line": 28,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 698,
"end": 699,
"loc": {
"start": {
"line": 28,
"column": 30
},
"end": {
"line": 28,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " eslint-disable-line no-unused-vars",
"start": 709,
"end": 746,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abstract",
"start": 756,
"end": 764,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 16
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 764,
"end": 765,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 771,
"end": 772,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 774,
"end": 775,
"loc": {
"start": {
"line": 32,
"column": 0
},
"end": {
"line": 32,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Position of a sprite within an atlas\r\n ",
"start": 779,
"end": 828,
"loc": {
"start": {
"line": 34,
"column": 0
},
"end": {
"line": 36,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 830,
"end": 836,
"loc": {
"start": {
"line": 37,
"column": 0
},
"end": {
"line": 37,
"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": 837,
"end": 842,
"loc": {
"start": {
"line": 37,
"column": 7
},
"end": {
"line": 37,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SpriteAtlasLink",
"start": 843,
"end": 858,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 859,
"end": 860,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 30
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {object} param0\r\n * @param {number} param0.packedX\r\n * @param {number} param0.packedY\r\n * @param {number} param0.packOffsetX\r\n * @param {number} param0.packOffsetY\r\n * @param {number} param0.packedW\r\n * @param {number} param0.packedH\r\n * @param {number} param0.w\r\n * @param {number} param0.h\r\n * @param {HTMLImageElement|HTMLCanvasElement} param0.atlas\r\n ",
"start": 866,
"end": 1290,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 1296,
"end": 1307,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1307,
"end": 1308,
"loc": {
"start": {
"line": 51,
"column": 15
},
"end": {
"line": 51,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1308,
"end": 1309,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 1310,
"end": 1311,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1311,
"end": 1312,
"loc": {
"start": {
"line": 51,
"column": 19
},
"end": {
"line": 51,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 51,
"column": 21
},
"end": {
"line": 51,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1314,
"end": 1315,
"loc": {
"start": {
"line": 51,
"column": 22
},
"end": {
"line": 51,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedX",
"start": 1316,
"end": 1323,
"loc": {
"start": {
"line": 51,
"column": 24
},
"end": {
"line": 51,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1323,
"end": 1324,
"loc": {
"start": {
"line": 51,
"column": 31
},
"end": {
"line": 51,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedY",
"start": 1325,
"end": 1332,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1332,
"end": 1333,
"loc": {
"start": {
"line": 51,
"column": 40
},
"end": {
"line": 51,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetX",
"start": 1334,
"end": 1345,
"loc": {
"start": {
"line": 51,
"column": 42
},
"end": {
"line": 51,
"column": 53
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1345,
"end": 1346,
"loc": {
"start": {
"line": 51,
"column": 53
},
"end": {
"line": 51,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetY",
"start": 1347,
"end": 1358,
"loc": {
"start": {
"line": 51,
"column": 55
},
"end": {
"line": 51,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1358,
"end": 1359,
"loc": {
"start": {
"line": 51,
"column": 66
},
"end": {
"line": 51,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedW",
"start": 1360,
"end": 1367,
"loc": {
"start": {
"line": 51,
"column": 68
},
"end": {
"line": 51,
"column": 75
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1367,
"end": 1368,
"loc": {
"start": {
"line": 51,
"column": 75
},
"end": {
"line": 51,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedH",
"start": 1369,
"end": 1376,
"loc": {
"start": {
"line": 51,
"column": 77
},
"end": {
"line": 51,
"column": 84
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1376,
"end": 1377,
"loc": {
"start": {
"line": 51,
"column": 84
},
"end": {
"line": 51,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlas",
"start": 1378,
"end": 1383,
"loc": {
"start": {
"line": 51,
"column": 86
},
"end": {
"line": 51,
"column": 91
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1384,
"end": 1385,
"loc": {
"start": {
"line": 51,
"column": 92
},
"end": {
"line": 51,
"column": 93
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1385,
"end": 1386,
"loc": {
"start": {
"line": 51,
"column": 93
},
"end": {
"line": 51,
"column": 94
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1387,
"end": 1388,
"loc": {
"start": {
"line": 51,
"column": 95
},
"end": {
"line": 51,
"column": 96
}
}
},
{
"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": 1398,
"end": 1402,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1402,
"end": 1403,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedX",
"start": 1403,
"end": 1410,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1411,
"end": 1412,
"loc": {
"start": {
"line": 52,
"column": 21
},
"end": {
"line": 52,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedX",
"start": 1413,
"end": 1420,
"loc": {
"start": {
"line": 52,
"column": 23
},
"end": {
"line": 52,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1420,
"end": 1421,
"loc": {
"start": {
"line": 52,
"column": 30
},
"end": {
"line": 52,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1431,
"end": 1435,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1435,
"end": 1436,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedY",
"start": 1436,
"end": 1443,
"loc": {
"start": {
"line": 53,
"column": 13
},
"end": {
"line": 53,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1444,
"end": 1445,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedY",
"start": 1446,
"end": 1453,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1453,
"end": 1454,
"loc": {
"start": {
"line": 53,
"column": 30
},
"end": {
"line": 53,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1464,
"end": 1468,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1468,
"end": 1469,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedW",
"start": 1469,
"end": 1476,
"loc": {
"start": {
"line": 54,
"column": 13
},
"end": {
"line": 54,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1477,
"end": 1478,
"loc": {
"start": {
"line": 54,
"column": 21
},
"end": {
"line": 54,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedW",
"start": 1479,
"end": 1486,
"loc": {
"start": {
"line": 54,
"column": 23
},
"end": {
"line": 54,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1486,
"end": 1487,
"loc": {
"start": {
"line": 54,
"column": 30
},
"end": {
"line": 54,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1497,
"end": 1501,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1501,
"end": 1502,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedH",
"start": 1502,
"end": 1509,
"loc": {
"start": {
"line": 55,
"column": 13
},
"end": {
"line": 55,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1510,
"end": 1511,
"loc": {
"start": {
"line": 55,
"column": 21
},
"end": {
"line": 55,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedH",
"start": 1512,
"end": 1519,
"loc": {
"start": {
"line": 55,
"column": 23
},
"end": {
"line": 55,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1519,
"end": 1520,
"loc": {
"start": {
"line": 55,
"column": 30
},
"end": {
"line": 55,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1530,
"end": 1534,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1534,
"end": 1535,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetX",
"start": 1535,
"end": 1546,
"loc": {
"start": {
"line": 56,
"column": 13
},
"end": {
"line": 56,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1547,
"end": 1548,
"loc": {
"start": {
"line": 56,
"column": 25
},
"end": {
"line": 56,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetX",
"start": 1549,
"end": 1560,
"loc": {
"start": {
"line": 56,
"column": 27
},
"end": {
"line": 56,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1560,
"end": 1561,
"loc": {
"start": {
"line": 56,
"column": 38
},
"end": {
"line": 56,
"column": 39
}
}
},
{
"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": 1571,
"end": 1575,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1575,
"end": 1576,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetY",
"start": 1576,
"end": 1587,
"loc": {
"start": {
"line": 57,
"column": 13
},
"end": {
"line": 57,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1588,
"end": 1589,
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 57,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetY",
"start": 1590,
"end": 1601,
"loc": {
"start": {
"line": 57,
"column": 27
},
"end": {
"line": 57,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1601,
"end": 1602,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 39
}
}
},
{
"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": 1612,
"end": 1616,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1616,
"end": 1617,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlas",
"start": 1617,
"end": 1622,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1623,
"end": 1624,
"loc": {
"start": {
"line": 58,
"column": 19
},
"end": {
"line": 58,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlas",
"start": 1625,
"end": 1630,
"loc": {
"start": {
"line": 58,
"column": 21
},
"end": {
"line": 58,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1630,
"end": 1631,
"loc": {
"start": {
"line": 58,
"column": 26
},
"end": {
"line": 58,
"column": 27
}
}
},
{
"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": 1641,
"end": 1645,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1645,
"end": 1646,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 1646,
"end": 1647,
"loc": {
"start": {
"line": 59,
"column": 13
},
"end": {
"line": 59,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1648,
"end": 1649,
"loc": {
"start": {
"line": 59,
"column": 15
},
"end": {
"line": 59,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 1650,
"end": 1651,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1651,
"end": 1652,
"loc": {
"start": {
"line": 59,
"column": 18
},
"end": {
"line": 59,
"column": 19
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1662,
"end": 1666,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1666,
"end": 1667,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 1667,
"end": 1668,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1669,
"end": 1670,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 1671,
"end": 1672,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1672,
"end": 1673,
"loc": {
"start": {
"line": 60,
"column": 18
},
"end": {
"line": 60,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1679,
"end": 1680,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1682,
"end": 1683,
"loc": {
"start": {
"line": 62,
"column": 0
},
"end": {
"line": 62,
"column": 1
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 1687,
"end": 1693,
"loc": {
"start": {
"line": 64,
"column": 0
},
"end": {
"line": 64,
"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": 1694,
"end": 1699,
"loc": {
"start": {
"line": 64,
"column": 7
},
"end": {
"line": 64,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "AtlasSprite",
"start": 1700,
"end": 1711,
"loc": {
"start": {
"line": 64,
"column": 13
},
"end": {
"line": 64,
"column": 24
}
}
},
{
"type": {
"label": "extends",
"keyword": "extends",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "extends",
"start": 1712,
"end": 1719,
"loc": {
"start": {
"line": 64,
"column": 25
},
"end": {
"line": 64,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseSprite",
"start": 1720,
"end": 1730,
"loc": {
"start": {
"line": 64,
"column": 33
},
"end": {
"line": 64,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1731,
"end": 1732,
"loc": {
"start": {
"line": 64,
"column": 44
},
"end": {
"line": 64,
"column": 45
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {string} spriteName\r\n ",
"start": 1738,
"end": 1793,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 1799,
"end": 1810,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1810,
"end": 1811,
"loc": {
"start": {
"line": 69,
"column": 15
},
"end": {
"line": 69,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "spriteName",
"start": 1811,
"end": 1821,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1822,
"end": 1823,
"loc": {
"start": {
"line": 69,
"column": 27
},
"end": {
"line": 69,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sprite",
"start": 1824,
"end": 1832,
"loc": {
"start": {
"line": 69,
"column": 29
},
"end": {
"line": 69,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1832,
"end": 1833,
"loc": {
"start": {
"line": 69,
"column": 37
},
"end": {
"line": 69,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1834,
"end": 1835,
"loc": {
"start": {
"line": 69,
"column": 39
},
"end": {
"line": 69,
"column": 40
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 1845,
"end": 1850,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1850,
"end": 1851,
"loc": {
"start": {
"line": 70,
"column": 13
},
"end": {
"line": 70,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1851,
"end": 1852,
"loc": {
"start": {
"line": 70,
"column": 14
},
"end": {
"line": 70,
"column": 15
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1852,
"end": 1853,
"loc": {
"start": {
"line": 70,
"column": 15
},
"end": {
"line": 70,
"column": 16
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Object.<string, SpriteAtlasLink>} ",
"start": 1863,
"end": 1910,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 55
}
}
},
{
"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": 1920,
"end": 1924,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1924,
"end": 1925,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "linksByResolution",
"start": 1925,
"end": 1942,
"loc": {
"start": {
"line": 72,
"column": 13
},
"end": {
"line": 72,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1943,
"end": 1944,
"loc": {
"start": {
"line": 72,
"column": 31
},
"end": {
"line": 72,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1945,
"end": 1946,
"loc": {
"start": {
"line": 72,
"column": 33
},
"end": {
"line": 72,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1946,
"end": 1947,
"loc": {
"start": {
"line": 72,
"column": 34
},
"end": {
"line": 72,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1947,
"end": 1948,
"loc": {
"start": {
"line": 72,
"column": 35
},
"end": {
"line": 72,
"column": 36
}
}
},
{
"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": 1958,
"end": 1962,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1962,
"end": 1963,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "spriteName",
"start": 1963,
"end": 1973,
"loc": {
"start": {
"line": 73,
"column": 13
},
"end": {
"line": 73,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1974,
"end": 1975,
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 73,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "spriteName",
"start": 1976,
"end": 1986,
"loc": {
"start": {
"line": 73,
"column": 26
},
"end": {
"line": 73,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1986,
"end": 1987,
"loc": {
"start": {
"line": 73,
"column": 36
},
"end": {
"line": 73,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1993,
"end": 1994,
"loc": {
"start": {
"line": 74,
"column": 4
},
"end": {
"line": 74,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getRawTexture",
"start": 2002,
"end": 2015,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2015,
"end": 2016,
"loc": {
"start": {
"line": 76,
"column": 17
},
"end": {
"line": 76,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2016,
"end": 2017,
"loc": {
"start": {
"line": 76,
"column": 18
},
"end": {
"line": 76,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2018,
"end": 2019,
"loc": {
"start": {
"line": 76,
"column": 20
},
"end": {
"line": 76,
"column": 21
}
}
},
{
"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": 2029,
"end": 2035,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 14
}
}
},
{
"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": 2036,
"end": 2040,
"loc": {
"start": {
"line": 77,
"column": 15
},
"end": {
"line": 77,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2040,
"end": 2041,
"loc": {
"start": {
"line": 77,
"column": 19
},
"end": {
"line": 77,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "linksByResolution",
"start": 2041,
"end": 2058,
"loc": {
"start": {
"line": 77,
"column": 20
},
"end": {
"line": 77,
"column": 37
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2058,
"end": 2059,
"loc": {
"start": {
"line": 77,
"column": 37
},
"end": {
"line": 77,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ORIGINAL_SPRITE_SCALE",
"start": 2059,
"end": 2080,
"loc": {
"start": {
"line": 77,
"column": 38
},
"end": {
"line": 77,
"column": 59
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2080,
"end": 2081,
"loc": {
"start": {
"line": 77,
"column": 59
},
"end": {
"line": 77,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2081,
"end": 2082,
"loc": {
"start": {
"line": 77,
"column": 60
},
"end": {
"line": 77,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlas",
"start": 2082,
"end": 2087,
"loc": {
"start": {
"line": 77,
"column": 61
},
"end": {
"line": 77,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2087,
"end": 2088,
"loc": {
"start": {
"line": 77,
"column": 66
},
"end": {
"line": 77,
"column": 67
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2094,
"end": 2095,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 78,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite onto a regular context using no contexts\r\n * @see {BaseSprite.draw}\r\n ",
"start": 2103,
"end": 2212,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 83,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "draw",
"start": 2218,
"end": 2222,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 84,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2222,
"end": 2223,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2223,
"end": 2230,
"loc": {
"start": {
"line": 84,
"column": 9
},
"end": {
"line": 84,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2230,
"end": 2231,
"loc": {
"start": {
"line": 84,
"column": 16
},
"end": {
"line": 84,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 2232,
"end": 2233,
"loc": {
"start": {
"line": 84,
"column": 18
},
"end": {
"line": 84,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2233,
"end": 2234,
"loc": {
"start": {
"line": 84,
"column": 19
},
"end": {
"line": 84,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2235,
"end": 2236,
"loc": {
"start": {
"line": 84,
"column": 21
},
"end": {
"line": 84,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2236,
"end": 2237,
"loc": {
"start": {
"line": 84,
"column": 22
},
"end": {
"line": 84,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 2238,
"end": 2239,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2239,
"end": 2240,
"loc": {
"start": {
"line": 84,
"column": 25
},
"end": {
"line": 84,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 2241,
"end": 2242,
"loc": {
"start": {
"line": 84,
"column": 27
},
"end": {
"line": 84,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2242,
"end": 2243,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2244,
"end": 2245,
"loc": {
"start": {
"line": 84,
"column": 30
},
"end": {
"line": 84,
"column": 31
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2255,
"end": 2257,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2258,
"end": 2259,
"loc": {
"start": {
"line": 85,
"column": 11
},
"end": {
"line": 85,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 2259,
"end": 2267,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2267,
"end": 2268,
"loc": {
"start": {
"line": 85,
"column": 20
},
"end": {
"line": 85,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2269,
"end": 2270,
"loc": {
"start": {
"line": 85,
"column": 22
},
"end": {
"line": 85,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 2284,
"end": 2290,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2290,
"end": 2291,
"loc": {
"start": {
"line": 86,
"column": 18
},
"end": {
"line": 86,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2291,
"end": 2298,
"loc": {
"start": {
"line": 86,
"column": 19
},
"end": {
"line": 86,
"column": 26
}
}
},
{
"type": {
"label": "instanceof",
"keyword": "instanceof",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "instanceof",
"start": 2299,
"end": 2309,
"loc": {
"start": {
"line": 86,
"column": 27
},
"end": {
"line": 86,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "CanvasRenderingContext2D",
"start": 2310,
"end": 2334,
"loc": {
"start": {
"line": 86,
"column": 38
},
"end": {
"line": 86,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2334,
"end": 2335,
"loc": {
"start": {
"line": 86,
"column": 62
},
"end": {
"line": 86,
"column": 63
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Not a valid context",
"start": 2336,
"end": 2357,
"loc": {
"start": {
"line": 86,
"column": 64
},
"end": {
"line": 86,
"column": 85
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2357,
"end": 2358,
"loc": {
"start": {
"line": 86,
"column": 85
},
"end": {
"line": 86,
"column": 86
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2358,
"end": 2359,
"loc": {
"start": {
"line": 86,
"column": 86
},
"end": {
"line": 86,
"column": 87
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2369,
"end": 2370,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 87,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2382,
"end": 2387,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 2388,
"end": 2392,
"loc": {
"start": {
"line": 89,
"column": 14
},
"end": {
"line": 89,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2393,
"end": 2394,
"loc": {
"start": {
"line": 89,
"column": 19
},
"end": {
"line": 89,
"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": 2395,
"end": 2399,
"loc": {
"start": {
"line": 89,
"column": 21
},
"end": {
"line": 89,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2399,
"end": 2400,
"loc": {
"start": {
"line": 89,
"column": 25
},
"end": {
"line": 89,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "linksByResolution",
"start": 2400,
"end": 2417,
"loc": {
"start": {
"line": 89,
"column": 26
},
"end": {
"line": 89,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2417,
"end": 2418,
"loc": {
"start": {
"line": 89,
"column": 43
},
"end": {
"line": 89,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ORIGINAL_SPRITE_SCALE",
"start": 2418,
"end": 2439,
"loc": {
"start": {
"line": 89,
"column": 44
},
"end": {
"line": 89,
"column": 65
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2439,
"end": 2440,
"loc": {
"start": {
"line": 89,
"column": 65
},
"end": {
"line": 89,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2440,
"end": 2441,
"loc": {
"start": {
"line": 89,
"column": 66
},
"end": {
"line": 89,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 2453,
"end": 2459,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2459,
"end": 2460,
"loc": {
"start": {
"line": 91,
"column": 14
},
"end": {
"line": 91,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 2474,
"end": 2478,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2478,
"end": 2479,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Link not known: ",
"start": 2493,
"end": 2511,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 30
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2512,
"end": 2513,
"loc": {
"start": {
"line": 93,
"column": 31
},
"end": {
"line": 93,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ORIGINAL_SPRITE_SCALE",
"start": 2531,
"end": 2552,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 94,
"column": 37
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2553,
"end": 2554,
"loc": {
"start": {
"line": 94,
"column": 38
},
"end": {
"line": 94,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " (having ",
"start": 2572,
"end": 2583,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 27
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2584,
"end": 2585,
"loc": {
"start": {
"line": 95,
"column": 28
},
"end": {
"line": 95,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Object",
"start": 2603,
"end": 2609,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2609,
"end": 2610,
"loc": {
"start": {
"line": 96,
"column": 22
},
"end": {
"line": 96,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keys",
"start": 2610,
"end": 2614,
"loc": {
"start": {
"line": 96,
"column": 23
},
"end": {
"line": 96,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2614,
"end": 2615,
"loc": {
"start": {
"line": 96,
"column": 27
},
"end": {
"line": 96,
"column": 28
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2615,
"end": 2619,
"loc": {
"start": {
"line": 96,
"column": 28
},
"end": {
"line": 96,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2619,
"end": 2620,
"loc": {
"start": {
"line": 96,
"column": 32
},
"end": {
"line": 96,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "linksByResolution",
"start": 2620,
"end": 2637,
"loc": {
"start": {
"line": 96,
"column": 33
},
"end": {
"line": 96,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2637,
"end": 2638,
"loc": {
"start": {
"line": 96,
"column": 50
},
"end": {
"line": 96,
"column": 51
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2639,
"end": 2640,
"loc": {
"start": {
"line": 96,
"column": 52
},
"end": {
"line": 96,
"column": 53
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 2658,
"end": 2661,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2671,
"end": 2672,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2672,
"end": 2673,
"loc": {
"start": {
"line": 98,
"column": 9
},
"end": {
"line": 98,
"column": 10
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2685,
"end": 2690,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "width",
"start": 2691,
"end": 2696,
"loc": {
"start": {
"line": 100,
"column": 14
},
"end": {
"line": 100,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2697,
"end": 2698,
"loc": {
"start": {
"line": 100,
"column": 20
},
"end": {
"line": 100,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 2699,
"end": 2700,
"loc": {
"start": {
"line": 100,
"column": 22
},
"end": {
"line": 100,
"column": 23
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 2701,
"end": 2703,
"loc": {
"start": {
"line": 100,
"column": 24
},
"end": {
"line": 100,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 2704,
"end": 2708,
"loc": {
"start": {
"line": 100,
"column": 27
},
"end": {
"line": 100,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2708,
"end": 2709,
"loc": {
"start": {
"line": 100,
"column": 31
},
"end": {
"line": 100,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 2709,
"end": 2710,
"loc": {
"start": {
"line": 100,
"column": 32
},
"end": {
"line": 100,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2710,
"end": 2711,
"loc": {
"start": {
"line": 100,
"column": 33
},
"end": {
"line": 100,
"column": 34
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2721,
"end": 2726,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "height",
"start": 2727,
"end": 2733,
"loc": {
"start": {
"line": 101,
"column": 14
},
"end": {
"line": 101,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2734,
"end": 2735,
"loc": {
"start": {
"line": 101,
"column": 21
},
"end": {
"line": 101,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 2736,
"end": 2737,
"loc": {
"start": {
"line": 101,
"column": 23
},
"end": {
"line": 101,
"column": 24
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 2738,
"end": 2740,
"loc": {
"start": {
"line": 101,
"column": 25
},
"end": {
"line": 101,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 2741,
"end": 2745,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2745,
"end": 2746,
"loc": {
"start": {
"line": 101,
"column": 32
},
"end": {
"line": 101,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 2746,
"end": 2747,
"loc": {
"start": {
"line": 101,
"column": 33
},
"end": {
"line": 101,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2747,
"end": 2748,
"loc": {
"start": {
"line": 101,
"column": 34
},
"end": {
"line": 101,
"column": 35
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2760,
"end": 2765,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleW",
"start": 2766,
"end": 2772,
"loc": {
"start": {
"line": 103,
"column": 14
},
"end": {
"line": 103,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2773,
"end": 2774,
"loc": {
"start": {
"line": 103,
"column": 21
},
"end": {
"line": 103,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "width",
"start": 2775,
"end": 2780,
"loc": {
"start": {
"line": 103,
"column": 23
},
"end": {
"line": 103,
"column": 28
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 2781,
"end": 2782,
"loc": {
"start": {
"line": 103,
"column": 29
},
"end": {
"line": 103,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 2783,
"end": 2787,
"loc": {
"start": {
"line": 103,
"column": 31
},
"end": {
"line": 103,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2787,
"end": 2788,
"loc": {
"start": {
"line": 103,
"column": 35
},
"end": {
"line": 103,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 2788,
"end": 2789,
"loc": {
"start": {
"line": 103,
"column": 36
},
"end": {
"line": 103,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2789,
"end": 2790,
"loc": {
"start": {
"line": 103,
"column": 37
},
"end": {
"line": 103,
"column": 38
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2800,
"end": 2805,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleH",
"start": 2806,
"end": 2812,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2813,
"end": 2814,
"loc": {
"start": {
"line": 104,
"column": 21
},
"end": {
"line": 104,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "height",
"start": 2815,
"end": 2821,
"loc": {
"start": {
"line": 104,
"column": 23
},
"end": {
"line": 104,
"column": 29
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 2822,
"end": 2823,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 2824,
"end": 2828,
"loc": {
"start": {
"line": 104,
"column": 32
},
"end": {
"line": 104,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2828,
"end": 2829,
"loc": {
"start": {
"line": 104,
"column": 36
},
"end": {
"line": 104,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 2829,
"end": 2830,
"loc": {
"start": {
"line": 104,
"column": 37
},
"end": {
"line": 104,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2830,
"end": 2831,
"loc": {
"start": {
"line": 104,
"column": 38
},
"end": {
"line": 104,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2843,
"end": 2850,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2850,
"end": 2851,
"loc": {
"start": {
"line": 106,
"column": 15
},
"end": {
"line": 106,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawImage",
"start": 2851,
"end": 2860,
"loc": {
"start": {
"line": 106,
"column": 16
},
"end": {
"line": 106,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2860,
"end": 2861,
"loc": {
"start": {
"line": 106,
"column": 25
},
"end": {
"line": 106,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 2875,
"end": 2879,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2879,
"end": 2880,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlas",
"start": 2880,
"end": 2885,
"loc": {
"start": {
"line": 107,
"column": 17
},
"end": {
"line": 107,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2885,
"end": 2886,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 2902,
"end": 2906,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2906,
"end": 2907,
"loc": {
"start": {
"line": 109,
"column": 16
},
"end": {
"line": 109,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedX",
"start": 2907,
"end": 2914,
"loc": {
"start": {
"line": 109,
"column": 17
},
"end": {
"line": 109,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2914,
"end": 2915,
"loc": {
"start": {
"line": 109,
"column": 24
},
"end": {
"line": 109,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 2929,
"end": 2933,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2933,
"end": 2934,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedY",
"start": 2934,
"end": 2941,
"loc": {
"start": {
"line": 110,
"column": 17
},
"end": {
"line": 110,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2941,
"end": 2942,
"loc": {
"start": {
"line": 110,
"column": 24
},
"end": {
"line": 110,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 2956,
"end": 2960,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2960,
"end": 2961,
"loc": {
"start": {
"line": 111,
"column": 16
},
"end": {
"line": 111,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedW",
"start": 2961,
"end": 2968,
"loc": {
"start": {
"line": 111,
"column": 17
},
"end": {
"line": 111,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2968,
"end": 2969,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 111,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 2983,
"end": 2987,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 112,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2987,
"end": 2988,
"loc": {
"start": {
"line": 112,
"column": 16
},
"end": {
"line": 112,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedH",
"start": 2988,
"end": 2995,
"loc": {
"start": {
"line": 112,
"column": 17
},
"end": {
"line": 112,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2995,
"end": 2996,
"loc": {
"start": {
"line": 112,
"column": 24
},
"end": {
"line": 112,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3012,
"end": 3013,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 13
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3014,
"end": 3015,
"loc": {
"start": {
"line": 114,
"column": 14
},
"end": {
"line": 114,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 3016,
"end": 3020,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3020,
"end": 3021,
"loc": {
"start": {
"line": 114,
"column": 20
},
"end": {
"line": 114,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetX",
"start": 3021,
"end": 3032,
"loc": {
"start": {
"line": 114,
"column": 21
},
"end": {
"line": 114,
"column": 32
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3033,
"end": 3034,
"loc": {
"start": {
"line": 114,
"column": 33
},
"end": {
"line": 114,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleW",
"start": 3035,
"end": 3041,
"loc": {
"start": {
"line": 114,
"column": 35
},
"end": {
"line": 114,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3041,
"end": 3042,
"loc": {
"start": {
"line": 114,
"column": 41
},
"end": {
"line": 114,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3056,
"end": 3057,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 13
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3058,
"end": 3059,
"loc": {
"start": {
"line": 115,
"column": 14
},
"end": {
"line": 115,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 3060,
"end": 3064,
"loc": {
"start": {
"line": 115,
"column": 16
},
"end": {
"line": 115,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3064,
"end": 3065,
"loc": {
"start": {
"line": 115,
"column": 20
},
"end": {
"line": 115,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetY",
"start": 3065,
"end": 3076,
"loc": {
"start": {
"line": 115,
"column": 21
},
"end": {
"line": 115,
"column": 32
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3077,
"end": 3078,
"loc": {
"start": {
"line": 115,
"column": 33
},
"end": {
"line": 115,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleH",
"start": 3079,
"end": 3085,
"loc": {
"start": {
"line": 115,
"column": 35
},
"end": {
"line": 115,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3085,
"end": 3086,
"loc": {
"start": {
"line": 115,
"column": 41
},
"end": {
"line": 115,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 3100,
"end": 3104,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3104,
"end": 3105,
"loc": {
"start": {
"line": 116,
"column": 16
},
"end": {
"line": 116,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedW",
"start": 3105,
"end": 3112,
"loc": {
"start": {
"line": 116,
"column": 17
},
"end": {
"line": 116,
"column": 24
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3113,
"end": 3114,
"loc": {
"start": {
"line": 116,
"column": 25
},
"end": {
"line": 116,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleW",
"start": 3115,
"end": 3121,
"loc": {
"start": {
"line": 116,
"column": 27
},
"end": {
"line": 116,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3121,
"end": 3122,
"loc": {
"start": {
"line": 116,
"column": 33
},
"end": {
"line": 116,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 3136,
"end": 3140,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3140,
"end": 3141,
"loc": {
"start": {
"line": 117,
"column": 16
},
"end": {
"line": 117,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedH",
"start": 3141,
"end": 3148,
"loc": {
"start": {
"line": 117,
"column": 17
},
"end": {
"line": 117,
"column": 24
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3149,
"end": 3150,
"loc": {
"start": {
"line": 117,
"column": 25
},
"end": {
"line": 117,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleH",
"start": 3151,
"end": 3157,
"loc": {
"start": {
"line": 117,
"column": 27
},
"end": {
"line": 117,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3167,
"end": 3168,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3168,
"end": 3169,
"loc": {
"start": {
"line": 118,
"column": 9
},
"end": {
"line": 118,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3175,
"end": 3176,
"loc": {
"start": {
"line": 119,
"column": 4
},
"end": {
"line": 119,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} size\r\n * @param {boolean=} clipping\r\n ",
"start": 3184,
"end": 3363,
"loc": {
"start": {
"line": 121,
"column": 4
},
"end": {
"line": 128,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawCachedCentered",
"start": 3369,
"end": 3387,
"loc": {
"start": {
"line": 129,
"column": 4
},
"end": {
"line": 129,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3387,
"end": 3388,
"loc": {
"start": {
"line": 129,
"column": 22
},
"end": {
"line": 129,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 3388,
"end": 3398,
"loc": {
"start": {
"line": 129,
"column": 23
},
"end": {
"line": 129,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3398,
"end": 3399,
"loc": {
"start": {
"line": 129,
"column": 33
},
"end": {
"line": 129,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3400,
"end": 3401,
"loc": {
"start": {
"line": 129,
"column": 35
},
"end": {
"line": 129,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3401,
"end": 3402,
"loc": {
"start": {
"line": 129,
"column": 36
},
"end": {
"line": 129,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3403,
"end": 3404,
"loc": {
"start": {
"line": 129,
"column": 38
},
"end": {
"line": 129,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3404,
"end": 3405,
"loc": {
"start": {
"line": 129,
"column": 39
},
"end": {
"line": 129,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 3406,
"end": 3410,
"loc": {
"start": {
"line": 129,
"column": 41
},
"end": {
"line": 129,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3410,
"end": 3411,
"loc": {
"start": {
"line": 129,
"column": 45
},
"end": {
"line": 129,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipping",
"start": 3412,
"end": 3420,
"loc": {
"start": {
"line": 129,
"column": 47
},
"end": {
"line": 129,
"column": 55
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3421,
"end": 3422,
"loc": {
"start": {
"line": 129,
"column": 56
},
"end": {
"line": 129,
"column": 57
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 3423,
"end": 3427,
"loc": {
"start": {
"line": 129,
"column": 58
},
"end": {
"line": 129,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3427,
"end": 3428,
"loc": {
"start": {
"line": 129,
"column": 62
},
"end": {
"line": 129,
"column": 63
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3429,
"end": 3430,
"loc": {
"start": {
"line": 129,
"column": 64
},
"end": {
"line": 129,
"column": 65
}
}
},
{
"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": 3440,
"end": 3444,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3444,
"end": 3445,
"loc": {
"start": {
"line": 130,
"column": 12
},
"end": {
"line": 130,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawCached",
"start": 3445,
"end": 3455,
"loc": {
"start": {
"line": 130,
"column": 13
},
"end": {
"line": 130,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3455,
"end": 3456,
"loc": {
"start": {
"line": 130,
"column": 23
},
"end": {
"line": 130,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 3456,
"end": 3466,
"loc": {
"start": {
"line": 130,
"column": 24
},
"end": {
"line": 130,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3466,
"end": 3467,
"loc": {
"start": {
"line": 130,
"column": 34
},
"end": {
"line": 130,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3468,
"end": 3469,
"loc": {
"start": {
"line": 130,
"column": 36
},
"end": {
"line": 130,
"column": 37
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3470,
"end": 3471,
"loc": {
"start": {
"line": 130,
"column": 38
},
"end": {
"line": 130,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 3472,
"end": 3476,
"loc": {
"start": {
"line": 130,
"column": 40
},
"end": {
"line": 130,
"column": 44
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 3477,
"end": 3478,
"loc": {
"start": {
"line": 130,
"column": 45
},
"end": {
"line": 130,
"column": 46
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 3479,
"end": 3480,
"loc": {
"start": {
"line": 130,
"column": 47
},
"end": {
"line": 130,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3480,
"end": 3481,
"loc": {
"start": {
"line": 130,
"column": 48
},
"end": {
"line": 130,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3482,
"end": 3483,
"loc": {
"start": {
"line": 130,
"column": 50
},
"end": {
"line": 130,
"column": 51
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3484,
"end": 3485,
"loc": {
"start": {
"line": 130,
"column": 52
},
"end": {
"line": 130,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 3486,
"end": 3490,
"loc": {
"start": {
"line": 130,
"column": 54
},
"end": {
"line": 130,
"column": 58
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 3491,
"end": 3492,
"loc": {
"start": {
"line": 130,
"column": 59
},
"end": {
"line": 130,
"column": 60
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 3493,
"end": 3494,
"loc": {
"start": {
"line": 130,
"column": 61
},
"end": {
"line": 130,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3494,
"end": 3495,
"loc": {
"start": {
"line": 130,
"column": 62
},
"end": {
"line": 130,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 3496,
"end": 3500,
"loc": {
"start": {
"line": 130,
"column": 64
},
"end": {
"line": 130,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3500,
"end": 3501,
"loc": {
"start": {
"line": 130,
"column": 68
},
"end": {
"line": 130,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 3502,
"end": 3506,
"loc": {
"start": {
"line": 130,
"column": 70
},
"end": {
"line": 130,
"column": 74
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3506,
"end": 3507,
"loc": {
"start": {
"line": 130,
"column": 74
},
"end": {
"line": 130,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipping",
"start": 3508,
"end": 3516,
"loc": {
"start": {
"line": 130,
"column": 76
},
"end": {
"line": 130,
"column": 84
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3516,
"end": 3517,
"loc": {
"start": {
"line": 130,
"column": 84
},
"end": {
"line": 130,
"column": 85
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3517,
"end": 3518,
"loc": {
"start": {
"line": 130,
"column": 85
},
"end": {
"line": 130,
"column": 86
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3524,
"end": 3525,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 131,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} size\r\n ",
"start": 3533,
"end": 3684,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 139,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawCentered",
"start": 3690,
"end": 3702,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3702,
"end": 3703,
"loc": {
"start": {
"line": 140,
"column": 16
},
"end": {
"line": 140,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3703,
"end": 3710,
"loc": {
"start": {
"line": 140,
"column": 17
},
"end": {
"line": 140,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3710,
"end": 3711,
"loc": {
"start": {
"line": 140,
"column": 24
},
"end": {
"line": 140,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3712,
"end": 3713,
"loc": {
"start": {
"line": 140,
"column": 26
},
"end": {
"line": 140,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3713,
"end": 3714,
"loc": {
"start": {
"line": 140,
"column": 27
},
"end": {
"line": 140,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3715,
"end": 3716,
"loc": {
"start": {
"line": 140,
"column": 29
},
"end": {
"line": 140,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3716,
"end": 3717,
"loc": {
"start": {
"line": 140,
"column": 30
},
"end": {
"line": 140,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 3718,
"end": 3722,
"loc": {
"start": {
"line": 140,
"column": 32
},
"end": {
"line": 140,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3722,
"end": 3723,
"loc": {
"start": {
"line": 140,
"column": 36
},
"end": {
"line": 140,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3724,
"end": 3725,
"loc": {
"start": {
"line": 140,
"column": 38
},
"end": {
"line": 140,
"column": 39
}
}
},
{
"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": 3735,
"end": 3739,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3739,
"end": 3740,
"loc": {
"start": {
"line": 141,
"column": 12
},
"end": {
"line": 141,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "draw",
"start": 3740,
"end": 3744,
"loc": {
"start": {
"line": 141,
"column": 13
},
"end": {
"line": 141,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3744,
"end": 3745,
"loc": {
"start": {
"line": 141,
"column": 17
},
"end": {
"line": 141,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3745,
"end": 3752,
"loc": {
"start": {
"line": 141,
"column": 18
},
"end": {
"line": 141,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3752,
"end": 3753,
"loc": {
"start": {
"line": 141,
"column": 25
},
"end": {
"line": 141,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3754,
"end": 3755,
"loc": {
"start": {
"line": 141,
"column": 27
},
"end": {
"line": 141,
"column": 28
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3756,
"end": 3757,
"loc": {
"start": {
"line": 141,
"column": 29
},
"end": {
"line": 141,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 3758,
"end": 3762,
"loc": {
"start": {
"line": 141,
"column": 31
},
"end": {
"line": 141,
"column": 35
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 3763,
"end": 3764,
"loc": {
"start": {
"line": 141,
"column": 36
},
"end": {
"line": 141,
"column": 37
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 3765,
"end": 3766,
"loc": {
"start": {
"line": 141,
"column": 38
},
"end": {
"line": 141,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3766,
"end": 3767,
"loc": {
"start": {
"line": 141,
"column": 39
},
"end": {
"line": 141,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3768,
"end": 3769,
"loc": {
"start": {
"line": 141,
"column": 41
},
"end": {
"line": 141,
"column": 42
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3770,
"end": 3771,
"loc": {
"start": {
"line": 141,
"column": 43
},
"end": {
"line": 141,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 3772,
"end": 3776,
"loc": {
"start": {
"line": 141,
"column": 45
},
"end": {
"line": 141,
"column": 49
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 3777,
"end": 3778,
"loc": {
"start": {
"line": 141,
"column": 50
},
"end": {
"line": 141,
"column": 51
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 3779,
"end": 3780,
"loc": {
"start": {
"line": 141,
"column": 52
},
"end": {
"line": 141,
"column": 53
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3780,
"end": 3781,
"loc": {
"start": {
"line": 141,
"column": 53
},
"end": {
"line": 141,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 3782,
"end": 3786,
"loc": {
"start": {
"line": 141,
"column": 55
},
"end": {
"line": 141,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3786,
"end": 3787,
"loc": {
"start": {
"line": 141,
"column": 59
},
"end": {
"line": 141,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 3788,
"end": 3792,
"loc": {
"start": {
"line": 141,
"column": 61
},
"end": {
"line": 141,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3792,
"end": 3793,
"loc": {
"start": {
"line": 141,
"column": 65
},
"end": {
"line": 141,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3793,
"end": 3794,
"loc": {
"start": {
"line": 141,
"column": 66
},
"end": {
"line": 141,
"column": 67
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3800,
"end": 3801,
"loc": {
"start": {
"line": 142,
"column": 4
},
"end": {
"line": 142,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite\r\n * @param {DrawParameters} parameters\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {boolean=} clipping Whether to perform culling\r\n ",
"start": 3809,
"end": 4055,
"loc": {
"start": {
"line": 144,
"column": 4
},
"end": {
"line": 152,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawCached",
"start": 4061,
"end": 4071,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 153,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4071,
"end": 4072,
"loc": {
"start": {
"line": 153,
"column": 14
},
"end": {
"line": 153,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4072,
"end": 4082,
"loc": {
"start": {
"line": 153,
"column": 15
},
"end": {
"line": 153,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4082,
"end": 4083,
"loc": {
"start": {
"line": 153,
"column": 25
},
"end": {
"line": 153,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 4084,
"end": 4085,
"loc": {
"start": {
"line": 153,
"column": 27
},
"end": {
"line": 153,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4085,
"end": 4086,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4087,
"end": 4088,
"loc": {
"start": {
"line": 153,
"column": 30
},
"end": {
"line": 153,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4088,
"end": 4089,
"loc": {
"start": {
"line": 153,
"column": 31
},
"end": {
"line": 153,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 4090,
"end": 4091,
"loc": {
"start": {
"line": 153,
"column": 33
},
"end": {
"line": 153,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4092,
"end": 4093,
"loc": {
"start": {
"line": 153,
"column": 35
},
"end": {
"line": 153,
"column": 36
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 4094,
"end": 4098,
"loc": {
"start": {
"line": 153,
"column": 37
},
"end": {
"line": 153,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4098,
"end": 4099,
"loc": {
"start": {
"line": 153,
"column": 41
},
"end": {
"line": 153,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 4100,
"end": 4101,
"loc": {
"start": {
"line": 153,
"column": 43
},
"end": {
"line": 153,
"column": 44
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4102,
"end": 4103,
"loc": {
"start": {
"line": 153,
"column": 45
},
"end": {
"line": 153,
"column": 46
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 4104,
"end": 4108,
"loc": {
"start": {
"line": 153,
"column": 47
},
"end": {
"line": 153,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4108,
"end": 4109,
"loc": {
"start": {
"line": 153,
"column": 51
},
"end": {
"line": 153,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipping",
"start": 4110,
"end": 4118,
"loc": {
"start": {
"line": 153,
"column": 53
},
"end": {
"line": 153,
"column": 61
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4119,
"end": 4120,
"loc": {
"start": {
"line": 153,
"column": 62
},
"end": {
"line": 153,
"column": 63
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 4121,
"end": 4125,
"loc": {
"start": {
"line": 153,
"column": 64
},
"end": {
"line": 153,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4125,
"end": 4126,
"loc": {
"start": {
"line": 153,
"column": 68
},
"end": {
"line": 153,
"column": 69
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4127,
"end": 4128,
"loc": {
"start": {
"line": 153,
"column": 70
},
"end": {
"line": 153,
"column": 71
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 4138,
"end": 4140,
"loc": {
"start": {
"line": 154,
"column": 8
},
"end": {
"line": 154,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4141,
"end": 4142,
"loc": {
"start": {
"line": 154,
"column": 11
},
"end": {
"line": 154,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 4142,
"end": 4150,
"loc": {
"start": {
"line": 154,
"column": 12
},
"end": {
"line": 154,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4150,
"end": 4151,
"loc": {
"start": {
"line": 154,
"column": 20
},
"end": {
"line": 154,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4152,
"end": 4153,
"loc": {
"start": {
"line": 154,
"column": 22
},
"end": {
"line": 154,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 4167,
"end": 4173,
"loc": {
"start": {
"line": 155,
"column": 12
},
"end": {
"line": 155,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4173,
"end": 4174,
"loc": {
"start": {
"line": 155,
"column": 18
},
"end": {
"line": 155,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4174,
"end": 4184,
"loc": {
"start": {
"line": 155,
"column": 19
},
"end": {
"line": 155,
"column": 29
}
}
},
{
"type": {
"label": "instanceof",
"keyword": "instanceof",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "instanceof",
"start": 4185,
"end": 4195,
"loc": {
"start": {
"line": 155,
"column": 30
},
"end": {
"line": 155,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DrawParameters",
"start": 4196,
"end": 4210,
"loc": {
"start": {
"line": 155,
"column": 41
},
"end": {
"line": 155,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4210,
"end": 4211,
"loc": {
"start": {
"line": 155,
"column": 55
},
"end": {
"line": 155,
"column": 56
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Not a valid context",
"start": 4212,
"end": 4233,
"loc": {
"start": {
"line": 155,
"column": 57
},
"end": {
"line": 155,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4233,
"end": 4234,
"loc": {
"start": {
"line": 155,
"column": 78
},
"end": {
"line": 155,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4234,
"end": 4235,
"loc": {
"start": {
"line": 155,
"column": 79
},
"end": {
"line": 155,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 4249,
"end": 4255,
"loc": {
"start": {
"line": 156,
"column": 12
},
"end": {
"line": 156,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4255,
"end": 4256,
"loc": {
"start": {
"line": 156,
"column": 18
},
"end": {
"line": 156,
"column": 19
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 4256,
"end": 4257,
"loc": {
"start": {
"line": 156,
"column": 19
},
"end": {
"line": 156,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 4257,
"end": 4258,
"loc": {
"start": {
"line": 156,
"column": 20
},
"end": {
"line": 156,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 4258,
"end": 4259,
"loc": {
"start": {
"line": 156,
"column": 21
},
"end": {
"line": 156,
"column": 22
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 4260,
"end": 4262,
"loc": {
"start": {
"line": 156,
"column": 23
},
"end": {
"line": 156,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 4263,
"end": 4264,
"loc": {
"start": {
"line": 156,
"column": 26
},
"end": {
"line": 156,
"column": 27
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 4265,
"end": 4266,
"loc": {
"start": {
"line": 156,
"column": 28
},
"end": {
"line": 156,
"column": 29
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4267,
"end": 4268,
"loc": {
"start": {
"line": 156,
"column": 30
},
"end": {
"line": 156,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4268,
"end": 4269,
"loc": {
"start": {
"line": 156,
"column": 31
},
"end": {
"line": 156,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Not a valid width:",
"start": 4270,
"end": 4290,
"loc": {
"start": {
"line": 156,
"column": 33
},
"end": {
"line": 156,
"column": 53
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4291,
"end": 4292,
"loc": {
"start": {
"line": 156,
"column": 54
},
"end": {
"line": 156,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 4293,
"end": 4294,
"loc": {
"start": {
"line": 156,
"column": 56
},
"end": {
"line": 156,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4294,
"end": 4295,
"loc": {
"start": {
"line": 156,
"column": 57
},
"end": {
"line": 156,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4295,
"end": 4296,
"loc": {
"start": {
"line": 156,
"column": 58
},
"end": {
"line": 156,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 4310,
"end": 4316,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4316,
"end": 4317,
"loc": {
"start": {
"line": 157,
"column": 18
},
"end": {
"line": 157,
"column": 19
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 4317,
"end": 4318,
"loc": {
"start": {
"line": 157,
"column": 19
},
"end": {
"line": 157,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 4318,
"end": 4319,
"loc": {
"start": {
"line": 157,
"column": 20
},
"end": {
"line": 157,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 4319,
"end": 4320,
"loc": {
"start": {
"line": 157,
"column": 21
},
"end": {
"line": 157,
"column": 22
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 4321,
"end": 4323,
"loc": {
"start": {
"line": 157,
"column": 23
},
"end": {
"line": 157,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 4324,
"end": 4325,
"loc": {
"start": {
"line": 157,
"column": 26
},
"end": {
"line": 157,
"column": 27
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 4326,
"end": 4327,
"loc": {
"start": {
"line": 157,
"column": 28
},
"end": {
"line": 157,
"column": 29
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4328,
"end": 4329,
"loc": {
"start": {
"line": 157,
"column": 30
},
"end": {
"line": 157,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4329,
"end": 4330,
"loc": {
"start": {
"line": 157,
"column": 31
},
"end": {
"line": 157,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Not a valid height:",
"start": 4331,
"end": 4352,
"loc": {
"start": {
"line": 157,
"column": 33
},
"end": {
"line": 157,
"column": 54
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4353,
"end": 4354,
"loc": {
"start": {
"line": 157,
"column": 55
},
"end": {
"line": 157,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 4355,
"end": 4356,
"loc": {
"start": {
"line": 157,
"column": 57
},
"end": {
"line": 157,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4356,
"end": 4357,
"loc": {
"start": {
"line": 157,
"column": 58
},
"end": {
"line": 157,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4357,
"end": 4358,
"loc": {
"start": {
"line": 157,
"column": 59
},
"end": {
"line": 157,
"column": 60
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4368,
"end": 4369,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4381,
"end": 4386,
"loc": {
"start": {
"line": 160,
"column": 8
},
"end": {
"line": 160,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleRect",
"start": 4387,
"end": 4398,
"loc": {
"start": {
"line": 160,
"column": 14
},
"end": {
"line": 160,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4399,
"end": 4400,
"loc": {
"start": {
"line": 160,
"column": 26
},
"end": {
"line": 160,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4401,
"end": 4411,
"loc": {
"start": {
"line": 160,
"column": 28
},
"end": {
"line": 160,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4411,
"end": 4412,
"loc": {
"start": {
"line": 160,
"column": 38
},
"end": {
"line": 160,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleRect",
"start": 4412,
"end": 4423,
"loc": {
"start": {
"line": 160,
"column": 39
},
"end": {
"line": 160,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4423,
"end": 4424,
"loc": {
"start": {
"line": 160,
"column": 50
},
"end": {
"line": 160,
"column": 51
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4436,
"end": 4441,
"loc": {
"start": {
"line": 162,
"column": 8
},
"end": {
"line": 162,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 4442,
"end": 4447,
"loc": {
"start": {
"line": 162,
"column": 14
},
"end": {
"line": 162,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4448,
"end": 4449,
"loc": {
"start": {
"line": 162,
"column": 20
},
"end": {
"line": 162,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4450,
"end": 4460,
"loc": {
"start": {
"line": 162,
"column": 22
},
"end": {
"line": 162,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4460,
"end": 4461,
"loc": {
"start": {
"line": 162,
"column": 32
},
"end": {
"line": 162,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "desiredAtlasScale",
"start": 4461,
"end": 4478,
"loc": {
"start": {
"line": 162,
"column": 33
},
"end": {
"line": 162,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4478,
"end": 4479,
"loc": {
"start": {
"line": 162,
"column": 50
},
"end": {
"line": 162,
"column": 51
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4489,
"end": 4494,
"loc": {
"start": {
"line": 163,
"column": 8
},
"end": {
"line": 163,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 4495,
"end": 4499,
"loc": {
"start": {
"line": 163,
"column": 14
},
"end": {
"line": 163,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4500,
"end": 4501,
"loc": {
"start": {
"line": 163,
"column": 19
},
"end": {
"line": 163,
"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": 4502,
"end": 4506,
"loc": {
"start": {
"line": 163,
"column": 21
},
"end": {
"line": 163,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4506,
"end": 4507,
"loc": {
"start": {
"line": 163,
"column": 25
},
"end": {
"line": 163,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "linksByResolution",
"start": 4507,
"end": 4524,
"loc": {
"start": {
"line": 163,
"column": 26
},
"end": {
"line": 163,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4524,
"end": 4525,
"loc": {
"start": {
"line": 163,
"column": 43
},
"end": {
"line": 163,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 4525,
"end": 4530,
"loc": {
"start": {
"line": 163,
"column": 44
},
"end": {
"line": 163,
"column": 49
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4530,
"end": 4531,
"loc": {
"start": {
"line": 163,
"column": 49
},
"end": {
"line": 163,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4531,
"end": 4532,
"loc": {
"start": {
"line": 163,
"column": 50
},
"end": {
"line": 163,
"column": 51
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 4544,
"end": 4546,
"loc": {
"start": {
"line": 165,
"column": 8
},
"end": {
"line": 165,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4547,
"end": 4548,
"loc": {
"start": {
"line": 165,
"column": 11
},
"end": {
"line": 165,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 4548,
"end": 4549,
"loc": {
"start": {
"line": 165,
"column": 12
},
"end": {
"line": 165,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 4549,
"end": 4553,
"loc": {
"start": {
"line": 165,
"column": 13
},
"end": {
"line": 165,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4553,
"end": 4554,
"loc": {
"start": {
"line": 165,
"column": 17
},
"end": {
"line": 165,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4555,
"end": 4556,
"loc": {
"start": {
"line": 165,
"column": 19
},
"end": {
"line": 165,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 4570,
"end": 4576,
"loc": {
"start": {
"line": 166,
"column": 12
},
"end": {
"line": 166,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4576,
"end": 4577,
"loc": {
"start": {
"line": 166,
"column": 18
},
"end": {
"line": 166,
"column": 19
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 4577,
"end": 4582,
"loc": {
"start": {
"line": 166,
"column": 19
},
"end": {
"line": 166,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4582,
"end": 4583,
"loc": {
"start": {
"line": 166,
"column": 24
},
"end": {
"line": 166,
"column": 25
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4584,
"end": 4585,
"loc": {
"start": {
"line": 166,
"column": 26
},
"end": {
"line": 166,
"column": 27
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Link not known: ",
"start": 4585,
"end": 4601,
"loc": {
"start": {
"line": 166,
"column": 27
},
"end": {
"line": 166,
"column": 43
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4601,
"end": 4603,
"loc": {
"start": {
"line": 166,
"column": 43
},
"end": {
"line": 166,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 4603,
"end": 4608,
"loc": {
"start": {
"line": 166,
"column": 45
},
"end": {
"line": 166,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4608,
"end": 4609,
"loc": {
"start": {
"line": 166,
"column": 50
},
"end": {
"line": 166,
"column": 51
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " (having ",
"start": 4609,
"end": 4618,
"loc": {
"start": {
"line": 166,
"column": 51
},
"end": {
"line": 166,
"column": 60
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4618,
"end": 4620,
"loc": {
"start": {
"line": 166,
"column": 60
},
"end": {
"line": 166,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Object",
"start": 4620,
"end": 4626,
"loc": {
"start": {
"line": 166,
"column": 62
},
"end": {
"line": 166,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4626,
"end": 4627,
"loc": {
"start": {
"line": 166,
"column": 68
},
"end": {
"line": 166,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keys",
"start": 4627,
"end": 4631,
"loc": {
"start": {
"line": 166,
"column": 69
},
"end": {
"line": 166,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4631,
"end": 4632,
"loc": {
"start": {
"line": 166,
"column": 73
},
"end": {
"line": 166,
"column": 74
}
}
},
{
"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": 4632,
"end": 4636,
"loc": {
"start": {
"line": 166,
"column": 74
},
"end": {
"line": 166,
"column": 78
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4636,
"end": 4637,
"loc": {
"start": {
"line": 166,
"column": 78
},
"end": {
"line": 166,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "linksByResolution",
"start": 4637,
"end": 4654,
"loc": {
"start": {
"line": 166,
"column": 79
},
"end": {
"line": 166,
"column": 96
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4654,
"end": 4655,
"loc": {
"start": {
"line": 166,
"column": 96
},
"end": {
"line": 166,
"column": 97
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4655,
"end": 4656,
"loc": {
"start": {
"line": 166,
"column": 97
},
"end": {
"line": 166,
"column": 98
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 4656,
"end": 4657,
"loc": {
"start": {
"line": 166,
"column": 98
},
"end": {
"line": 166,
"column": 99
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4657,
"end": 4658,
"loc": {
"start": {
"line": 166,
"column": 99
},
"end": {
"line": 166,
"column": 100
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4658,
"end": 4659,
"loc": {
"start": {
"line": 166,
"column": 100
},
"end": {
"line": 166,
"column": 101
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4659,
"end": 4660,
"loc": {
"start": {
"line": 166,
"column": 101
},
"end": {
"line": 166,
"column": 102
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4670,
"end": 4671,
"loc": {
"start": {
"line": 167,
"column": 8
},
"end": {
"line": 167,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4683,
"end": 4688,
"loc": {
"start": {
"line": 169,
"column": 8
},
"end": {
"line": 169,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleW",
"start": 4689,
"end": 4695,
"loc": {
"start": {
"line": 169,
"column": 14
},
"end": {
"line": 169,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4696,
"end": 4697,
"loc": {
"start": {
"line": 169,
"column": 21
},
"end": {
"line": 169,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 4698,
"end": 4699,
"loc": {
"start": {
"line": 169,
"column": 23
},
"end": {
"line": 169,
"column": 24
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 4700,
"end": 4701,
"loc": {
"start": {
"line": 169,
"column": 25
},
"end": {
"line": 169,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 4702,
"end": 4706,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4706,
"end": 4707,
"loc": {
"start": {
"line": 169,
"column": 31
},
"end": {
"line": 169,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 4707,
"end": 4708,
"loc": {
"start": {
"line": 169,
"column": 32
},
"end": {
"line": 169,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4708,
"end": 4709,
"loc": {
"start": {
"line": 169,
"column": 33
},
"end": {
"line": 169,
"column": 34
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4719,
"end": 4724,
"loc": {
"start": {
"line": 170,
"column": 8
},
"end": {
"line": 170,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleH",
"start": 4725,
"end": 4731,
"loc": {
"start": {
"line": 170,
"column": 14
},
"end": {
"line": 170,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4732,
"end": 4733,
"loc": {
"start": {
"line": 170,
"column": 21
},
"end": {
"line": 170,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 4734,
"end": 4735,
"loc": {
"start": {
"line": 170,
"column": 23
},
"end": {
"line": 170,
"column": 24
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 4736,
"end": 4737,
"loc": {
"start": {
"line": 170,
"column": 25
},
"end": {
"line": 170,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 4738,
"end": 4742,
"loc": {
"start": {
"line": 170,
"column": 27
},
"end": {
"line": 170,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4742,
"end": 4743,
"loc": {
"start": {
"line": 170,
"column": 31
},
"end": {
"line": 170,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 4743,
"end": 4744,
"loc": {
"start": {
"line": 170,
"column": 32
},
"end": {
"line": 170,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4744,
"end": 4745,
"loc": {
"start": {
"line": 170,
"column": 33
},
"end": {
"line": 170,
"column": 34
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 4757,
"end": 4760,
"loc": {
"start": {
"line": 172,
"column": 8
},
"end": {
"line": 172,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destX",
"start": 4761,
"end": 4766,
"loc": {
"start": {
"line": 172,
"column": 12
},
"end": {
"line": 172,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4767,
"end": 4768,
"loc": {
"start": {
"line": 172,
"column": 18
},
"end": {
"line": 172,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 4769,
"end": 4770,
"loc": {
"start": {
"line": 172,
"column": 20
},
"end": {
"line": 172,
"column": 21
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4771,
"end": 4772,
"loc": {
"start": {
"line": 172,
"column": 22
},
"end": {
"line": 172,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 4773,
"end": 4777,
"loc": {
"start": {
"line": 172,
"column": 24
},
"end": {
"line": 172,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4777,
"end": 4778,
"loc": {
"start": {
"line": 172,
"column": 28
},
"end": {
"line": 172,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetX",
"start": 4778,
"end": 4789,
"loc": {
"start": {
"line": 172,
"column": 29
},
"end": {
"line": 172,
"column": 40
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 4790,
"end": 4791,
"loc": {
"start": {
"line": 172,
"column": 41
},
"end": {
"line": 172,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleW",
"start": 4792,
"end": 4798,
"loc": {
"start": {
"line": 172,
"column": 43
},
"end": {
"line": 172,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4798,
"end": 4799,
"loc": {
"start": {
"line": 172,
"column": 49
},
"end": {
"line": 172,
"column": 50
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 4809,
"end": 4812,
"loc": {
"start": {
"line": 173,
"column": 8
},
"end": {
"line": 173,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destY",
"start": 4813,
"end": 4818,
"loc": {
"start": {
"line": 173,
"column": 12
},
"end": {
"line": 173,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4819,
"end": 4820,
"loc": {
"start": {
"line": 173,
"column": 18
},
"end": {
"line": 173,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4821,
"end": 4822,
"loc": {
"start": {
"line": 173,
"column": 20
},
"end": {
"line": 173,
"column": 21
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4823,
"end": 4824,
"loc": {
"start": {
"line": 173,
"column": 22
},
"end": {
"line": 173,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 4825,
"end": 4829,
"loc": {
"start": {
"line": 173,
"column": 24
},
"end": {
"line": 173,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4829,
"end": 4830,
"loc": {
"start": {
"line": 173,
"column": 28
},
"end": {
"line": 173,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetY",
"start": 4830,
"end": 4841,
"loc": {
"start": {
"line": 173,
"column": 29
},
"end": {
"line": 173,
"column": 40
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 4842,
"end": 4843,
"loc": {
"start": {
"line": 173,
"column": 41
},
"end": {
"line": 173,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleH",
"start": 4844,
"end": 4850,
"loc": {
"start": {
"line": 173,
"column": 43
},
"end": {
"line": 173,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4850,
"end": 4851,
"loc": {
"start": {
"line": 173,
"column": 49
},
"end": {
"line": 173,
"column": 50
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 4861,
"end": 4864,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destW",
"start": 4865,
"end": 4870,
"loc": {
"start": {
"line": 174,
"column": 12
},
"end": {
"line": 174,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4871,
"end": 4872,
"loc": {
"start": {
"line": 174,
"column": 18
},
"end": {
"line": 174,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 4873,
"end": 4877,
"loc": {
"start": {
"line": 174,
"column": 20
},
"end": {
"line": 174,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4877,
"end": 4878,
"loc": {
"start": {
"line": 174,
"column": 24
},
"end": {
"line": 174,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedW",
"start": 4878,
"end": 4885,
"loc": {
"start": {
"line": 174,
"column": 25
},
"end": {
"line": 174,
"column": 32
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 4886,
"end": 4887,
"loc": {
"start": {
"line": 174,
"column": 33
},
"end": {
"line": 174,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleW",
"start": 4888,
"end": 4894,
"loc": {
"start": {
"line": 174,
"column": 35
},
"end": {
"line": 174,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4894,
"end": 4895,
"loc": {
"start": {
"line": 174,
"column": 41
},
"end": {
"line": 174,
"column": 42
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 4905,
"end": 4908,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destH",
"start": 4909,
"end": 4914,
"loc": {
"start": {
"line": 175,
"column": 12
},
"end": {
"line": 175,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4915,
"end": 4916,
"loc": {
"start": {
"line": 175,
"column": 18
},
"end": {
"line": 175,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 4917,
"end": 4921,
"loc": {
"start": {
"line": 175,
"column": 20
},
"end": {
"line": 175,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4921,
"end": 4922,
"loc": {
"start": {
"line": 175,
"column": 24
},
"end": {
"line": 175,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedH",
"start": 4922,
"end": 4929,
"loc": {
"start": {
"line": 175,
"column": 25
},
"end": {
"line": 175,
"column": 32
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 4930,
"end": 4931,
"loc": {
"start": {
"line": 175,
"column": 33
},
"end": {
"line": 175,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleH",
"start": 4932,
"end": 4938,
"loc": {
"start": {
"line": 175,
"column": 35
},
"end": {
"line": 175,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4938,
"end": 4939,
"loc": {
"start": {
"line": 175,
"column": 41
},
"end": {
"line": 175,
"column": 42
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 4951,
"end": 4954,
"loc": {
"start": {
"line": 177,
"column": 8
},
"end": {
"line": 177,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcX",
"start": 4955,
"end": 4959,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4960,
"end": 4961,
"loc": {
"start": {
"line": 177,
"column": 17
},
"end": {
"line": 177,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 4962,
"end": 4966,
"loc": {
"start": {
"line": 177,
"column": 19
},
"end": {
"line": 177,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4966,
"end": 4967,
"loc": {
"start": {
"line": 177,
"column": 23
},
"end": {
"line": 177,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedX",
"start": 4967,
"end": 4974,
"loc": {
"start": {
"line": 177,
"column": 24
},
"end": {
"line": 177,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4974,
"end": 4975,
"loc": {
"start": {
"line": 177,
"column": 31
},
"end": {
"line": 177,
"column": 32
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 4985,
"end": 4988,
"loc": {
"start": {
"line": 178,
"column": 8
},
"end": {
"line": 178,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcY",
"start": 4989,
"end": 4993,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4994,
"end": 4995,
"loc": {
"start": {
"line": 178,
"column": 17
},
"end": {
"line": 178,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 4996,
"end": 5000,
"loc": {
"start": {
"line": 178,
"column": 19
},
"end": {
"line": 178,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5000,
"end": 5001,
"loc": {
"start": {
"line": 178,
"column": 23
},
"end": {
"line": 178,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedY",
"start": 5001,
"end": 5008,
"loc": {
"start": {
"line": 178,
"column": 24
},
"end": {
"line": 178,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5008,
"end": 5009,
"loc": {
"start": {
"line": 178,
"column": 31
},
"end": {
"line": 178,
"column": 32
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 5019,
"end": 5022,
"loc": {
"start": {
"line": 179,
"column": 8
},
"end": {
"line": 179,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcW",
"start": 5023,
"end": 5027,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5028,
"end": 5029,
"loc": {
"start": {
"line": 179,
"column": 17
},
"end": {
"line": 179,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 5030,
"end": 5034,
"loc": {
"start": {
"line": 179,
"column": 19
},
"end": {
"line": 179,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5034,
"end": 5035,
"loc": {
"start": {
"line": 179,
"column": 23
},
"end": {
"line": 179,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedW",
"start": 5035,
"end": 5042,
"loc": {
"start": {
"line": 179,
"column": 24
},
"end": {
"line": 179,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5042,
"end": 5043,
"loc": {
"start": {
"line": 179,
"column": 31
},
"end": {
"line": 179,
"column": 32
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 5053,
"end": 5056,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcH",
"start": 5057,
"end": 5061,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 180,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5062,
"end": 5063,
"loc": {
"start": {
"line": 180,
"column": 17
},
"end": {
"line": 180,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 5064,
"end": 5068,
"loc": {
"start": {
"line": 180,
"column": 19
},
"end": {
"line": 180,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5068,
"end": 5069,
"loc": {
"start": {
"line": 180,
"column": 23
},
"end": {
"line": 180,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedH",
"start": 5069,
"end": 5076,
"loc": {
"start": {
"line": 180,
"column": 24
},
"end": {
"line": 180,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5076,
"end": 5077,
"loc": {
"start": {
"line": 180,
"column": 31
},
"end": {
"line": 180,
"column": 32
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 5089,
"end": 5092,
"loc": {
"start": {
"line": 182,
"column": 8
},
"end": {
"line": 182,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "intersection",
"start": 5093,
"end": 5105,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5106,
"end": 5107,
"loc": {
"start": {
"line": 182,
"column": 25
},
"end": {
"line": 182,
"column": 26
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 5108,
"end": 5112,
"loc": {
"start": {
"line": 182,
"column": 27
},
"end": {
"line": 182,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5112,
"end": 5113,
"loc": {
"start": {
"line": 182,
"column": 31
},
"end": {
"line": 182,
"column": 32
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5125,
"end": 5127,
"loc": {
"start": {
"line": 184,
"column": 8
},
"end": {
"line": 184,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5128,
"end": 5129,
"loc": {
"start": {
"line": 184,
"column": 11
},
"end": {
"line": 184,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipping",
"start": 5129,
"end": 5137,
"loc": {
"start": {
"line": 184,
"column": 12
},
"end": {
"line": 184,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5137,
"end": 5138,
"loc": {
"start": {
"line": 184,
"column": 20
},
"end": {
"line": 184,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5139,
"end": 5140,
"loc": {
"start": {
"line": 184,
"column": 22
},
"end": {
"line": 184,
"column": 23
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 5154,
"end": 5159,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 5160,
"end": 5164,
"loc": {
"start": {
"line": 185,
"column": 18
},
"end": {
"line": 185,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5165,
"end": 5166,
"loc": {
"start": {
"line": 185,
"column": 23
},
"end": {
"line": 185,
"column": 24
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 5167,
"end": 5170,
"loc": {
"start": {
"line": 185,
"column": 25
},
"end": {
"line": 185,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Rectangle",
"start": 5171,
"end": 5180,
"loc": {
"start": {
"line": 185,
"column": 29
},
"end": {
"line": 185,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5180,
"end": 5181,
"loc": {
"start": {
"line": 185,
"column": 38
},
"end": {
"line": 185,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destX",
"start": 5181,
"end": 5186,
"loc": {
"start": {
"line": 185,
"column": 39
},
"end": {
"line": 185,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5186,
"end": 5187,
"loc": {
"start": {
"line": 185,
"column": 44
},
"end": {
"line": 185,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destY",
"start": 5188,
"end": 5193,
"loc": {
"start": {
"line": 185,
"column": 46
},
"end": {
"line": 185,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5193,
"end": 5194,
"loc": {
"start": {
"line": 185,
"column": 51
},
"end": {
"line": 185,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destW",
"start": 5195,
"end": 5200,
"loc": {
"start": {
"line": 185,
"column": 53
},
"end": {
"line": 185,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5200,
"end": 5201,
"loc": {
"start": {
"line": 185,
"column": 58
},
"end": {
"line": 185,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destH",
"start": 5202,
"end": 5207,
"loc": {
"start": {
"line": 185,
"column": 60
},
"end": {
"line": 185,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5207,
"end": 5208,
"loc": {
"start": {
"line": 185,
"column": 65
},
"end": {
"line": 185,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5208,
"end": 5209,
"loc": {
"start": {
"line": 185,
"column": 66
},
"end": {
"line": 185,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "intersection",
"start": 5223,
"end": 5235,
"loc": {
"start": {
"line": 186,
"column": 12
},
"end": {
"line": 186,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5236,
"end": 5237,
"loc": {
"start": {
"line": 186,
"column": 25
},
"end": {
"line": 186,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 5238,
"end": 5242,
"loc": {
"start": {
"line": 186,
"column": 27
},
"end": {
"line": 186,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5242,
"end": 5243,
"loc": {
"start": {
"line": 186,
"column": 31
},
"end": {
"line": 186,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIntersection",
"start": 5243,
"end": 5258,
"loc": {
"start": {
"line": 186,
"column": 32
},
"end": {
"line": 186,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5258,
"end": 5259,
"loc": {
"start": {
"line": 186,
"column": 47
},
"end": {
"line": 186,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleRect",
"start": 5259,
"end": 5270,
"loc": {
"start": {
"line": 186,
"column": 48
},
"end": {
"line": 186,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5270,
"end": 5271,
"loc": {
"start": {
"line": 186,
"column": 59
},
"end": {
"line": 186,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5271,
"end": 5272,
"loc": {
"start": {
"line": 186,
"column": 60
},
"end": {
"line": 186,
"column": 61
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5286,
"end": 5288,
"loc": {
"start": {
"line": 187,
"column": 12
},
"end": {
"line": 187,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5289,
"end": 5290,
"loc": {
"start": {
"line": 187,
"column": 15
},
"end": {
"line": 187,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 5290,
"end": 5291,
"loc": {
"start": {
"line": 187,
"column": 16
},
"end": {
"line": 187,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "intersection",
"start": 5291,
"end": 5303,
"loc": {
"start": {
"line": 187,
"column": 17
},
"end": {
"line": 187,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5303,
"end": 5304,
"loc": {
"start": {
"line": 187,
"column": 29
},
"end": {
"line": 187,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5305,
"end": 5306,
"loc": {
"start": {
"line": 187,
"column": 31
},
"end": {
"line": 187,
"column": 32
}
}
},
{
"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": 5324,
"end": 5330,
"loc": {
"start": {
"line": 188,
"column": 16
},
"end": {
"line": 188,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5330,
"end": 5331,
"loc": {
"start": {
"line": 188,
"column": 22
},
"end": {
"line": 188,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5345,
"end": 5346,
"loc": {
"start": {
"line": 189,
"column": 12
},
"end": {
"line": 189,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcX",
"start": 5362,
"end": 5366,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 16
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 5367,
"end": 5369,
"loc": {
"start": {
"line": 191,
"column": 17
},
"end": {
"line": 191,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5370,
"end": 5371,
"loc": {
"start": {
"line": 191,
"column": 20
},
"end": {
"line": 191,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "intersection",
"start": 5371,
"end": 5383,
"loc": {
"start": {
"line": 191,
"column": 21
},
"end": {
"line": 191,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5383,
"end": 5384,
"loc": {
"start": {
"line": 191,
"column": 33
},
"end": {
"line": 191,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 5384,
"end": 5385,
"loc": {
"start": {
"line": 191,
"column": 34
},
"end": {
"line": 191,
"column": 35
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 5386,
"end": 5387,
"loc": {
"start": {
"line": 191,
"column": 36
},
"end": {
"line": 191,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destX",
"start": 5388,
"end": 5393,
"loc": {
"start": {
"line": 191,
"column": 38
},
"end": {
"line": 191,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5393,
"end": 5394,
"loc": {
"start": {
"line": 191,
"column": 43
},
"end": {
"line": 191,
"column": 44
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 5395,
"end": 5396,
"loc": {
"start": {
"line": 191,
"column": 45
},
"end": {
"line": 191,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleW",
"start": 5397,
"end": 5403,
"loc": {
"start": {
"line": 191,
"column": 47
},
"end": {
"line": 191,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5403,
"end": 5404,
"loc": {
"start": {
"line": 191,
"column": 53
},
"end": {
"line": 191,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcY",
"start": 5418,
"end": 5422,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 16
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 5423,
"end": 5425,
"loc": {
"start": {
"line": 192,
"column": 17
},
"end": {
"line": 192,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5426,
"end": 5427,
"loc": {
"start": {
"line": 192,
"column": 20
},
"end": {
"line": 192,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "intersection",
"start": 5427,
"end": 5439,
"loc": {
"start": {
"line": 192,
"column": 21
},
"end": {
"line": 192,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5439,
"end": 5440,
"loc": {
"start": {
"line": 192,
"column": 33
},
"end": {
"line": 192,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 5440,
"end": 5441,
"loc": {
"start": {
"line": 192,
"column": 34
},
"end": {
"line": 192,
"column": 35
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 5442,
"end": 5443,
"loc": {
"start": {
"line": 192,
"column": 36
},
"end": {
"line": 192,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destY",
"start": 5444,
"end": 5449,
"loc": {
"start": {
"line": 192,
"column": 38
},
"end": {
"line": 192,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5449,
"end": 5450,
"loc": {
"start": {
"line": 192,
"column": 43
},
"end": {
"line": 192,
"column": 44
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 5451,
"end": 5452,
"loc": {
"start": {
"line": 192,
"column": 45
},
"end": {
"line": 192,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleH",
"start": 5453,
"end": 5459,
"loc": {
"start": {
"line": 192,
"column": 47
},
"end": {
"line": 192,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5459,
"end": 5460,
"loc": {
"start": {
"line": 192,
"column": 53
},
"end": {
"line": 192,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcW",
"start": 5476,
"end": 5480,
"loc": {
"start": {
"line": 194,
"column": 12
},
"end": {
"line": 194,
"column": 16
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "*=",
"start": 5481,
"end": 5483,
"loc": {
"start": {
"line": 194,
"column": 17
},
"end": {
"line": 194,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "intersection",
"start": 5484,
"end": 5496,
"loc": {
"start": {
"line": 194,
"column": 20
},
"end": {
"line": 194,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5496,
"end": 5497,
"loc": {
"start": {
"line": 194,
"column": 32
},
"end": {
"line": 194,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 5497,
"end": 5498,
"loc": {
"start": {
"line": 194,
"column": 33
},
"end": {
"line": 194,
"column": 34
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 5499,
"end": 5500,
"loc": {
"start": {
"line": 194,
"column": 35
},
"end": {
"line": 194,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destW",
"start": 5501,
"end": 5506,
"loc": {
"start": {
"line": 194,
"column": 37
},
"end": {
"line": 194,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5506,
"end": 5507,
"loc": {
"start": {
"line": 194,
"column": 42
},
"end": {
"line": 194,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcH",
"start": 5521,
"end": 5525,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 16
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "*=",
"start": 5526,
"end": 5528,
"loc": {
"start": {
"line": 195,
"column": 17
},
"end": {
"line": 195,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "intersection",
"start": 5529,
"end": 5541,
"loc": {
"start": {
"line": 195,
"column": 20
},
"end": {
"line": 195,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5541,
"end": 5542,
"loc": {
"start": {
"line": 195,
"column": 32
},
"end": {
"line": 195,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 5542,
"end": 5543,
"loc": {
"start": {
"line": 195,
"column": 33
},
"end": {
"line": 195,
"column": 34
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 5544,
"end": 5545,
"loc": {
"start": {
"line": 195,
"column": 35
},
"end": {
"line": 195,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destH",
"start": 5546,
"end": 5551,
"loc": {
"start": {
"line": 195,
"column": 37
},
"end": {
"line": 195,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5551,
"end": 5552,
"loc": {
"start": {
"line": 195,
"column": 42
},
"end": {
"line": 195,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destX",
"start": 5568,
"end": 5573,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5574,
"end": 5575,
"loc": {
"start": {
"line": 197,
"column": 18
},
"end": {
"line": 197,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "intersection",
"start": 5576,
"end": 5588,
"loc": {
"start": {
"line": 197,
"column": 20
},
"end": {
"line": 197,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5588,
"end": 5589,
"loc": {
"start": {
"line": 197,
"column": 32
},
"end": {
"line": 197,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 5589,
"end": 5590,
"loc": {
"start": {
"line": 197,
"column": 33
},
"end": {
"line": 197,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5590,
"end": 5591,
"loc": {
"start": {
"line": 197,
"column": 34
},
"end": {
"line": 197,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destY",
"start": 5605,
"end": 5610,
"loc": {
"start": {
"line": 198,
"column": 12
},
"end": {
"line": 198,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5611,
"end": 5612,
"loc": {
"start": {
"line": 198,
"column": 18
},
"end": {
"line": 198,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "intersection",
"start": 5613,
"end": 5625,
"loc": {
"start": {
"line": 198,
"column": 20
},
"end": {
"line": 198,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5625,
"end": 5626,
"loc": {
"start": {
"line": 198,
"column": 32
},
"end": {
"line": 198,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 5626,
"end": 5627,
"loc": {
"start": {
"line": 198,
"column": 33
},
"end": {
"line": 198,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5627,
"end": 5628,
"loc": {
"start": {
"line": 198,
"column": 34
},
"end": {
"line": 198,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destW",
"start": 5644,
"end": 5649,
"loc": {
"start": {
"line": 200,
"column": 12
},
"end": {
"line": 200,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5650,
"end": 5651,
"loc": {
"start": {
"line": 200,
"column": 18
},
"end": {
"line": 200,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "intersection",
"start": 5652,
"end": 5664,
"loc": {
"start": {
"line": 200,
"column": 20
},
"end": {
"line": 200,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5664,
"end": 5665,
"loc": {
"start": {
"line": 200,
"column": 32
},
"end": {
"line": 200,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 5665,
"end": 5666,
"loc": {
"start": {
"line": 200,
"column": 33
},
"end": {
"line": 200,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5666,
"end": 5667,
"loc": {
"start": {
"line": 200,
"column": 34
},
"end": {
"line": 200,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destH",
"start": 5681,
"end": 5686,
"loc": {
"start": {
"line": 201,
"column": 12
},
"end": {
"line": 201,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5687,
"end": 5688,
"loc": {
"start": {
"line": 201,
"column": 18
},
"end": {
"line": 201,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "intersection",
"start": 5689,
"end": 5701,
"loc": {
"start": {
"line": 201,
"column": 20
},
"end": {
"line": 201,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5701,
"end": 5702,
"loc": {
"start": {
"line": 201,
"column": 32
},
"end": {
"line": 201,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 5702,
"end": 5703,
"loc": {
"start": {
"line": 201,
"column": 33
},
"end": {
"line": 201,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5703,
"end": 5704,
"loc": {
"start": {
"line": 201,
"column": 34
},
"end": {
"line": 201,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5714,
"end": 5715,
"loc": {
"start": {
"line": 202,
"column": 8
},
"end": {
"line": 202,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5727,
"end": 5737,
"loc": {
"start": {
"line": 204,
"column": 8
},
"end": {
"line": 204,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5737,
"end": 5738,
"loc": {
"start": {
"line": 204,
"column": 18
},
"end": {
"line": 204,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 5738,
"end": 5745,
"loc": {
"start": {
"line": 204,
"column": 19
},
"end": {
"line": 204,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5745,
"end": 5746,
"loc": {
"start": {
"line": 204,
"column": 26
},
"end": {
"line": 204,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawImage",
"start": 5746,
"end": 5755,
"loc": {
"start": {
"line": 204,
"column": 27
},
"end": {
"line": 204,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5755,
"end": 5756,
"loc": {
"start": {
"line": 204,
"column": 36
},
"end": {
"line": 204,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 5770,
"end": 5774,
"loc": {
"start": {
"line": 205,
"column": 12
},
"end": {
"line": 205,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5774,
"end": 5775,
"loc": {
"start": {
"line": 205,
"column": 16
},
"end": {
"line": 205,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlas",
"start": 5775,
"end": 5780,
"loc": {
"start": {
"line": 205,
"column": 17
},
"end": {
"line": 205,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5780,
"end": 5781,
"loc": {
"start": {
"line": 205,
"column": 22
},
"end": {
"line": 205,
"column": 23
}
}
},
{
"type": "CommentLine",
"value": " atlas src pos",
"start": 5797,
"end": 5813,
"loc": {
"start": {
"line": 207,
"column": 12
},
"end": {
"line": 207,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcX",
"start": 5827,
"end": 5831,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5831,
"end": 5832,
"loc": {
"start": {
"line": 208,
"column": 16
},
"end": {
"line": 208,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcY",
"start": 5846,
"end": 5850,
"loc": {
"start": {
"line": 209,
"column": 12
},
"end": {
"line": 209,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5850,
"end": 5851,
"loc": {
"start": {
"line": 209,
"column": 16
},
"end": {
"line": 209,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " atlas src size",
"start": 5867,
"end": 5884,
"loc": {
"start": {
"line": 211,
"column": 12
},
"end": {
"line": 211,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcW",
"start": 5898,
"end": 5902,
"loc": {
"start": {
"line": 212,
"column": 12
},
"end": {
"line": 212,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5902,
"end": 5903,
"loc": {
"start": {
"line": 212,
"column": 16
},
"end": {
"line": 212,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcH",
"start": 5917,
"end": 5921,
"loc": {
"start": {
"line": 213,
"column": 12
},
"end": {
"line": 213,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5921,
"end": 5922,
"loc": {
"start": {
"line": 213,
"column": 16
},
"end": {
"line": 213,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " dest pos and size",
"start": 5938,
"end": 5958,
"loc": {
"start": {
"line": 215,
"column": 12
},
"end": {
"line": 215,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destX",
"start": 5972,
"end": 5977,
"loc": {
"start": {
"line": 216,
"column": 12
},
"end": {
"line": 216,
"column": 17
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 5978,
"end": 5979,
"loc": {
"start": {
"line": 216,
"column": 18
},
"end": {
"line": 216,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "EXTRUDE",
"start": 5980,
"end": 5987,
"loc": {
"start": {
"line": 216,
"column": 20
},
"end": {
"line": 216,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5987,
"end": 5988,
"loc": {
"start": {
"line": 216,
"column": 27
},
"end": {
"line": 216,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destY",
"start": 6002,
"end": 6007,
"loc": {
"start": {
"line": 217,
"column": 12
},
"end": {
"line": 217,
"column": 17
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 6008,
"end": 6009,
"loc": {
"start": {
"line": 217,
"column": 18
},
"end": {
"line": 217,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "EXTRUDE",
"start": 6010,
"end": 6017,
"loc": {
"start": {
"line": 217,
"column": 20
},
"end": {
"line": 217,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6017,
"end": 6018,
"loc": {
"start": {
"line": 217,
"column": 27
},
"end": {
"line": 217,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destW",
"start": 6032,
"end": 6037,
"loc": {
"start": {
"line": 218,
"column": 12
},
"end": {
"line": 218,
"column": 17
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6038,
"end": 6039,
"loc": {
"start": {
"line": 218,
"column": 18
},
"end": {
"line": 218,
"column": 19
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 6040,
"end": 6041,
"loc": {
"start": {
"line": 218,
"column": 20
},
"end": {
"line": 218,
"column": 21
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6042,
"end": 6043,
"loc": {
"start": {
"line": 218,
"column": 22
},
"end": {
"line": 218,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "EXTRUDE",
"start": 6044,
"end": 6051,
"loc": {
"start": {
"line": 218,
"column": 24
},
"end": {
"line": 218,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6051,
"end": 6052,
"loc": {
"start": {
"line": 218,
"column": 31
},
"end": {
"line": 218,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destH",
"start": 6066,
"end": 6071,
"loc": {
"start": {
"line": 219,
"column": 12
},
"end": {
"line": 219,
"column": 17
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6072,
"end": 6073,
"loc": {
"start": {
"line": 219,
"column": 18
},
"end": {
"line": 219,
"column": 19
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 6074,
"end": 6075,
"loc": {
"start": {
"line": 219,
"column": 20
},
"end": {
"line": 219,
"column": 21
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6076,
"end": 6077,
"loc": {
"start": {
"line": 219,
"column": 22
},
"end": {
"line": 219,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "EXTRUDE",
"start": 6078,
"end": 6085,
"loc": {
"start": {
"line": 219,
"column": 24
},
"end": {
"line": 219,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6095,
"end": 6096,
"loc": {
"start": {
"line": 220,
"column": 8
},
"end": {
"line": 220,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6096,
"end": 6097,
"loc": {
"start": {
"line": 220,
"column": 9
},
"end": {
"line": 220,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6103,
"end": 6104,
"loc": {
"start": {
"line": 221,
"column": 4
},
"end": {
"line": 221,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws a subset of the sprite. Does NO culling\r\n * @param {DrawParameters} parameters\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {Rectangle=} clipRect The rectangle in local space (0 ... 1) to draw of the image\r\n ",
"start": 6112,
"end": 6422,
"loc": {
"start": {
"line": 223,
"column": 4
},
"end": {
"line": 231,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawCachedWithClipRect",
"start": 6428,
"end": 6450,
"loc": {
"start": {
"line": 232,
"column": 4
},
"end": {
"line": 232,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6450,
"end": 6451,
"loc": {
"start": {
"line": 232,
"column": 26
},
"end": {
"line": 232,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6451,
"end": 6461,
"loc": {
"start": {
"line": 232,
"column": 27
},
"end": {
"line": 232,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6461,
"end": 6462,
"loc": {
"start": {
"line": 232,
"column": 37
},
"end": {
"line": 232,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 6463,
"end": 6464,
"loc": {
"start": {
"line": 232,
"column": 39
},
"end": {
"line": 232,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6464,
"end": 6465,
"loc": {
"start": {
"line": 232,
"column": 40
},
"end": {
"line": 232,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 6466,
"end": 6467,
"loc": {
"start": {
"line": 232,
"column": 42
},
"end": {
"line": 232,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6467,
"end": 6468,
"loc": {
"start": {
"line": 232,
"column": 43
},
"end": {
"line": 232,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 6469,
"end": 6470,
"loc": {
"start": {
"line": 232,
"column": 45
},
"end": {
"line": 232,
"column": 46
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6471,
"end": 6472,
"loc": {
"start": {
"line": 232,
"column": 47
},
"end": {
"line": 232,
"column": 48
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 6473,
"end": 6477,
"loc": {
"start": {
"line": 232,
"column": 49
},
"end": {
"line": 232,
"column": 53
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6477,
"end": 6478,
"loc": {
"start": {
"line": 232,
"column": 53
},
"end": {
"line": 232,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 6479,
"end": 6480,
"loc": {
"start": {
"line": 232,
"column": 55
},
"end": {
"line": 232,
"column": 56
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6481,
"end": 6482,
"loc": {
"start": {
"line": 232,
"column": 57
},
"end": {
"line": 232,
"column": 58
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 6483,
"end": 6487,
"loc": {
"start": {
"line": 232,
"column": 59
},
"end": {
"line": 232,
"column": 63
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6487,
"end": 6488,
"loc": {
"start": {
"line": 232,
"column": 63
},
"end": {
"line": 232,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipRect",
"start": 6489,
"end": 6497,
"loc": {
"start": {
"line": 232,
"column": 65
},
"end": {
"line": 232,
"column": 73
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6498,
"end": 6499,
"loc": {
"start": {
"line": 232,
"column": 74
},
"end": {
"line": 232,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "FULL_CLIP_RECT",
"start": 6500,
"end": 6514,
"loc": {
"start": {
"line": 232,
"column": 76
},
"end": {
"line": 232,
"column": 90
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6514,
"end": 6515,
"loc": {
"start": {
"line": 232,
"column": 90
},
"end": {
"line": 232,
"column": 91
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6516,
"end": 6517,
"loc": {
"start": {
"line": 232,
"column": 92
},
"end": {
"line": 232,
"column": 93
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6527,
"end": 6529,
"loc": {
"start": {
"line": 233,
"column": 8
},
"end": {
"line": 233,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6530,
"end": 6531,
"loc": {
"start": {
"line": 233,
"column": 11
},
"end": {
"line": 233,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 6531,
"end": 6539,
"loc": {
"start": {
"line": 233,
"column": 12
},
"end": {
"line": 233,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6539,
"end": 6540,
"loc": {
"start": {
"line": 233,
"column": 20
},
"end": {
"line": 233,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6541,
"end": 6542,
"loc": {
"start": {
"line": 233,
"column": 22
},
"end": {
"line": 233,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 6556,
"end": 6562,
"loc": {
"start": {
"line": 234,
"column": 12
},
"end": {
"line": 234,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6562,
"end": 6563,
"loc": {
"start": {
"line": 234,
"column": 18
},
"end": {
"line": 234,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6563,
"end": 6573,
"loc": {
"start": {
"line": 234,
"column": 19
},
"end": {
"line": 234,
"column": 29
}
}
},
{
"type": {
"label": "instanceof",
"keyword": "instanceof",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "instanceof",
"start": 6574,
"end": 6584,
"loc": {
"start": {
"line": 234,
"column": 30
},
"end": {
"line": 234,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DrawParameters",
"start": 6585,
"end": 6599,
"loc": {
"start": {
"line": 234,
"column": 41
},
"end": {
"line": 234,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6599,
"end": 6600,
"loc": {
"start": {
"line": 234,
"column": 55
},
"end": {
"line": 234,
"column": 56
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Not a valid context",
"start": 6601,
"end": 6622,
"loc": {
"start": {
"line": 234,
"column": 57
},
"end": {
"line": 234,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6622,
"end": 6623,
"loc": {
"start": {
"line": 234,
"column": 78
},
"end": {
"line": 234,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6623,
"end": 6624,
"loc": {
"start": {
"line": 234,
"column": 79
},
"end": {
"line": 234,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 6638,
"end": 6644,
"loc": {
"start": {
"line": 235,
"column": 12
},
"end": {
"line": 235,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6644,
"end": 6645,
"loc": {
"start": {
"line": 235,
"column": 18
},
"end": {
"line": 235,
"column": 19
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 6645,
"end": 6646,
"loc": {
"start": {
"line": 235,
"column": 19
},
"end": {
"line": 235,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 6646,
"end": 6647,
"loc": {
"start": {
"line": 235,
"column": 20
},
"end": {
"line": 235,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 6647,
"end": 6648,
"loc": {
"start": {
"line": 235,
"column": 21
},
"end": {
"line": 235,
"column": 22
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 6649,
"end": 6651,
"loc": {
"start": {
"line": 235,
"column": 23
},
"end": {
"line": 235,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 6652,
"end": 6653,
"loc": {
"start": {
"line": 235,
"column": 26
},
"end": {
"line": 235,
"column": 27
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 6654,
"end": 6655,
"loc": {
"start": {
"line": 235,
"column": 28
},
"end": {
"line": 235,
"column": 29
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 6656,
"end": 6657,
"loc": {
"start": {
"line": 235,
"column": 30
},
"end": {
"line": 235,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6657,
"end": 6658,
"loc": {
"start": {
"line": 235,
"column": 31
},
"end": {
"line": 235,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Not a valid width:",
"start": 6659,
"end": 6679,
"loc": {
"start": {
"line": 235,
"column": 33
},
"end": {
"line": 235,
"column": 53
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6680,
"end": 6681,
"loc": {
"start": {
"line": 235,
"column": 54
},
"end": {
"line": 235,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 6682,
"end": 6683,
"loc": {
"start": {
"line": 235,
"column": 56
},
"end": {
"line": 235,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6683,
"end": 6684,
"loc": {
"start": {
"line": 235,
"column": 57
},
"end": {
"line": 235,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6684,
"end": 6685,
"loc": {
"start": {
"line": 235,
"column": 58
},
"end": {
"line": 235,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 6699,
"end": 6705,
"loc": {
"start": {
"line": 236,
"column": 12
},
"end": {
"line": 236,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6705,
"end": 6706,
"loc": {
"start": {
"line": 236,
"column": 18
},
"end": {
"line": 236,
"column": 19
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 6706,
"end": 6707,
"loc": {
"start": {
"line": 236,
"column": 19
},
"end": {
"line": 236,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 6707,
"end": 6708,
"loc": {
"start": {
"line": 236,
"column": 20
},
"end": {
"line": 236,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 6708,
"end": 6709,
"loc": {
"start": {
"line": 236,
"column": 21
},
"end": {
"line": 236,
"column": 22
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 6710,
"end": 6712,
"loc": {
"start": {
"line": 236,
"column": 23
},
"end": {
"line": 236,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 6713,
"end": 6714,
"loc": {
"start": {
"line": 236,
"column": 26
},
"end": {
"line": 236,
"column": 27
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 6715,
"end": 6716,
"loc": {
"start": {
"line": 236,
"column": 28
},
"end": {
"line": 236,
"column": 29
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 6717,
"end": 6718,
"loc": {
"start": {
"line": 236,
"column": 30
},
"end": {
"line": 236,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6718,
"end": 6719,
"loc": {
"start": {
"line": 236,
"column": 31
},
"end": {
"line": 236,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Not a valid height:",
"start": 6720,
"end": 6741,
"loc": {
"start": {
"line": 236,
"column": 33
},
"end": {
"line": 236,
"column": 54
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6742,
"end": 6743,
"loc": {
"start": {
"line": 236,
"column": 55
},
"end": {
"line": 236,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 6744,
"end": 6745,
"loc": {
"start": {
"line": 236,
"column": 57
},
"end": {
"line": 236,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6745,
"end": 6746,
"loc": {
"start": {
"line": 236,
"column": 58
},
"end": {
"line": 236,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6746,
"end": 6747,
"loc": {
"start": {
"line": 236,
"column": 59
},
"end": {
"line": 236,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 6761,
"end": 6767,
"loc": {
"start": {
"line": 237,
"column": 12
},
"end": {
"line": 237,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6767,
"end": 6768,
"loc": {
"start": {
"line": 237,
"column": 18
},
"end": {
"line": 237,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipRect",
"start": 6768,
"end": 6776,
"loc": {
"start": {
"line": 237,
"column": 19
},
"end": {
"line": 237,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6776,
"end": 6777,
"loc": {
"start": {
"line": 237,
"column": 27
},
"end": {
"line": 237,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "No clip rect given!",
"start": 6778,
"end": 6799,
"loc": {
"start": {
"line": 237,
"column": 29
},
"end": {
"line": 237,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6799,
"end": 6800,
"loc": {
"start": {
"line": 237,
"column": 50
},
"end": {
"line": 237,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6800,
"end": 6801,
"loc": {
"start": {
"line": 237,
"column": 51
},
"end": {
"line": 237,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6811,
"end": 6812,
"loc": {
"start": {
"line": 238,
"column": 8
},
"end": {
"line": 238,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6824,
"end": 6829,
"loc": {
"start": {
"line": 240,
"column": 8
},
"end": {
"line": 240,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 6830,
"end": 6835,
"loc": {
"start": {
"line": 240,
"column": 14
},
"end": {
"line": 240,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6836,
"end": 6837,
"loc": {
"start": {
"line": 240,
"column": 20
},
"end": {
"line": 240,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6838,
"end": 6848,
"loc": {
"start": {
"line": 240,
"column": 22
},
"end": {
"line": 240,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6848,
"end": 6849,
"loc": {
"start": {
"line": 240,
"column": 32
},
"end": {
"line": 240,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "desiredAtlasScale",
"start": 6849,
"end": 6866,
"loc": {
"start": {
"line": 240,
"column": 33
},
"end": {
"line": 240,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6866,
"end": 6867,
"loc": {
"start": {
"line": 240,
"column": 50
},
"end": {
"line": 240,
"column": 51
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6877,
"end": 6882,
"loc": {
"start": {
"line": 241,
"column": 8
},
"end": {
"line": 241,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 6883,
"end": 6887,
"loc": {
"start": {
"line": 241,
"column": 14
},
"end": {
"line": 241,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6888,
"end": 6889,
"loc": {
"start": {
"line": 241,
"column": 19
},
"end": {
"line": 241,
"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": 6890,
"end": 6894,
"loc": {
"start": {
"line": 241,
"column": 21
},
"end": {
"line": 241,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6894,
"end": 6895,
"loc": {
"start": {
"line": 241,
"column": 25
},
"end": {
"line": 241,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "linksByResolution",
"start": 6895,
"end": 6912,
"loc": {
"start": {
"line": 241,
"column": 26
},
"end": {
"line": 241,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6912,
"end": 6913,
"loc": {
"start": {
"line": 241,
"column": 43
},
"end": {
"line": 241,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 6913,
"end": 6918,
"loc": {
"start": {
"line": 241,
"column": 44
},
"end": {
"line": 241,
"column": 49
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6918,
"end": 6919,
"loc": {
"start": {
"line": 241,
"column": 49
},
"end": {
"line": 241,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6919,
"end": 6920,
"loc": {
"start": {
"line": 241,
"column": 50
},
"end": {
"line": 241,
"column": 51
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6932,
"end": 6934,
"loc": {
"start": {
"line": 243,
"column": 8
},
"end": {
"line": 243,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6935,
"end": 6936,
"loc": {
"start": {
"line": 243,
"column": 11
},
"end": {
"line": 243,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 6936,
"end": 6937,
"loc": {
"start": {
"line": 243,
"column": 12
},
"end": {
"line": 243,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 6937,
"end": 6941,
"loc": {
"start": {
"line": 243,
"column": 13
},
"end": {
"line": 243,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6941,
"end": 6942,
"loc": {
"start": {
"line": 243,
"column": 17
},
"end": {
"line": 243,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6943,
"end": 6944,
"loc": {
"start": {
"line": 243,
"column": 19
},
"end": {
"line": 243,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 6958,
"end": 6964,
"loc": {
"start": {
"line": 244,
"column": 12
},
"end": {
"line": 244,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6964,
"end": 6965,
"loc": {
"start": {
"line": 244,
"column": 18
},
"end": {
"line": 244,
"column": 19
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 6965,
"end": 6970,
"loc": {
"start": {
"line": 244,
"column": 19
},
"end": {
"line": 244,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6970,
"end": 6971,
"loc": {
"start": {
"line": 244,
"column": 24
},
"end": {
"line": 244,
"column": 25
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6972,
"end": 6973,
"loc": {
"start": {
"line": 244,
"column": 26
},
"end": {
"line": 244,
"column": 27
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Link not known: ",
"start": 6973,
"end": 6989,
"loc": {
"start": {
"line": 244,
"column": 27
},
"end": {
"line": 244,
"column": 43
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6989,
"end": 6991,
"loc": {
"start": {
"line": 244,
"column": 43
},
"end": {
"line": 244,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 6991,
"end": 6996,
"loc": {
"start": {
"line": 244,
"column": 45
},
"end": {
"line": 244,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6996,
"end": 6997,
"loc": {
"start": {
"line": 244,
"column": 50
},
"end": {
"line": 244,
"column": 51
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " (having ",
"start": 6997,
"end": 7006,
"loc": {
"start": {
"line": 244,
"column": 51
},
"end": {
"line": 244,
"column": 60
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7006,
"end": 7008,
"loc": {
"start": {
"line": 244,
"column": 60
},
"end": {
"line": 244,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Object",
"start": 7008,
"end": 7014,
"loc": {
"start": {
"line": 244,
"column": 62
},
"end": {
"line": 244,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7014,
"end": 7015,
"loc": {
"start": {
"line": 244,
"column": 68
},
"end": {
"line": 244,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keys",
"start": 7015,
"end": 7019,
"loc": {
"start": {
"line": 244,
"column": 69
},
"end": {
"line": 244,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7019,
"end": 7020,
"loc": {
"start": {
"line": 244,
"column": 73
},
"end": {
"line": 244,
"column": 74
}
}
},
{
"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": 7020,
"end": 7024,
"loc": {
"start": {
"line": 244,
"column": 74
},
"end": {
"line": 244,
"column": 78
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7024,
"end": 7025,
"loc": {
"start": {
"line": 244,
"column": 78
},
"end": {
"line": 244,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "linksByResolution",
"start": 7025,
"end": 7042,
"loc": {
"start": {
"line": 244,
"column": 79
},
"end": {
"line": 244,
"column": 96
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7042,
"end": 7043,
"loc": {
"start": {
"line": 244,
"column": 96
},
"end": {
"line": 244,
"column": 97
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7043,
"end": 7044,
"loc": {
"start": {
"line": 244,
"column": 97
},
"end": {
"line": 244,
"column": 98
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 7044,
"end": 7045,
"loc": {
"start": {
"line": 244,
"column": 98
},
"end": {
"line": 244,
"column": 99
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7045,
"end": 7046,
"loc": {
"start": {
"line": 244,
"column": 99
},
"end": {
"line": 244,
"column": 100
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7046,
"end": 7047,
"loc": {
"start": {
"line": 244,
"column": 100
},
"end": {
"line": 244,
"column": 101
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7047,
"end": 7048,
"loc": {
"start": {
"line": 244,
"column": 101
},
"end": {
"line": 244,
"column": 102
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7058,
"end": 7059,
"loc": {
"start": {
"line": 245,
"column": 8
},
"end": {
"line": 245,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7071,
"end": 7076,
"loc": {
"start": {
"line": 247,
"column": 8
},
"end": {
"line": 247,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleW",
"start": 7077,
"end": 7083,
"loc": {
"start": {
"line": 247,
"column": 14
},
"end": {
"line": 247,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7084,
"end": 7085,
"loc": {
"start": {
"line": 247,
"column": 21
},
"end": {
"line": 247,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 7086,
"end": 7087,
"loc": {
"start": {
"line": 247,
"column": 23
},
"end": {
"line": 247,
"column": 24
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 7088,
"end": 7089,
"loc": {
"start": {
"line": 247,
"column": 25
},
"end": {
"line": 247,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7090,
"end": 7094,
"loc": {
"start": {
"line": 247,
"column": 27
},
"end": {
"line": 247,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7094,
"end": 7095,
"loc": {
"start": {
"line": 247,
"column": 31
},
"end": {
"line": 247,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 7095,
"end": 7096,
"loc": {
"start": {
"line": 247,
"column": 32
},
"end": {
"line": 247,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7096,
"end": 7097,
"loc": {
"start": {
"line": 247,
"column": 33
},
"end": {
"line": 247,
"column": 34
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7107,
"end": 7112,
"loc": {
"start": {
"line": 248,
"column": 8
},
"end": {
"line": 248,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleH",
"start": 7113,
"end": 7119,
"loc": {
"start": {
"line": 248,
"column": 14
},
"end": {
"line": 248,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7120,
"end": 7121,
"loc": {
"start": {
"line": 248,
"column": 21
},
"end": {
"line": 248,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 7122,
"end": 7123,
"loc": {
"start": {
"line": 248,
"column": 23
},
"end": {
"line": 248,
"column": 24
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 7124,
"end": 7125,
"loc": {
"start": {
"line": 248,
"column": 25
},
"end": {
"line": 248,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7126,
"end": 7130,
"loc": {
"start": {
"line": 248,
"column": 27
},
"end": {
"line": 248,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7130,
"end": 7131,
"loc": {
"start": {
"line": 248,
"column": 31
},
"end": {
"line": 248,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 7131,
"end": 7132,
"loc": {
"start": {
"line": 248,
"column": 32
},
"end": {
"line": 248,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7132,
"end": 7133,
"loc": {
"start": {
"line": 248,
"column": 33
},
"end": {
"line": 248,
"column": 34
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 7145,
"end": 7148,
"loc": {
"start": {
"line": 250,
"column": 8
},
"end": {
"line": 250,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destX",
"start": 7149,
"end": 7154,
"loc": {
"start": {
"line": 250,
"column": 12
},
"end": {
"line": 250,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7155,
"end": 7156,
"loc": {
"start": {
"line": 250,
"column": 18
},
"end": {
"line": 250,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 7157,
"end": 7158,
"loc": {
"start": {
"line": 250,
"column": 20
},
"end": {
"line": 250,
"column": 21
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7159,
"end": 7160,
"loc": {
"start": {
"line": 250,
"column": 22
},
"end": {
"line": 250,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7161,
"end": 7165,
"loc": {
"start": {
"line": 250,
"column": 24
},
"end": {
"line": 250,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7165,
"end": 7166,
"loc": {
"start": {
"line": 250,
"column": 28
},
"end": {
"line": 250,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetX",
"start": 7166,
"end": 7177,
"loc": {
"start": {
"line": 250,
"column": 29
},
"end": {
"line": 250,
"column": 40
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7178,
"end": 7179,
"loc": {
"start": {
"line": 250,
"column": 41
},
"end": {
"line": 250,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleW",
"start": 7180,
"end": 7186,
"loc": {
"start": {
"line": 250,
"column": 43
},
"end": {
"line": 250,
"column": 49
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7187,
"end": 7188,
"loc": {
"start": {
"line": 250,
"column": 50
},
"end": {
"line": 250,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipRect",
"start": 7189,
"end": 7197,
"loc": {
"start": {
"line": 250,
"column": 52
},
"end": {
"line": 250,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7197,
"end": 7198,
"loc": {
"start": {
"line": 250,
"column": 60
},
"end": {
"line": 250,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 7198,
"end": 7199,
"loc": {
"start": {
"line": 250,
"column": 61
},
"end": {
"line": 250,
"column": 62
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7200,
"end": 7201,
"loc": {
"start": {
"line": 250,
"column": 63
},
"end": {
"line": 250,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 7202,
"end": 7203,
"loc": {
"start": {
"line": 250,
"column": 65
},
"end": {
"line": 250,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7203,
"end": 7204,
"loc": {
"start": {
"line": 250,
"column": 66
},
"end": {
"line": 250,
"column": 67
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 7214,
"end": 7217,
"loc": {
"start": {
"line": 251,
"column": 8
},
"end": {
"line": 251,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destY",
"start": 7218,
"end": 7223,
"loc": {
"start": {
"line": 251,
"column": 12
},
"end": {
"line": 251,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7224,
"end": 7225,
"loc": {
"start": {
"line": 251,
"column": 18
},
"end": {
"line": 251,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7226,
"end": 7227,
"loc": {
"start": {
"line": 251,
"column": 20
},
"end": {
"line": 251,
"column": 21
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7228,
"end": 7229,
"loc": {
"start": {
"line": 251,
"column": 22
},
"end": {
"line": 251,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7230,
"end": 7234,
"loc": {
"start": {
"line": 251,
"column": 24
},
"end": {
"line": 251,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7234,
"end": 7235,
"loc": {
"start": {
"line": 251,
"column": 28
},
"end": {
"line": 251,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetY",
"start": 7235,
"end": 7246,
"loc": {
"start": {
"line": 251,
"column": 29
},
"end": {
"line": 251,
"column": 40
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7247,
"end": 7248,
"loc": {
"start": {
"line": 251,
"column": 41
},
"end": {
"line": 251,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleH",
"start": 7249,
"end": 7255,
"loc": {
"start": {
"line": 251,
"column": 43
},
"end": {
"line": 251,
"column": 49
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7256,
"end": 7257,
"loc": {
"start": {
"line": 251,
"column": 50
},
"end": {
"line": 251,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipRect",
"start": 7258,
"end": 7266,
"loc": {
"start": {
"line": 251,
"column": 52
},
"end": {
"line": 251,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7266,
"end": 7267,
"loc": {
"start": {
"line": 251,
"column": 60
},
"end": {
"line": 251,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7267,
"end": 7268,
"loc": {
"start": {
"line": 251,
"column": 61
},
"end": {
"line": 251,
"column": 62
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7269,
"end": 7270,
"loc": {
"start": {
"line": 251,
"column": 63
},
"end": {
"line": 251,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 7271,
"end": 7272,
"loc": {
"start": {
"line": 251,
"column": 65
},
"end": {
"line": 251,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7272,
"end": 7273,
"loc": {
"start": {
"line": 251,
"column": 66
},
"end": {
"line": 251,
"column": 67
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 7283,
"end": 7286,
"loc": {
"start": {
"line": 252,
"column": 8
},
"end": {
"line": 252,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destW",
"start": 7287,
"end": 7292,
"loc": {
"start": {
"line": 252,
"column": 12
},
"end": {
"line": 252,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7293,
"end": 7294,
"loc": {
"start": {
"line": 252,
"column": 18
},
"end": {
"line": 252,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7295,
"end": 7299,
"loc": {
"start": {
"line": 252,
"column": 20
},
"end": {
"line": 252,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7299,
"end": 7300,
"loc": {
"start": {
"line": 252,
"column": 24
},
"end": {
"line": 252,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedW",
"start": 7300,
"end": 7307,
"loc": {
"start": {
"line": 252,
"column": 25
},
"end": {
"line": 252,
"column": 32
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7308,
"end": 7309,
"loc": {
"start": {
"line": 252,
"column": 33
},
"end": {
"line": 252,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleW",
"start": 7310,
"end": 7316,
"loc": {
"start": {
"line": 252,
"column": 35
},
"end": {
"line": 252,
"column": 41
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7317,
"end": 7318,
"loc": {
"start": {
"line": 252,
"column": 42
},
"end": {
"line": 252,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipRect",
"start": 7319,
"end": 7327,
"loc": {
"start": {
"line": 252,
"column": 44
},
"end": {
"line": 252,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7327,
"end": 7328,
"loc": {
"start": {
"line": 252,
"column": 52
},
"end": {
"line": 252,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 7328,
"end": 7329,
"loc": {
"start": {
"line": 252,
"column": 53
},
"end": {
"line": 252,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7329,
"end": 7330,
"loc": {
"start": {
"line": 252,
"column": 54
},
"end": {
"line": 252,
"column": 55
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 7340,
"end": 7343,
"loc": {
"start": {
"line": 253,
"column": 8
},
"end": {
"line": 253,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destH",
"start": 7344,
"end": 7349,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7350,
"end": 7351,
"loc": {
"start": {
"line": 253,
"column": 18
},
"end": {
"line": 253,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7352,
"end": 7356,
"loc": {
"start": {
"line": 253,
"column": 20
},
"end": {
"line": 253,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7356,
"end": 7357,
"loc": {
"start": {
"line": 253,
"column": 24
},
"end": {
"line": 253,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedH",
"start": 7357,
"end": 7364,
"loc": {
"start": {
"line": 253,
"column": 25
},
"end": {
"line": 253,
"column": 32
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7365,
"end": 7366,
"loc": {
"start": {
"line": 253,
"column": 33
},
"end": {
"line": 253,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleH",
"start": 7367,
"end": 7373,
"loc": {
"start": {
"line": 253,
"column": 35
},
"end": {
"line": 253,
"column": 41
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7374,
"end": 7375,
"loc": {
"start": {
"line": 253,
"column": 42
},
"end": {
"line": 253,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipRect",
"start": 7376,
"end": 7384,
"loc": {
"start": {
"line": 253,
"column": 44
},
"end": {
"line": 253,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7384,
"end": 7385,
"loc": {
"start": {
"line": 253,
"column": 52
},
"end": {
"line": 253,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 7385,
"end": 7386,
"loc": {
"start": {
"line": 253,
"column": 53
},
"end": {
"line": 253,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7386,
"end": 7387,
"loc": {
"start": {
"line": 253,
"column": 54
},
"end": {
"line": 253,
"column": 55
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 7399,
"end": 7402,
"loc": {
"start": {
"line": 255,
"column": 8
},
"end": {
"line": 255,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcX",
"start": 7403,
"end": 7407,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7408,
"end": 7409,
"loc": {
"start": {
"line": 255,
"column": 17
},
"end": {
"line": 255,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7410,
"end": 7414,
"loc": {
"start": {
"line": 255,
"column": 19
},
"end": {
"line": 255,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7414,
"end": 7415,
"loc": {
"start": {
"line": 255,
"column": 23
},
"end": {
"line": 255,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedX",
"start": 7415,
"end": 7422,
"loc": {
"start": {
"line": 255,
"column": 24
},
"end": {
"line": 255,
"column": 31
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7423,
"end": 7424,
"loc": {
"start": {
"line": 255,
"column": 32
},
"end": {
"line": 255,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipRect",
"start": 7425,
"end": 7433,
"loc": {
"start": {
"line": 255,
"column": 34
},
"end": {
"line": 255,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7433,
"end": 7434,
"loc": {
"start": {
"line": 255,
"column": 42
},
"end": {
"line": 255,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 7434,
"end": 7435,
"loc": {
"start": {
"line": 255,
"column": 43
},
"end": {
"line": 255,
"column": 44
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7436,
"end": 7437,
"loc": {
"start": {
"line": 255,
"column": 45
},
"end": {
"line": 255,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7438,
"end": 7442,
"loc": {
"start": {
"line": 255,
"column": 47
},
"end": {
"line": 255,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7442,
"end": 7443,
"loc": {
"start": {
"line": 255,
"column": 51
},
"end": {
"line": 255,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedW",
"start": 7443,
"end": 7450,
"loc": {
"start": {
"line": 255,
"column": 52
},
"end": {
"line": 255,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7450,
"end": 7451,
"loc": {
"start": {
"line": 255,
"column": 59
},
"end": {
"line": 255,
"column": 60
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 7461,
"end": 7464,
"loc": {
"start": {
"line": 256,
"column": 8
},
"end": {
"line": 256,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcY",
"start": 7465,
"end": 7469,
"loc": {
"start": {
"line": 256,
"column": 12
},
"end": {
"line": 256,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7470,
"end": 7471,
"loc": {
"start": {
"line": 256,
"column": 17
},
"end": {
"line": 256,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7472,
"end": 7476,
"loc": {
"start": {
"line": 256,
"column": 19
},
"end": {
"line": 256,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7476,
"end": 7477,
"loc": {
"start": {
"line": 256,
"column": 23
},
"end": {
"line": 256,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedY",
"start": 7477,
"end": 7484,
"loc": {
"start": {
"line": 256,
"column": 24
},
"end": {
"line": 256,
"column": 31
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7485,
"end": 7486,
"loc": {
"start": {
"line": 256,
"column": 32
},
"end": {
"line": 256,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipRect",
"start": 7487,
"end": 7495,
"loc": {
"start": {
"line": 256,
"column": 34
},
"end": {
"line": 256,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7495,
"end": 7496,
"loc": {
"start": {
"line": 256,
"column": 42
},
"end": {
"line": 256,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7496,
"end": 7497,
"loc": {
"start": {
"line": 256,
"column": 43
},
"end": {
"line": 256,
"column": 44
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7498,
"end": 7499,
"loc": {
"start": {
"line": 256,
"column": 45
},
"end": {
"line": 256,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7500,
"end": 7504,
"loc": {
"start": {
"line": 256,
"column": 47
},
"end": {
"line": 256,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7504,
"end": 7505,
"loc": {
"start": {
"line": 256,
"column": 51
},
"end": {
"line": 256,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedH",
"start": 7505,
"end": 7512,
"loc": {
"start": {
"line": 256,
"column": 52
},
"end": {
"line": 256,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7512,
"end": 7513,
"loc": {
"start": {
"line": 256,
"column": 59
},
"end": {
"line": 256,
"column": 60
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 7523,
"end": 7526,
"loc": {
"start": {
"line": 257,
"column": 8
},
"end": {
"line": 257,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcW",
"start": 7527,
"end": 7531,
"loc": {
"start": {
"line": 257,
"column": 12
},
"end": {
"line": 257,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7532,
"end": 7533,
"loc": {
"start": {
"line": 257,
"column": 17
},
"end": {
"line": 257,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7534,
"end": 7538,
"loc": {
"start": {
"line": 257,
"column": 19
},
"end": {
"line": 257,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7538,
"end": 7539,
"loc": {
"start": {
"line": 257,
"column": 23
},
"end": {
"line": 257,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedW",
"start": 7539,
"end": 7546,
"loc": {
"start": {
"line": 257,
"column": 24
},
"end": {
"line": 257,
"column": 31
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7547,
"end": 7548,
"loc": {
"start": {
"line": 257,
"column": 32
},
"end": {
"line": 257,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipRect",
"start": 7549,
"end": 7557,
"loc": {
"start": {
"line": 257,
"column": 34
},
"end": {
"line": 257,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7557,
"end": 7558,
"loc": {
"start": {
"line": 257,
"column": 42
},
"end": {
"line": 257,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 7558,
"end": 7559,
"loc": {
"start": {
"line": 257,
"column": 43
},
"end": {
"line": 257,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7559,
"end": 7560,
"loc": {
"start": {
"line": 257,
"column": 44
},
"end": {
"line": 257,
"column": 45
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 7570,
"end": 7573,
"loc": {
"start": {
"line": 258,
"column": 8
},
"end": {
"line": 258,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcH",
"start": 7574,
"end": 7578,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7579,
"end": 7580,
"loc": {
"start": {
"line": 258,
"column": 17
},
"end": {
"line": 258,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7581,
"end": 7585,
"loc": {
"start": {
"line": 258,
"column": 19
},
"end": {
"line": 258,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7585,
"end": 7586,
"loc": {
"start": {
"line": 258,
"column": 23
},
"end": {
"line": 258,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedH",
"start": 7586,
"end": 7593,
"loc": {
"start": {
"line": 258,
"column": 24
},
"end": {
"line": 258,
"column": 31
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7594,
"end": 7595,
"loc": {
"start": {
"line": 258,
"column": 32
},
"end": {
"line": 258,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clipRect",
"start": 7596,
"end": 7604,
"loc": {
"start": {
"line": 258,
"column": 34
},
"end": {
"line": 258,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7604,
"end": 7605,
"loc": {
"start": {
"line": 258,
"column": 42
},
"end": {
"line": 258,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 7605,
"end": 7606,
"loc": {
"start": {
"line": 258,
"column": 43
},
"end": {
"line": 258,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7606,
"end": 7607,
"loc": {
"start": {
"line": 258,
"column": 44
},
"end": {
"line": 258,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7619,
"end": 7629,
"loc": {
"start": {
"line": 260,
"column": 8
},
"end": {
"line": 260,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7629,
"end": 7630,
"loc": {
"start": {
"line": 260,
"column": 18
},
"end": {
"line": 260,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 7630,
"end": 7637,
"loc": {
"start": {
"line": 260,
"column": 19
},
"end": {
"line": 260,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7637,
"end": 7638,
"loc": {
"start": {
"line": 260,
"column": 26
},
"end": {
"line": 260,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawImage",
"start": 7638,
"end": 7647,
"loc": {
"start": {
"line": 260,
"column": 27
},
"end": {
"line": 260,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7647,
"end": 7648,
"loc": {
"start": {
"line": 260,
"column": 36
},
"end": {
"line": 260,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 7662,
"end": 7666,
"loc": {
"start": {
"line": 261,
"column": 12
},
"end": {
"line": 261,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7666,
"end": 7667,
"loc": {
"start": {
"line": 261,
"column": 16
},
"end": {
"line": 261,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlas",
"start": 7667,
"end": 7672,
"loc": {
"start": {
"line": 261,
"column": 17
},
"end": {
"line": 261,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7672,
"end": 7673,
"loc": {
"start": {
"line": 261,
"column": 22
},
"end": {
"line": 261,
"column": 23
}
}
},
{
"type": "CommentLine",
"value": " atlas src pos",
"start": 7689,
"end": 7705,
"loc": {
"start": {
"line": 263,
"column": 12
},
"end": {
"line": 263,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcX",
"start": 7719,
"end": 7723,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 264,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7723,
"end": 7724,
"loc": {
"start": {
"line": 264,
"column": 16
},
"end": {
"line": 264,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcY",
"start": 7738,
"end": 7742,
"loc": {
"start": {
"line": 265,
"column": 12
},
"end": {
"line": 265,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7742,
"end": 7743,
"loc": {
"start": {
"line": 265,
"column": 16
},
"end": {
"line": 265,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " atlas src siize",
"start": 7759,
"end": 7777,
"loc": {
"start": {
"line": 267,
"column": 12
},
"end": {
"line": 267,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcW",
"start": 7791,
"end": 7795,
"loc": {
"start": {
"line": 268,
"column": 12
},
"end": {
"line": 268,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7795,
"end": 7796,
"loc": {
"start": {
"line": 268,
"column": 16
},
"end": {
"line": 268,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcH",
"start": 7810,
"end": 7814,
"loc": {
"start": {
"line": 269,
"column": 12
},
"end": {
"line": 269,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7814,
"end": 7815,
"loc": {
"start": {
"line": 269,
"column": 16
},
"end": {
"line": 269,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " dest pos and size",
"start": 7831,
"end": 7851,
"loc": {
"start": {
"line": 271,
"column": 12
},
"end": {
"line": 271,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destX",
"start": 7865,
"end": 7870,
"loc": {
"start": {
"line": 272,
"column": 12
},
"end": {
"line": 272,
"column": 17
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 7871,
"end": 7872,
"loc": {
"start": {
"line": 272,
"column": 18
},
"end": {
"line": 272,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "EXTRUDE",
"start": 7873,
"end": 7880,
"loc": {
"start": {
"line": 272,
"column": 20
},
"end": {
"line": 272,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7880,
"end": 7881,
"loc": {
"start": {
"line": 272,
"column": 27
},
"end": {
"line": 272,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destY",
"start": 7895,
"end": 7900,
"loc": {
"start": {
"line": 273,
"column": 12
},
"end": {
"line": 273,
"column": 17
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 7901,
"end": 7902,
"loc": {
"start": {
"line": 273,
"column": 18
},
"end": {
"line": 273,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "EXTRUDE",
"start": 7903,
"end": 7910,
"loc": {
"start": {
"line": 273,
"column": 20
},
"end": {
"line": 273,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7910,
"end": 7911,
"loc": {
"start": {
"line": 273,
"column": 27
},
"end": {
"line": 273,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destW",
"start": 7925,
"end": 7930,
"loc": {
"start": {
"line": 274,
"column": 12
},
"end": {
"line": 274,
"column": 17
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7931,
"end": 7932,
"loc": {
"start": {
"line": 274,
"column": 18
},
"end": {
"line": 274,
"column": 19
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 7933,
"end": 7934,
"loc": {
"start": {
"line": 274,
"column": 20
},
"end": {
"line": 274,
"column": 21
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7935,
"end": 7936,
"loc": {
"start": {
"line": 274,
"column": 22
},
"end": {
"line": 274,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "EXTRUDE",
"start": 7937,
"end": 7944,
"loc": {
"start": {
"line": 274,
"column": 24
},
"end": {
"line": 274,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7944,
"end": 7945,
"loc": {
"start": {
"line": 274,
"column": 31
},
"end": {
"line": 274,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destH",
"start": 7959,
"end": 7964,
"loc": {
"start": {
"line": 275,
"column": 12
},
"end": {
"line": 275,
"column": 17
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7965,
"end": 7966,
"loc": {
"start": {
"line": 275,
"column": 18
},
"end": {
"line": 275,
"column": 19
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 7967,
"end": 7968,
"loc": {
"start": {
"line": 275,
"column": 20
},
"end": {
"line": 275,
"column": 21
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7969,
"end": 7970,
"loc": {
"start": {
"line": 275,
"column": 22
},
"end": {
"line": 275,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "EXTRUDE",
"start": 7971,
"end": 7978,
"loc": {
"start": {
"line": 275,
"column": 24
},
"end": {
"line": 275,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7988,
"end": 7989,
"loc": {
"start": {
"line": 276,
"column": 8
},
"end": {
"line": 276,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7989,
"end": 7990,
"loc": {
"start": {
"line": 276,
"column": 9
},
"end": {
"line": 276,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7996,
"end": 7997,
"loc": {
"start": {
"line": 277,
"column": 4
},
"end": {
"line": 277,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Renders into an html element\r\n * @param {HTMLElement} element\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 8005,
"end": 8143,
"loc": {
"start": {
"line": 279,
"column": 4
},
"end": {
"line": 284,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "renderToHTMLElement",
"start": 8149,
"end": 8168,
"loc": {
"start": {
"line": 285,
"column": 4
},
"end": {
"line": 285,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8168,
"end": 8169,
"loc": {
"start": {
"line": 285,
"column": 23
},
"end": {
"line": 285,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 8169,
"end": 8176,
"loc": {
"start": {
"line": 285,
"column": 24
},
"end": {
"line": 285,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8176,
"end": 8177,
"loc": {
"start": {
"line": 285,
"column": 31
},
"end": {
"line": 285,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 8178,
"end": 8179,
"loc": {
"start": {
"line": 285,
"column": 33
},
"end": {
"line": 285,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8180,
"end": 8181,
"loc": {
"start": {
"line": 285,
"column": 35
},
"end": {
"line": 285,
"column": 36
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 8182,
"end": 8183,
"loc": {
"start": {
"line": 285,
"column": 37
},
"end": {
"line": 285,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8183,
"end": 8184,
"loc": {
"start": {
"line": 285,
"column": 38
},
"end": {
"line": 285,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 8185,
"end": 8186,
"loc": {
"start": {
"line": 285,
"column": 40
},
"end": {
"line": 285,
"column": 41
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8187,
"end": 8188,
"loc": {
"start": {
"line": 285,
"column": 42
},
"end": {
"line": 285,
"column": 43
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 8189,
"end": 8190,
"loc": {
"start": {
"line": 285,
"column": 44
},
"end": {
"line": 285,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8190,
"end": 8191,
"loc": {
"start": {
"line": 285,
"column": 45
},
"end": {
"line": 285,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8192,
"end": 8193,
"loc": {
"start": {
"line": 285,
"column": 47
},
"end": {
"line": 285,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 8203,
"end": 8210,
"loc": {
"start": {
"line": 286,
"column": 8
},
"end": {
"line": 286,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8210,
"end": 8211,
"loc": {
"start": {
"line": 286,
"column": 15
},
"end": {
"line": 286,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "style",
"start": 8211,
"end": 8216,
"loc": {
"start": {
"line": 286,
"column": 16
},
"end": {
"line": 286,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8216,
"end": 8217,
"loc": {
"start": {
"line": 286,
"column": 21
},
"end": {
"line": 286,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "position",
"start": 8217,
"end": 8225,
"loc": {
"start": {
"line": 286,
"column": 22
},
"end": {
"line": 286,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8226,
"end": 8227,
"loc": {
"start": {
"line": 286,
"column": 31
},
"end": {
"line": 286,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "relative",
"start": 8228,
"end": 8238,
"loc": {
"start": {
"line": 286,
"column": 33
},
"end": {
"line": 286,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8238,
"end": 8239,
"loc": {
"start": {
"line": 286,
"column": 43
},
"end": {
"line": 286,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "element",
"start": 8249,
"end": 8256,
"loc": {
"start": {
"line": 287,
"column": 8
},
"end": {
"line": 287,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8256,
"end": 8257,
"loc": {
"start": {
"line": 287,
"column": 15
},
"end": {
"line": 287,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "innerHTML",
"start": 8257,
"end": 8266,
"loc": {
"start": {
"line": 287,
"column": 16
},
"end": {
"line": 287,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8267,
"end": 8268,
"loc": {
"start": {
"line": 287,
"column": 26
},
"end": {
"line": 287,
"column": 27
}
}
},
{
"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": 8269,
"end": 8273,
"loc": {
"start": {
"line": 287,
"column": 28
},
"end": {
"line": 287,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8273,
"end": 8274,
"loc": {
"start": {
"line": 287,
"column": 32
},
"end": {
"line": 287,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAsHTML",
"start": 8274,
"end": 8283,
"loc": {
"start": {
"line": 287,
"column": 33
},
"end": {
"line": 287,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8283,
"end": 8284,
"loc": {
"start": {
"line": 287,
"column": 42
},
"end": {
"line": 287,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 8284,
"end": 8285,
"loc": {
"start": {
"line": 287,
"column": 43
},
"end": {
"line": 287,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8285,
"end": 8286,
"loc": {
"start": {
"line": 287,
"column": 44
},
"end": {
"line": 287,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 8287,
"end": 8288,
"loc": {
"start": {
"line": 287,
"column": 46
},
"end": {
"line": 287,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8288,
"end": 8289,
"loc": {
"start": {
"line": 287,
"column": 47
},
"end": {
"line": 287,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8289,
"end": 8290,
"loc": {
"start": {
"line": 287,
"column": 48
},
"end": {
"line": 287,
"column": 49
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8296,
"end": 8297,
"loc": {
"start": {
"line": 288,
"column": 4
},
"end": {
"line": 288,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the html to render as icon\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 8305,
"end": 8412,
"loc": {
"start": {
"line": 290,
"column": 4
},
"end": {
"line": 294,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAsHTML",
"start": 8418,
"end": 8427,
"loc": {
"start": {
"line": 295,
"column": 4
},
"end": {
"line": 295,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8427,
"end": 8428,
"loc": {
"start": {
"line": 295,
"column": 13
},
"end": {
"line": 295,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 8428,
"end": 8429,
"loc": {
"start": {
"line": 295,
"column": 14
},
"end": {
"line": 295,
"column": 15
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8429,
"end": 8430,
"loc": {
"start": {
"line": 295,
"column": 15
},
"end": {
"line": 295,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 8431,
"end": 8432,
"loc": {
"start": {
"line": 295,
"column": 17
},
"end": {
"line": 295,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8432,
"end": 8433,
"loc": {
"start": {
"line": 295,
"column": 18
},
"end": {
"line": 295,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8434,
"end": 8435,
"loc": {
"start": {
"line": 295,
"column": 20
},
"end": {
"line": 295,
"column": 21
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8445,
"end": 8450,
"loc": {
"start": {
"line": 296,
"column": 8
},
"end": {
"line": 296,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 8451,
"end": 8455,
"loc": {
"start": {
"line": 296,
"column": 14
},
"end": {
"line": 296,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8456,
"end": 8457,
"loc": {
"start": {
"line": 296,
"column": 19
},
"end": {
"line": 296,
"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": 8458,
"end": 8462,
"loc": {
"start": {
"line": 296,
"column": 21
},
"end": {
"line": 296,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8462,
"end": 8463,
"loc": {
"start": {
"line": 296,
"column": 25
},
"end": {
"line": 296,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "linksByResolution",
"start": 8463,
"end": 8480,
"loc": {
"start": {
"line": 296,
"column": 26
},
"end": {
"line": 296,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8480,
"end": 8481,
"loc": {
"start": {
"line": 296,
"column": 43
},
"end": {
"line": 296,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "0.5",
"start": 8481,
"end": 8486,
"loc": {
"start": {
"line": 296,
"column": 44
},
"end": {
"line": 296,
"column": 49
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8486,
"end": 8487,
"loc": {
"start": {
"line": 296,
"column": 49
},
"end": {
"line": 296,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8487,
"end": 8488,
"loc": {
"start": {
"line": 296,
"column": 50
},
"end": {
"line": 296,
"column": 51
}
}
},
{
"type": "CommentLine",
"value": " Find out how much we have to scale it so that it fits",
"start": 8500,
"end": 8556,
"loc": {
"start": {
"line": 298,
"column": 8
},
"end": {
"line": 298,
"column": 64
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8566,
"end": 8571,
"loc": {
"start": {
"line": 299,
"column": 8
},
"end": {
"line": 299,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleX",
"start": 8572,
"end": 8578,
"loc": {
"start": {
"line": 299,
"column": 14
},
"end": {
"line": 299,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8579,
"end": 8580,
"loc": {
"start": {
"line": 299,
"column": 21
},
"end": {
"line": 299,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 8581,
"end": 8582,
"loc": {
"start": {
"line": 299,
"column": 23
},
"end": {
"line": 299,
"column": 24
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 8583,
"end": 8584,
"loc": {
"start": {
"line": 299,
"column": 25
},
"end": {
"line": 299,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 8585,
"end": 8589,
"loc": {
"start": {
"line": 299,
"column": 27
},
"end": {
"line": 299,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8589,
"end": 8590,
"loc": {
"start": {
"line": 299,
"column": 31
},
"end": {
"line": 299,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 8590,
"end": 8591,
"loc": {
"start": {
"line": 299,
"column": 32
},
"end": {
"line": 299,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8591,
"end": 8592,
"loc": {
"start": {
"line": 299,
"column": 33
},
"end": {
"line": 299,
"column": 34
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8602,
"end": 8607,
"loc": {
"start": {
"line": 300,
"column": 8
},
"end": {
"line": 300,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleY",
"start": 8608,
"end": 8614,
"loc": {
"start": {
"line": 300,
"column": 14
},
"end": {
"line": 300,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8615,
"end": 8616,
"loc": {
"start": {
"line": 300,
"column": 21
},
"end": {
"line": 300,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 8617,
"end": 8618,
"loc": {
"start": {
"line": 300,
"column": 23
},
"end": {
"line": 300,
"column": 24
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 8619,
"end": 8620,
"loc": {
"start": {
"line": 300,
"column": 25
},
"end": {
"line": 300,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 8621,
"end": 8625,
"loc": {
"start": {
"line": 300,
"column": 27
},
"end": {
"line": 300,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8625,
"end": 8626,
"loc": {
"start": {
"line": 300,
"column": 31
},
"end": {
"line": 300,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 8626,
"end": 8627,
"loc": {
"start": {
"line": 300,
"column": 32
},
"end": {
"line": 300,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8627,
"end": 8628,
"loc": {
"start": {
"line": 300,
"column": 33
},
"end": {
"line": 300,
"column": 34
}
}
},
{
"type": "CommentLine",
"value": " Find out how big the scaled atlas is",
"start": 8640,
"end": 8679,
"loc": {
"start": {
"line": 302,
"column": 8
},
"end": {
"line": 302,
"column": 47
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8689,
"end": 8694,
"loc": {
"start": {
"line": 303,
"column": 8
},
"end": {
"line": 303,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlasW",
"start": 8695,
"end": 8701,
"loc": {
"start": {
"line": 303,
"column": 14
},
"end": {
"line": 303,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8702,
"end": 8703,
"loc": {
"start": {
"line": 303,
"column": 21
},
"end": {
"line": 303,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 8704,
"end": 8708,
"loc": {
"start": {
"line": 303,
"column": 23
},
"end": {
"line": 303,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8708,
"end": 8709,
"loc": {
"start": {
"line": 303,
"column": 27
},
"end": {
"line": 303,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlas",
"start": 8709,
"end": 8714,
"loc": {
"start": {
"line": 303,
"column": 28
},
"end": {
"line": 303,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8714,
"end": 8715,
"loc": {
"start": {
"line": 303,
"column": 33
},
"end": {
"line": 303,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "width",
"start": 8715,
"end": 8720,
"loc": {
"start": {
"line": 303,
"column": 34
},
"end": {
"line": 303,
"column": 39
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 8721,
"end": 8722,
"loc": {
"start": {
"line": 303,
"column": 40
},
"end": {
"line": 303,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleX",
"start": 8723,
"end": 8729,
"loc": {
"start": {
"line": 303,
"column": 42
},
"end": {
"line": 303,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8729,
"end": 8730,
"loc": {
"start": {
"line": 303,
"column": 48
},
"end": {
"line": 303,
"column": 49
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8740,
"end": 8745,
"loc": {
"start": {
"line": 304,
"column": 8
},
"end": {
"line": 304,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlasH",
"start": 8746,
"end": 8752,
"loc": {
"start": {
"line": 304,
"column": 14
},
"end": {
"line": 304,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8753,
"end": 8754,
"loc": {
"start": {
"line": 304,
"column": 21
},
"end": {
"line": 304,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 8755,
"end": 8759,
"loc": {
"start": {
"line": 304,
"column": 23
},
"end": {
"line": 304,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8759,
"end": 8760,
"loc": {
"start": {
"line": 304,
"column": 27
},
"end": {
"line": 304,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlas",
"start": 8760,
"end": 8765,
"loc": {
"start": {
"line": 304,
"column": 28
},
"end": {
"line": 304,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8765,
"end": 8766,
"loc": {
"start": {
"line": 304,
"column": 33
},
"end": {
"line": 304,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "height",
"start": 8766,
"end": 8772,
"loc": {
"start": {
"line": 304,
"column": 34
},
"end": {
"line": 304,
"column": 40
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 8773,
"end": 8774,
"loc": {
"start": {
"line": 304,
"column": 41
},
"end": {
"line": 304,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleY",
"start": 8775,
"end": 8781,
"loc": {
"start": {
"line": 304,
"column": 43
},
"end": {
"line": 304,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8781,
"end": 8782,
"loc": {
"start": {
"line": 304,
"column": 49
},
"end": {
"line": 304,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 8794,
"end": 8807,
"loc": {
"start": {
"line": 306,
"column": 8
},
"end": {
"line": 306,
"column": 21
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8817,
"end": 8822,
"loc": {
"start": {
"line": 307,
"column": 8
},
"end": {
"line": 307,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcSafe",
"start": 8823,
"end": 8830,
"loc": {
"start": {
"line": 307,
"column": 14
},
"end": {
"line": 307,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8831,
"end": 8832,
"loc": {
"start": {
"line": 307,
"column": 22
},
"end": {
"line": 307,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 8833,
"end": 8837,
"loc": {
"start": {
"line": 307,
"column": 24
},
"end": {
"line": 307,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8837,
"end": 8838,
"loc": {
"start": {
"line": 307,
"column": 28
},
"end": {
"line": 307,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlas",
"start": 8838,
"end": 8843,
"loc": {
"start": {
"line": 307,
"column": 29
},
"end": {
"line": 307,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8843,
"end": 8844,
"loc": {
"start": {
"line": 307,
"column": 34
},
"end": {
"line": 307,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "src",
"start": 8844,
"end": 8847,
"loc": {
"start": {
"line": 307,
"column": 35
},
"end": {
"line": 307,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8847,
"end": 8848,
"loc": {
"start": {
"line": 307,
"column": 38
},
"end": {
"line": 307,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "replaceAll",
"start": 8848,
"end": 8858,
"loc": {
"start": {
"line": 307,
"column": 39
},
"end": {
"line": 307,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8858,
"end": 8859,
"loc": {
"start": {
"line": 307,
"column": 49
},
"end": {
"line": 307,
"column": 50
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "\\",
"start": 8859,
"end": 8863,
"loc": {
"start": {
"line": 307,
"column": 50
},
"end": {
"line": 307,
"column": 54
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8863,
"end": 8864,
"loc": {
"start": {
"line": 307,
"column": 54
},
"end": {
"line": 307,
"column": 55
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "/",
"start": 8865,
"end": 8868,
"loc": {
"start": {
"line": 307,
"column": 56
},
"end": {
"line": 307,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8868,
"end": 8869,
"loc": {
"start": {
"line": 307,
"column": 59
},
"end": {
"line": 307,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8869,
"end": 8870,
"loc": {
"start": {
"line": 307,
"column": 60
},
"end": {
"line": 307,
"column": 61
}
}
},
{
"type": "CommentLine",
"value": " Find out how big we render the sprite",
"start": 8882,
"end": 8922,
"loc": {
"start": {
"line": 309,
"column": 8
},
"end": {
"line": 309,
"column": 48
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8932,
"end": 8937,
"loc": {
"start": {
"line": 310,
"column": 8
},
"end": {
"line": 310,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "widthAbsolute",
"start": 8938,
"end": 8951,
"loc": {
"start": {
"line": 310,
"column": 14
},
"end": {
"line": 310,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8952,
"end": 8953,
"loc": {
"start": {
"line": 310,
"column": 28
},
"end": {
"line": 310,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleX",
"start": 8954,
"end": 8960,
"loc": {
"start": {
"line": 310,
"column": 30
},
"end": {
"line": 310,
"column": 36
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 8961,
"end": 8962,
"loc": {
"start": {
"line": 310,
"column": 37
},
"end": {
"line": 310,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 8963,
"end": 8967,
"loc": {
"start": {
"line": 310,
"column": 39
},
"end": {
"line": 310,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8967,
"end": 8968,
"loc": {
"start": {
"line": 310,
"column": 43
},
"end": {
"line": 310,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedW",
"start": 8968,
"end": 8975,
"loc": {
"start": {
"line": 310,
"column": 44
},
"end": {
"line": 310,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8975,
"end": 8976,
"loc": {
"start": {
"line": 310,
"column": 51
},
"end": {
"line": 310,
"column": 52
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8986,
"end": 8991,
"loc": {
"start": {
"line": 311,
"column": 8
},
"end": {
"line": 311,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "heightAbsolute",
"start": 8992,
"end": 9006,
"loc": {
"start": {
"line": 311,
"column": 14
},
"end": {
"line": 311,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9007,
"end": 9008,
"loc": {
"start": {
"line": 311,
"column": 29
},
"end": {
"line": 311,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleY",
"start": 9009,
"end": 9015,
"loc": {
"start": {
"line": 311,
"column": 31
},
"end": {
"line": 311,
"column": 37
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 9016,
"end": 9017,
"loc": {
"start": {
"line": 311,
"column": 38
},
"end": {
"line": 311,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 9018,
"end": 9022,
"loc": {
"start": {
"line": 311,
"column": 40
},
"end": {
"line": 311,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9022,
"end": 9023,
"loc": {
"start": {
"line": 311,
"column": 44
},
"end": {
"line": 311,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedH",
"start": 9023,
"end": 9030,
"loc": {
"start": {
"line": 311,
"column": 45
},
"end": {
"line": 311,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9030,
"end": 9031,
"loc": {
"start": {
"line": 311,
"column": 52
},
"end": {
"line": 311,
"column": 53
}
}
},
{
"type": "CommentLine",
"value": " Compute the position in the relative container",
"start": 9043,
"end": 9092,
"loc": {
"start": {
"line": 313,
"column": 8
},
"end": {
"line": 313,
"column": 57
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9102,
"end": 9107,
"loc": {
"start": {
"line": 314,
"column": 8
},
"end": {
"line": 314,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leftRelative",
"start": 9108,
"end": 9120,
"loc": {
"start": {
"line": 314,
"column": 14
},
"end": {
"line": 314,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9121,
"end": 9122,
"loc": {
"start": {
"line": 314,
"column": 27
},
"end": {
"line": 314,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9123,
"end": 9124,
"loc": {
"start": {
"line": 314,
"column": 29
},
"end": {
"line": 314,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 9124,
"end": 9128,
"loc": {
"start": {
"line": 314,
"column": 30
},
"end": {
"line": 314,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9128,
"end": 9129,
"loc": {
"start": {
"line": 314,
"column": 34
},
"end": {
"line": 314,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetX",
"start": 9129,
"end": 9140,
"loc": {
"start": {
"line": 314,
"column": 35
},
"end": {
"line": 314,
"column": 46
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 9141,
"end": 9142,
"loc": {
"start": {
"line": 314,
"column": 47
},
"end": {
"line": 314,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleX",
"start": 9143,
"end": 9149,
"loc": {
"start": {
"line": 314,
"column": 49
},
"end": {
"line": 314,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9149,
"end": 9150,
"loc": {
"start": {
"line": 314,
"column": 55
},
"end": {
"line": 314,
"column": 56
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 9151,
"end": 9152,
"loc": {
"start": {
"line": 314,
"column": 57
},
"end": {
"line": 314,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 9153,
"end": 9154,
"loc": {
"start": {
"line": 314,
"column": 59
},
"end": {
"line": 314,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9154,
"end": 9155,
"loc": {
"start": {
"line": 314,
"column": 60
},
"end": {
"line": 314,
"column": 61
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9165,
"end": 9170,
"loc": {
"start": {
"line": 315,
"column": 8
},
"end": {
"line": 315,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "topRelative",
"start": 9171,
"end": 9182,
"loc": {
"start": {
"line": 315,
"column": 14
},
"end": {
"line": 315,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9183,
"end": 9184,
"loc": {
"start": {
"line": 315,
"column": 26
},
"end": {
"line": 315,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9185,
"end": 9186,
"loc": {
"start": {
"line": 315,
"column": 28
},
"end": {
"line": 315,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 9186,
"end": 9190,
"loc": {
"start": {
"line": 315,
"column": 29
},
"end": {
"line": 315,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9190,
"end": 9191,
"loc": {
"start": {
"line": 315,
"column": 33
},
"end": {
"line": 315,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packOffsetY",
"start": 9191,
"end": 9202,
"loc": {
"start": {
"line": 315,
"column": 34
},
"end": {
"line": 315,
"column": 45
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 9203,
"end": 9204,
"loc": {
"start": {
"line": 315,
"column": 46
},
"end": {
"line": 315,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleY",
"start": 9205,
"end": 9211,
"loc": {
"start": {
"line": 315,
"column": 48
},
"end": {
"line": 315,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9211,
"end": 9212,
"loc": {
"start": {
"line": 315,
"column": 54
},
"end": {
"line": 315,
"column": 55
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 9213,
"end": 9214,
"loc": {
"start": {
"line": 315,
"column": 56
},
"end": {
"line": 315,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 9215,
"end": 9216,
"loc": {
"start": {
"line": 315,
"column": 58
},
"end": {
"line": 315,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9216,
"end": 9217,
"loc": {
"start": {
"line": 315,
"column": 59
},
"end": {
"line": 315,
"column": 60
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9227,
"end": 9232,
"loc": {
"start": {
"line": 316,
"column": 8
},
"end": {
"line": 316,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "widthRelative",
"start": 9233,
"end": 9246,
"loc": {
"start": {
"line": 316,
"column": 14
},
"end": {
"line": 316,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9247,
"end": 9248,
"loc": {
"start": {
"line": 316,
"column": 28
},
"end": {
"line": 316,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "widthAbsolute",
"start": 9249,
"end": 9262,
"loc": {
"start": {
"line": 316,
"column": 30
},
"end": {
"line": 316,
"column": 43
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 9263,
"end": 9264,
"loc": {
"start": {
"line": 316,
"column": 44
},
"end": {
"line": 316,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 9265,
"end": 9266,
"loc": {
"start": {
"line": 316,
"column": 46
},
"end": {
"line": 316,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9266,
"end": 9267,
"loc": {
"start": {
"line": 316,
"column": 47
},
"end": {
"line": 316,
"column": 48
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9277,
"end": 9282,
"loc": {
"start": {
"line": 317,
"column": 8
},
"end": {
"line": 317,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "heightRelative",
"start": 9283,
"end": 9297,
"loc": {
"start": {
"line": 317,
"column": 14
},
"end": {
"line": 317,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9298,
"end": 9299,
"loc": {
"start": {
"line": 317,
"column": 29
},
"end": {
"line": 317,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "heightAbsolute",
"start": 9300,
"end": 9314,
"loc": {
"start": {
"line": 317,
"column": 31
},
"end": {
"line": 317,
"column": 45
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 9315,
"end": 9316,
"loc": {
"start": {
"line": 317,
"column": 46
},
"end": {
"line": 317,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 9317,
"end": 9318,
"loc": {
"start": {
"line": 317,
"column": 48
},
"end": {
"line": 317,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9318,
"end": 9319,
"loc": {
"start": {
"line": 317,
"column": 49
},
"end": {
"line": 317,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " Scale the atlas relative to the width and height of the element",
"start": 9331,
"end": 9397,
"loc": {
"start": {
"line": 319,
"column": 8
},
"end": {
"line": 319,
"column": 74
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9407,
"end": 9412,
"loc": {
"start": {
"line": 320,
"column": 8
},
"end": {
"line": 320,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bgW",
"start": 9413,
"end": 9416,
"loc": {
"start": {
"line": 320,
"column": 14
},
"end": {
"line": 320,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9417,
"end": 9418,
"loc": {
"start": {
"line": 320,
"column": 18
},
"end": {
"line": 320,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlasW",
"start": 9419,
"end": 9425,
"loc": {
"start": {
"line": 320,
"column": 20
},
"end": {
"line": 320,
"column": 26
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 9426,
"end": 9427,
"loc": {
"start": {
"line": 320,
"column": 27
},
"end": {
"line": 320,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "widthAbsolute",
"start": 9428,
"end": 9441,
"loc": {
"start": {
"line": 320,
"column": 29
},
"end": {
"line": 320,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9441,
"end": 9442,
"loc": {
"start": {
"line": 320,
"column": 42
},
"end": {
"line": 320,
"column": 43
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9452,
"end": 9457,
"loc": {
"start": {
"line": 321,
"column": 8
},
"end": {
"line": 321,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bgH",
"start": 9458,
"end": 9461,
"loc": {
"start": {
"line": 321,
"column": 14
},
"end": {
"line": 321,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9462,
"end": 9463,
"loc": {
"start": {
"line": 321,
"column": 18
},
"end": {
"line": 321,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlasH",
"start": 9464,
"end": 9470,
"loc": {
"start": {
"line": 321,
"column": 20
},
"end": {
"line": 321,
"column": 26
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 9471,
"end": 9472,
"loc": {
"start": {
"line": 321,
"column": 27
},
"end": {
"line": 321,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "heightAbsolute",
"start": 9473,
"end": 9487,
"loc": {
"start": {
"line": 321,
"column": 29
},
"end": {
"line": 321,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9487,
"end": 9488,
"loc": {
"start": {
"line": 321,
"column": 43
},
"end": {
"line": 321,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " Figure out what the position of the atlas is",
"start": 9500,
"end": 9547,
"loc": {
"start": {
"line": 323,
"column": 8
},
"end": {
"line": 323,
"column": 55
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9557,
"end": 9562,
"loc": {
"start": {
"line": 324,
"column": 8
},
"end": {
"line": 324,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bgX",
"start": 9563,
"end": 9566,
"loc": {
"start": {
"line": 324,
"column": 14
},
"end": {
"line": 324,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9567,
"end": 9568,
"loc": {
"start": {
"line": 324,
"column": 18
},
"end": {
"line": 324,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 9569,
"end": 9573,
"loc": {
"start": {
"line": 324,
"column": 20
},
"end": {
"line": 324,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9573,
"end": 9574,
"loc": {
"start": {
"line": 324,
"column": 24
},
"end": {
"line": 324,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedX",
"start": 9574,
"end": 9581,
"loc": {
"start": {
"line": 324,
"column": 25
},
"end": {
"line": 324,
"column": 32
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 9582,
"end": 9583,
"loc": {
"start": {
"line": 324,
"column": 33
},
"end": {
"line": 324,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleX",
"start": 9584,
"end": 9590,
"loc": {
"start": {
"line": 324,
"column": 35
},
"end": {
"line": 324,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9590,
"end": 9591,
"loc": {
"start": {
"line": 324,
"column": 41
},
"end": {
"line": 324,
"column": 42
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9601,
"end": 9606,
"loc": {
"start": {
"line": 325,
"column": 8
},
"end": {
"line": 325,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bgY",
"start": 9607,
"end": 9610,
"loc": {
"start": {
"line": 325,
"column": 14
},
"end": {
"line": 325,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9611,
"end": 9612,
"loc": {
"start": {
"line": 325,
"column": 18
},
"end": {
"line": 325,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "link",
"start": 9613,
"end": 9617,
"loc": {
"start": {
"line": 325,
"column": 20
},
"end": {
"line": 325,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9617,
"end": 9618,
"loc": {
"start": {
"line": 325,
"column": 24
},
"end": {
"line": 325,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "packedY",
"start": 9618,
"end": 9625,
"loc": {
"start": {
"line": 325,
"column": 25
},
"end": {
"line": 325,
"column": 32
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 9626,
"end": 9627,
"loc": {
"start": {
"line": 325,
"column": 33
},
"end": {
"line": 325,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scaleY",
"start": 9628,
"end": 9634,
"loc": {
"start": {
"line": 325,
"column": 35
},
"end": {
"line": 325,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9634,
"end": 9635,
"loc": {
"start": {
"line": 325,
"column": 41
},
"end": {
"line": 325,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " Fuck you, whoever thought its a good idea to make background-position work like it does now",
"start": 9647,
"end": 9741,
"loc": {
"start": {
"line": 327,
"column": 8
},
"end": {
"line": 327,
"column": 102
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9751,
"end": 9756,
"loc": {
"start": {
"line": 328,
"column": 8
},
"end": {
"line": 328,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bgXRelative",
"start": 9757,
"end": 9768,
"loc": {
"start": {
"line": 328,
"column": 14
},
"end": {
"line": 328,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9769,
"end": 9770,
"loc": {
"start": {
"line": 328,
"column": 26
},
"end": {
"line": 328,
"column": 27
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 9771,
"end": 9772,
"loc": {
"start": {
"line": 328,
"column": 28
},
"end": {
"line": 328,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bgX",
"start": 9772,
"end": 9775,
"loc": {
"start": {
"line": 328,
"column": 29
},
"end": {
"line": 328,
"column": 32
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 9776,
"end": 9777,
"loc": {
"start": {
"line": 328,
"column": 33
},
"end": {
"line": 328,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9778,
"end": 9779,
"loc": {
"start": {
"line": 328,
"column": 35
},
"end": {
"line": 328,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "widthAbsolute",
"start": 9779,
"end": 9792,
"loc": {
"start": {
"line": 328,
"column": 36
},
"end": {
"line": 328,
"column": 49
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 9793,
"end": 9794,
"loc": {
"start": {
"line": 328,
"column": 50
},
"end": {
"line": 328,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlasW",
"start": 9795,
"end": 9801,
"loc": {
"start": {
"line": 328,
"column": 52
},
"end": {
"line": 328,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9801,
"end": 9802,
"loc": {
"start": {
"line": 328,
"column": 58
},
"end": {
"line": 328,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9802,
"end": 9803,
"loc": {
"start": {
"line": 328,
"column": 59
},
"end": {
"line": 328,
"column": 60
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9813,
"end": 9818,
"loc": {
"start": {
"line": 329,
"column": 8
},
"end": {
"line": 329,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bgYRelative",
"start": 9819,
"end": 9830,
"loc": {
"start": {
"line": 329,
"column": 14
},
"end": {
"line": 329,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9831,
"end": 9832,
"loc": {
"start": {
"line": 329,
"column": 26
},
"end": {
"line": 329,
"column": 27
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 9833,
"end": 9834,
"loc": {
"start": {
"line": 329,
"column": 28
},
"end": {
"line": 329,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bgY",
"start": 9834,
"end": 9837,
"loc": {
"start": {
"line": 329,
"column": 29
},
"end": {
"line": 329,
"column": 32
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 9838,
"end": 9839,
"loc": {
"start": {
"line": 329,
"column": 33
},
"end": {
"line": 329,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9840,
"end": 9841,
"loc": {
"start": {
"line": 329,
"column": 35
},
"end": {
"line": 329,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "heightAbsolute",
"start": 9841,
"end": 9855,
"loc": {
"start": {
"line": 329,
"column": 36
},
"end": {
"line": 329,
"column": 50
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 9856,
"end": 9857,
"loc": {
"start": {
"line": 329,
"column": 51
},
"end": {
"line": 329,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "atlasH",
"start": 9858,
"end": 9864,
"loc": {
"start": {
"line": 329,
"column": 53
},
"end": {
"line": 329,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9864,
"end": 9865,
"loc": {
"start": {
"line": 329,
"column": 59
},
"end": {
"line": 329,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9865,
"end": 9866,
"loc": {
"start": {
"line": 329,
"column": 60
},
"end": {
"line": 329,
"column": 61
}
}
},
{
"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": 9878,
"end": 9884,
"loc": {
"start": {
"line": 331,
"column": 8
},
"end": {
"line": 331,
"column": 14
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9885,
"end": 9886,
"loc": {
"start": {
"line": 331,
"column": 15
},
"end": {
"line": 331,
"column": 16
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "\n <span class=\"spritesheetImage\" style=\"\n background-image: url('",
"start": 9886,
"end": 9979,
"loc": {
"start": {
"line": 331,
"column": 16
},
"end": {
"line": 333,
"column": 39
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9979,
"end": 9981,
"loc": {
"start": {
"line": 333,
"column": 39
},
"end": {
"line": 333,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "srcSafe",
"start": 9981,
"end": 9988,
"loc": {
"start": {
"line": 333,
"column": 41
},
"end": {
"line": 333,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9988,
"end": 9989,
"loc": {
"start": {
"line": 333,
"column": 48
},
"end": {
"line": 333,
"column": 49
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "');\n left: ",
"start": 9989,
"end": 10016,
"loc": {
"start": {
"line": 333,
"column": 49
},
"end": {
"line": 334,
"column": 22
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10016,
"end": 10018,
"loc": {
"start": {
"line": 334,
"column": 22
},
"end": {
"line": 334,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "round3Digits",
"start": 10018,
"end": 10030,
"loc": {
"start": {
"line": 334,
"column": 24
},
"end": {
"line": 334,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10030,
"end": 10031,
"loc": {
"start": {
"line": 334,
"column": 36
},
"end": {
"line": 334,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leftRelative",
"start": 10031,
"end": 10043,
"loc": {
"start": {
"line": 334,
"column": 37
},
"end": {
"line": 334,
"column": 49
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 10044,
"end": 10045,
"loc": {
"start": {
"line": 334,
"column": 50
},
"end": {
"line": 334,
"column": 51
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 100,
"start": 10046,
"end": 10051,
"loc": {
"start": {
"line": 334,
"column": 52
},
"end": {
"line": 334,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10051,
"end": 10052,
"loc": {
"start": {
"line": 334,
"column": 57
},
"end": {
"line": 334,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10052,
"end": 10053,
"loc": {
"start": {
"line": 334,
"column": 58
},
"end": {
"line": 334,
"column": 59
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "%;\n top: ",
"start": 10053,
"end": 10078,
"loc": {
"start": {
"line": 334,
"column": 59
},
"end": {
"line": 335,
"column": 21
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10078,
"end": 10080,
"loc": {
"start": {
"line": 335,
"column": 21
},
"end": {
"line": 335,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "round3Digits",
"start": 10080,
"end": 10092,
"loc": {
"start": {
"line": 335,
"column": 23
},
"end": {
"line": 335,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10092,
"end": 10093,
"loc": {
"start": {
"line": 335,
"column": 35
},
"end": {
"line": 335,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "topRelative",
"start": 10093,
"end": 10104,
"loc": {
"start": {
"line": 335,
"column": 36
},
"end": {
"line": 335,
"column": 47
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 10105,
"end": 10106,
"loc": {
"start": {
"line": 335,
"column": 48
},
"end": {
"line": 335,
"column": 49
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 100,
"start": 10107,
"end": 10112,
"loc": {
"start": {
"line": 335,
"column": 50
},
"end": {
"line": 335,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10112,
"end": 10113,
"loc": {
"start": {
"line": 335,
"column": 55
},
"end": {
"line": 335,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10113,
"end": 10114,
"loc": {
"start": {
"line": 335,
"column": 56
},
"end": {
"line": 335,
"column": 57
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "%;\n width: ",
"start": 10114,
"end": 10141,
"loc": {
"start": {
"line": 335,
"column": 57
},
"end": {
"line": 336,
"column": 23
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10141,
"end": 10143,
"loc": {
"start": {
"line": 336,
"column": 23
},
"end": {
"line": 336,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "round3Digits",
"start": 10143,
"end": 10155,
"loc": {
"start": {
"line": 336,
"column": 25
},
"end": {
"line": 336,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10155,
"end": 10156,
"loc": {
"start": {
"line": 336,
"column": 37
},
"end": {
"line": 336,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "widthRelative",
"start": 10156,
"end": 10169,
"loc": {
"start": {
"line": 336,
"column": 38
},
"end": {
"line": 336,
"column": 51
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 10170,
"end": 10171,
"loc": {
"start": {
"line": 336,
"column": 52
},
"end": {
"line": 336,
"column": 53
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 100,
"start": 10172,
"end": 10177,
"loc": {
"start": {
"line": 336,
"column": 54
},
"end": {
"line": 336,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10177,
"end": 10178,
"loc": {
"start": {
"line": 336,
"column": 59
},
"end": {
"line": 336,
"column": 60
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10178,
"end": 10179,
"loc": {
"start": {
"line": 336,
"column": 60
},
"end": {
"line": 336,
"column": 61
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "%;\n height: ",
"start": 10179,
"end": 10207,
"loc": {
"start": {
"line": 336,
"column": 61
},
"end": {
"line": 337,
"column": 24
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10207,
"end": 10209,
"loc": {
"start": {
"line": 337,
"column": 24
},
"end": {
"line": 337,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "round3Digits",
"start": 10209,
"end": 10221,
"loc": {
"start": {
"line": 337,
"column": 26
},
"end": {
"line": 337,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10221,
"end": 10222,
"loc": {
"start": {
"line": 337,
"column": 38
},
"end": {
"line": 337,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "heightRelative",
"start": 10222,
"end": 10236,
"loc": {
"start": {
"line": 337,
"column": 39
},
"end": {
"line": 337,
"column": 53
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 10237,
"end": 10238,
"loc": {
"start": {
"line": 337,
"column": 54
},
"end": {
"line": 337,
"column": 55
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 100,
"start": 10239,
"end": 10244,
"loc": {
"start": {
"line": 337,
"column": 56
},
"end": {
"line": 337,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10244,
"end": 10245,
"loc": {
"start": {
"line": 337,
"column": 61
},
"end": {
"line": 337,
"column": 62
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10245,
"end": 10246,
"loc": {
"start": {
"line": 337,
"column": 62
},
"end": {
"line": 337,
"column": 63
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "%;\n background-repeat: repeat;\n background-position: ",
"start": 10246,
"end": 10331,
"loc": {
"start": {
"line": 337,
"column": 63
},
"end": {
"line": 339,
"column": 37
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10331,
"end": 10333,
"loc": {
"start": {
"line": 339,
"column": 37
},
"end": {
"line": 339,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "round3Digits",
"start": 10333,
"end": 10345,
"loc": {
"start": {
"line": 339,
"column": 39
},
"end": {
"line": 339,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10345,
"end": 10346,
"loc": {
"start": {
"line": 339,
"column": 51
},
"end": {
"line": 339,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bgXRelative",
"start": 10346,
"end": 10357,
"loc": {
"start": {
"line": 339,
"column": 52
},
"end": {
"line": 339,
"column": 63
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 10358,
"end": 10359,
"loc": {
"start": {
"line": 339,
"column": 64
},
"end": {
"line": 339,
"column": 65
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 100,
"start": 10360,
"end": 10365,
"loc": {
"start": {
"line": 339,
"column": 66
},
"end": {
"line": 339,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10365,
"end": 10366,
"loc": {
"start": {
"line": 339,
"column": 71
},
"end": {
"line": 339,
"column": 72
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10366,
"end": 10367,
"loc": {
"start": {
"line": 339,
"column": 72
},
"end": {
"line": 339,
"column": 73
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "% ",
"start": 10367,
"end": 10369,
"loc": {
"start": {
"line": 339,
"column": 73
},
"end": {
"line": 339,
"column": 75
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10369,
"end": 10371,
"loc": {
"start": {
"line": 339,
"column": 75
},
"end": {
"line": 339,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "round3Digits",
"start": 10371,
"end": 10383,
"loc": {
"start": {
"line": 339,
"column": 77
},
"end": {
"line": 339,
"column": 89
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10383,
"end": 10384,
"loc": {
"start": {
"line": 339,
"column": 89
},
"end": {
"line": 339,
"column": 90
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bgYRelative",
"start": 10398,
"end": 10409,
"loc": {
"start": {
"line": 340,
"column": 12
},
"end": {
"line": 340,
"column": 23
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 10410,
"end": 10411,
"loc": {
"start": {
"line": 340,
"column": 24
},
"end": {
"line": 340,
"column": 25
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 100,
"start": 10412,
"end": 10417,
"loc": {
"start": {
"line": 340,
"column": 26
},
"end": {
"line": 340,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10427,
"end": 10428,
"loc": {
"start": {
"line": 341,
"column": 8
},
"end": {
"line": 341,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10428,
"end": 10429,
"loc": {
"start": {
"line": 341,
"column": 9
},
"end": {
"line": 341,
"column": 10
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "%;\n background-size: ",
"start": 10429,
"end": 10466,
"loc": {
"start": {
"line": 341,
"column": 10
},
"end": {
"line": 342,
"column": 33
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10466,
"end": 10468,
"loc": {
"start": {
"line": 342,
"column": 33
},
"end": {
"line": 342,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "round3Digits",
"start": 10468,
"end": 10480,
"loc": {
"start": {
"line": 342,
"column": 35
},
"end": {
"line": 342,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10480,
"end": 10481,
"loc": {
"start": {
"line": 342,
"column": 47
},
"end": {
"line": 342,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bgW",
"start": 10481,
"end": 10484,
"loc": {
"start": {
"line": 342,
"column": 48
},
"end": {
"line": 342,
"column": 51
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 10485,
"end": 10486,
"loc": {
"start": {
"line": 342,
"column": 52
},
"end": {
"line": 342,
"column": 53
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 100,
"start": 10487,
"end": 10492,
"loc": {
"start": {
"line": 342,
"column": 54
},
"end": {
"line": 342,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10492,
"end": 10493,
"loc": {
"start": {
"line": 342,
"column": 59
},
"end": {
"line": 342,
"column": 60
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10493,
"end": 10494,
"loc": {
"start": {
"line": 342,
"column": 60
},
"end": {
"line": 342,
"column": 61
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "% ",
"start": 10494,
"end": 10496,
"loc": {
"start": {
"line": 342,
"column": 61
},
"end": {
"line": 342,
"column": 63
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10496,
"end": 10498,
"loc": {
"start": {
"line": 342,
"column": 63
},
"end": {
"line": 342,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "round3Digits",
"start": 10498,
"end": 10510,
"loc": {
"start": {
"line": 342,
"column": 65
},
"end": {
"line": 342,
"column": 77
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10510,
"end": 10511,
"loc": {
"start": {
"line": 342,
"column": 77
},
"end": {
"line": 342,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bgH",
"start": 10511,
"end": 10514,
"loc": {
"start": {
"line": 342,
"column": 78
},
"end": {
"line": 342,
"column": 81
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 10515,
"end": 10516,
"loc": {
"start": {
"line": 342,
"column": 82
},
"end": {
"line": 342,
"column": 83
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 100,
"start": 10517,
"end": 10522,
"loc": {
"start": {
"line": 342,
"column": 84
},
"end": {
"line": 342,
"column": 89
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10522,
"end": 10523,
"loc": {
"start": {
"line": 342,
"column": 89
},
"end": {
"line": 342,
"column": 90
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10523,
"end": 10524,
"loc": {
"start": {
"line": 342,
"column": 90
},
"end": {
"line": 342,
"column": 91
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "%;\n \"></span>\n ",
"start": 10524,
"end": 10559,
"loc": {
"start": {
"line": 342,
"column": 91
},
"end": {
"line": 344,
"column": 8
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10559,
"end": 10560,
"loc": {
"start": {
"line": 344,
"column": 8
},
"end": {
"line": 344,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10560,
"end": 10561,
"loc": {
"start": {
"line": 344,
"column": 9
},
"end": {
"line": 344,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10567,
"end": 10568,
"loc": {
"start": {
"line": 345,
"column": 4
},
"end": {
"line": 345,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10570,
"end": 10571,
"loc": {
"start": {
"line": 346,
"column": 0
},
"end": {
"line": 346,
"column": 1
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 10575,
"end": 10581,
"loc": {
"start": {
"line": 348,
"column": 0
},
"end": {
"line": 348,
"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": 10582,
"end": 10587,
"loc": {
"start": {
"line": 348,
"column": 7
},
"end": {
"line": 348,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "RegularSprite",
"start": 10588,
"end": 10601,
"loc": {
"start": {
"line": 348,
"column": 13
},
"end": {
"line": 348,
"column": 26
}
}
},
{
"type": {
"label": "extends",
"keyword": "extends",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "extends",
"start": 10602,
"end": 10609,
"loc": {
"start": {
"line": 348,
"column": 27
},
"end": {
"line": 348,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseSprite",
"start": 10610,
"end": 10620,
"loc": {
"start": {
"line": 348,
"column": 35
},
"end": {
"line": 348,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10621,
"end": 10622,
"loc": {
"start": {
"line": 348,
"column": 46
},
"end": {
"line": 348,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 10628,
"end": 10639,
"loc": {
"start": {
"line": 349,
"column": 4
},
"end": {
"line": 349,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10639,
"end": 10640,
"loc": {
"start": {
"line": 349,
"column": 15
},
"end": {
"line": 349,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sprite",
"start": 10640,
"end": 10646,
"loc": {
"start": {
"line": 349,
"column": 16
},
"end": {
"line": 349,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10646,
"end": 10647,
"loc": {
"start": {
"line": 349,
"column": 22
},
"end": {
"line": 349,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 10648,
"end": 10649,
"loc": {
"start": {
"line": 349,
"column": 24
},
"end": {
"line": 349,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10649,
"end": 10650,
"loc": {
"start": {
"line": 349,
"column": 25
},
"end": {
"line": 349,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 10651,
"end": 10652,
"loc": {
"start": {
"line": 349,
"column": 27
},
"end": {
"line": 349,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10652,
"end": 10653,
"loc": {
"start": {
"line": 349,
"column": 28
},
"end": {
"line": 349,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10654,
"end": 10655,
"loc": {
"start": {
"line": 349,
"column": 30
},
"end": {
"line": 349,
"column": 31
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 10665,
"end": 10670,
"loc": {
"start": {
"line": 350,
"column": 8
},
"end": {
"line": 350,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10670,
"end": 10671,
"loc": {
"start": {
"line": 350,
"column": 13
},
"end": {
"line": 350,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10671,
"end": 10672,
"loc": {
"start": {
"line": 350,
"column": 14
},
"end": {
"line": 350,
"column": 15
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10672,
"end": 10673,
"loc": {
"start": {
"line": 350,
"column": 15
},
"end": {
"line": 350,
"column": 16
}
}
},
{
"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": 10683,
"end": 10687,
"loc": {
"start": {
"line": 351,
"column": 8
},
"end": {
"line": 351,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10687,
"end": 10688,
"loc": {
"start": {
"line": 351,
"column": 12
},
"end": {
"line": 351,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 10688,
"end": 10689,
"loc": {
"start": {
"line": 351,
"column": 13
},
"end": {
"line": 351,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10690,
"end": 10691,
"loc": {
"start": {
"line": 351,
"column": 15
},
"end": {
"line": 351,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 10692,
"end": 10693,
"loc": {
"start": {
"line": 351,
"column": 17
},
"end": {
"line": 351,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10693,
"end": 10694,
"loc": {
"start": {
"line": 351,
"column": 18
},
"end": {
"line": 351,
"column": 19
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10704,
"end": 10708,
"loc": {
"start": {
"line": 352,
"column": 8
},
"end": {
"line": 352,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10708,
"end": 10709,
"loc": {
"start": {
"line": 352,
"column": 12
},
"end": {
"line": 352,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 10709,
"end": 10710,
"loc": {
"start": {
"line": 352,
"column": 13
},
"end": {
"line": 352,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10711,
"end": 10712,
"loc": {
"start": {
"line": 352,
"column": 15
},
"end": {
"line": 352,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 10713,
"end": 10714,
"loc": {
"start": {
"line": 352,
"column": 17
},
"end": {
"line": 352,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10714,
"end": 10715,
"loc": {
"start": {
"line": 352,
"column": 18
},
"end": {
"line": 352,
"column": 19
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10725,
"end": 10729,
"loc": {
"start": {
"line": 353,
"column": 8
},
"end": {
"line": 353,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10729,
"end": 10730,
"loc": {
"start": {
"line": 353,
"column": 12
},
"end": {
"line": 353,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sprite",
"start": 10730,
"end": 10736,
"loc": {
"start": {
"line": 353,
"column": 13
},
"end": {
"line": 353,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10737,
"end": 10738,
"loc": {
"start": {
"line": 353,
"column": 20
},
"end": {
"line": 353,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sprite",
"start": 10739,
"end": 10745,
"loc": {
"start": {
"line": 353,
"column": 22
},
"end": {
"line": 353,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10745,
"end": 10746,
"loc": {
"start": {
"line": 353,
"column": 28
},
"end": {
"line": 353,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10752,
"end": 10753,
"loc": {
"start": {
"line": 354,
"column": 4
},
"end": {
"line": 354,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getRawTexture",
"start": 10761,
"end": 10774,
"loc": {
"start": {
"line": 356,
"column": 4
},
"end": {
"line": 356,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10774,
"end": 10775,
"loc": {
"start": {
"line": 356,
"column": 17
},
"end": {
"line": 356,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10775,
"end": 10776,
"loc": {
"start": {
"line": 356,
"column": 18
},
"end": {
"line": 356,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10777,
"end": 10778,
"loc": {
"start": {
"line": 356,
"column": 20
},
"end": {
"line": 356,
"column": 21
}
}
},
{
"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": 10788,
"end": 10794,
"loc": {
"start": {
"line": 357,
"column": 8
},
"end": {
"line": 357,
"column": 14
}
}
},
{
"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": 10795,
"end": 10799,
"loc": {
"start": {
"line": 357,
"column": 15
},
"end": {
"line": 357,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10799,
"end": 10800,
"loc": {
"start": {
"line": 357,
"column": 19
},
"end": {
"line": 357,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sprite",
"start": 10800,
"end": 10806,
"loc": {
"start": {
"line": 357,
"column": 20
},
"end": {
"line": 357,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10806,
"end": 10807,
"loc": {
"start": {
"line": 357,
"column": 26
},
"end": {
"line": 357,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10813,
"end": 10814,
"loc": {
"start": {
"line": 358,
"column": 4
},
"end": {
"line": 358,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite, do *not* use this for sprites which are rendered! Only for drawing\r\n * images into buffers\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 10822,
"end": 11109,
"loc": {
"start": {
"line": 360,
"column": 4
},
"end": {
"line": 368,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "draw",
"start": 11115,
"end": 11119,
"loc": {
"start": {
"line": 369,
"column": 4
},
"end": {
"line": 369,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11119,
"end": 11120,
"loc": {
"start": {
"line": 369,
"column": 8
},
"end": {
"line": 369,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 11120,
"end": 11127,
"loc": {
"start": {
"line": 369,
"column": 9
},
"end": {
"line": 369,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11127,
"end": 11128,
"loc": {
"start": {
"line": 369,
"column": 16
},
"end": {
"line": 369,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 11129,
"end": 11130,
"loc": {
"start": {
"line": 369,
"column": 18
},
"end": {
"line": 369,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11130,
"end": 11131,
"loc": {
"start": {
"line": 369,
"column": 19
},
"end": {
"line": 369,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 11132,
"end": 11133,
"loc": {
"start": {
"line": 369,
"column": 21
},
"end": {
"line": 369,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11133,
"end": 11134,
"loc": {
"start": {
"line": 369,
"column": 22
},
"end": {
"line": 369,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 11135,
"end": 11136,
"loc": {
"start": {
"line": 369,
"column": 24
},
"end": {
"line": 369,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11136,
"end": 11137,
"loc": {
"start": {
"line": 369,
"column": 25
},
"end": {
"line": 369,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 11138,
"end": 11139,
"loc": {
"start": {
"line": 369,
"column": 27
},
"end": {
"line": 369,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11139,
"end": 11140,
"loc": {
"start": {
"line": 369,
"column": 28
},
"end": {
"line": 369,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11141,
"end": 11142,
"loc": {
"start": {
"line": 369,
"column": 30
},
"end": {
"line": 369,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 11152,
"end": 11158,
"loc": {
"start": {
"line": 370,
"column": 8
},
"end": {
"line": 370,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11158,
"end": 11159,
"loc": {
"start": {
"line": 370,
"column": 14
},
"end": {
"line": 370,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 11159,
"end": 11166,
"loc": {
"start": {
"line": 370,
"column": 15
},
"end": {
"line": 370,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11166,
"end": 11167,
"loc": {
"start": {
"line": 370,
"column": 22
},
"end": {
"line": 370,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "No context given",
"start": 11168,
"end": 11186,
"loc": {
"start": {
"line": 370,
"column": 24
},
"end": {
"line": 370,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11186,
"end": 11187,
"loc": {
"start": {
"line": 370,
"column": 42
},
"end": {
"line": 370,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11187,
"end": 11188,
"loc": {
"start": {
"line": 370,
"column": 43
},
"end": {
"line": 370,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 11198,
"end": 11204,
"loc": {
"start": {
"line": 371,
"column": 8
},
"end": {
"line": 371,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11204,
"end": 11205,
"loc": {
"start": {
"line": 371,
"column": 14
},
"end": {
"line": 371,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 11205,
"end": 11206,
"loc": {
"start": {
"line": 371,
"column": 15
},
"end": {
"line": 371,
"column": 16
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 11207,
"end": 11210,
"loc": {
"start": {
"line": 371,
"column": 17
},
"end": {
"line": 371,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 11211,
"end": 11220,
"loc": {
"start": {
"line": 371,
"column": 21
},
"end": {
"line": 371,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11220,
"end": 11221,
"loc": {
"start": {
"line": 371,
"column": 30
},
"end": {
"line": 371,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "No x given",
"start": 11222,
"end": 11234,
"loc": {
"start": {
"line": 371,
"column": 32
},
"end": {
"line": 371,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11234,
"end": 11235,
"loc": {
"start": {
"line": 371,
"column": 44
},
"end": {
"line": 371,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11235,
"end": 11236,
"loc": {
"start": {
"line": 371,
"column": 45
},
"end": {
"line": 371,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 11246,
"end": 11252,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11252,
"end": 11253,
"loc": {
"start": {
"line": 372,
"column": 14
},
"end": {
"line": 372,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 11253,
"end": 11254,
"loc": {
"start": {
"line": 372,
"column": 15
},
"end": {
"line": 372,
"column": 16
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 11255,
"end": 11258,
"loc": {
"start": {
"line": 372,
"column": 17
},
"end": {
"line": 372,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 11259,
"end": 11268,
"loc": {
"start": {
"line": 372,
"column": 21
},
"end": {
"line": 372,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11268,
"end": 11269,
"loc": {
"start": {
"line": 372,
"column": 30
},
"end": {
"line": 372,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "No y given",
"start": 11270,
"end": 11282,
"loc": {
"start": {
"line": 372,
"column": 32
},
"end": {
"line": 372,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11282,
"end": 11283,
"loc": {
"start": {
"line": 372,
"column": 44
},
"end": {
"line": 372,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11283,
"end": 11284,
"loc": {
"start": {
"line": 372,
"column": 45
},
"end": {
"line": 372,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 11294,
"end": 11300,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11300,
"end": 11301,
"loc": {
"start": {
"line": 373,
"column": 14
},
"end": {
"line": 373,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 11301,
"end": 11302,
"loc": {
"start": {
"line": 373,
"column": 15
},
"end": {
"line": 373,
"column": 16
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 11303,
"end": 11306,
"loc": {
"start": {
"line": 373,
"column": 17
},
"end": {
"line": 373,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 11307,
"end": 11316,
"loc": {
"start": {
"line": 373,
"column": 21
},
"end": {
"line": 373,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11316,
"end": 11317,
"loc": {
"start": {
"line": 373,
"column": 30
},
"end": {
"line": 373,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "No width given",
"start": 11318,
"end": 11334,
"loc": {
"start": {
"line": 373,
"column": 32
},
"end": {
"line": 373,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11334,
"end": 11335,
"loc": {
"start": {
"line": 373,
"column": 48
},
"end": {
"line": 373,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11335,
"end": 11336,
"loc": {
"start": {
"line": 373,
"column": 49
},
"end": {
"line": 373,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 11346,
"end": 11352,
"loc": {
"start": {
"line": 374,
"column": 8
},
"end": {
"line": 374,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11352,
"end": 11353,
"loc": {
"start": {
"line": 374,
"column": 14
},
"end": {
"line": 374,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 11353,
"end": 11354,
"loc": {
"start": {
"line": 374,
"column": 15
},
"end": {
"line": 374,
"column": 16
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 11355,
"end": 11358,
"loc": {
"start": {
"line": 374,
"column": 17
},
"end": {
"line": 374,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 11359,
"end": 11368,
"loc": {
"start": {
"line": 374,
"column": 21
},
"end": {
"line": 374,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11368,
"end": 11369,
"loc": {
"start": {
"line": 374,
"column": 30
},
"end": {
"line": 374,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "No height given",
"start": 11370,
"end": 11387,
"loc": {
"start": {
"line": 374,
"column": 32
},
"end": {
"line": 374,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11387,
"end": 11388,
"loc": {
"start": {
"line": 374,
"column": 49
},
"end": {
"line": 374,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11388,
"end": 11389,
"loc": {
"start": {
"line": 374,
"column": 50
},
"end": {
"line": 374,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 11399,
"end": 11406,
"loc": {
"start": {
"line": 375,
"column": 8
},
"end": {
"line": 375,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11406,
"end": 11407,
"loc": {
"start": {
"line": 375,
"column": 15
},
"end": {
"line": 375,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawImage",
"start": 11407,
"end": 11416,
"loc": {
"start": {
"line": 375,
"column": 16
},
"end": {
"line": 375,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11416,
"end": 11417,
"loc": {
"start": {
"line": 375,
"column": 25
},
"end": {
"line": 375,
"column": 26
}
}
},
{
"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": 11417,
"end": 11421,
"loc": {
"start": {
"line": 375,
"column": 26
},
"end": {
"line": 375,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11421,
"end": 11422,
"loc": {
"start": {
"line": 375,
"column": 30
},
"end": {
"line": 375,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sprite",
"start": 11422,
"end": 11428,
"loc": {
"start": {
"line": 375,
"column": 31
},
"end": {
"line": 375,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11428,
"end": 11429,
"loc": {
"start": {
"line": 375,
"column": 37
},
"end": {
"line": 375,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 11430,
"end": 11431,
"loc": {
"start": {
"line": 375,
"column": 39
},
"end": {
"line": 375,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11431,
"end": 11432,
"loc": {
"start": {
"line": 375,
"column": 40
},
"end": {
"line": 375,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 11433,
"end": 11434,
"loc": {
"start": {
"line": 375,
"column": 42
},
"end": {
"line": 375,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11434,
"end": 11435,
"loc": {
"start": {
"line": 375,
"column": 43
},
"end": {
"line": 375,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 11436,
"end": 11437,
"loc": {
"start": {
"line": 375,
"column": 45
},
"end": {
"line": 375,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11437,
"end": 11438,
"loc": {
"start": {
"line": 375,
"column": 46
},
"end": {
"line": 375,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 11439,
"end": 11440,
"loc": {
"start": {
"line": 375,
"column": 48
},
"end": {
"line": 375,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11440,
"end": 11441,
"loc": {
"start": {
"line": 375,
"column": 49
},
"end": {
"line": 375,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11441,
"end": 11442,
"loc": {
"start": {
"line": 375,
"column": 50
},
"end": {
"line": 375,
"column": 51
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11448,
"end": 11449,
"loc": {
"start": {
"line": 376,
"column": 4
},
"end": {
"line": 376,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the sprite, do *not* use this for sprites which are rendered! Only for drawing\r\n * images into buffers\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {number} w\r\n * @param {number} h\r\n ",
"start": 11457,
"end": 11744,
"loc": {
"start": {
"line": 378,
"column": 4
},
"end": {
"line": 386,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawCentered",
"start": 11750,
"end": 11762,
"loc": {
"start": {
"line": 387,
"column": 4
},
"end": {
"line": 387,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11762,
"end": 11763,
"loc": {
"start": {
"line": 387,
"column": 16
},
"end": {
"line": 387,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 11763,
"end": 11770,
"loc": {
"start": {
"line": 387,
"column": 17
},
"end": {
"line": 387,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11770,
"end": 11771,
"loc": {
"start": {
"line": 387,
"column": 24
},
"end": {
"line": 387,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 11772,
"end": 11773,
"loc": {
"start": {
"line": 387,
"column": 26
},
"end": {
"line": 387,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11773,
"end": 11774,
"loc": {
"start": {
"line": 387,
"column": 27
},
"end": {
"line": 387,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 11775,
"end": 11776,
"loc": {
"start": {
"line": 387,
"column": 29
},
"end": {
"line": 387,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11776,
"end": 11777,
"loc": {
"start": {
"line": 387,
"column": 30
},
"end": {
"line": 387,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 11778,
"end": 11779,
"loc": {
"start": {
"line": 387,
"column": 32
},
"end": {
"line": 387,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11779,
"end": 11780,
"loc": {
"start": {
"line": 387,
"column": 33
},
"end": {
"line": 387,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 11781,
"end": 11782,
"loc": {
"start": {
"line": 387,
"column": 35
},
"end": {
"line": 387,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11782,
"end": 11783,
"loc": {
"start": {
"line": 387,
"column": 36
},
"end": {
"line": 387,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11784,
"end": 11785,
"loc": {
"start": {
"line": 387,
"column": 38
},
"end": {
"line": 387,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 11795,
"end": 11801,
"loc": {
"start": {
"line": 388,
"column": 8
},
"end": {
"line": 388,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11801,
"end": 11802,
"loc": {
"start": {
"line": 388,
"column": 14
},
"end": {
"line": 388,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 11802,
"end": 11809,
"loc": {
"start": {
"line": 388,
"column": 15
},
"end": {
"line": 388,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11809,
"end": 11810,
"loc": {
"start": {
"line": 388,
"column": 22
},
"end": {
"line": 388,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "No context given",
"start": 11811,
"end": 11829,
"loc": {
"start": {
"line": 388,
"column": 24
},
"end": {
"line": 388,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11829,
"end": 11830,
"loc": {
"start": {
"line": 388,
"column": 42
},
"end": {
"line": 388,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11830,
"end": 11831,
"loc": {
"start": {
"line": 388,
"column": 43
},
"end": {
"line": 388,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 11841,
"end": 11847,
"loc": {
"start": {
"line": 389,
"column": 8
},
"end": {
"line": 389,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11847,
"end": 11848,
"loc": {
"start": {
"line": 389,
"column": 14
},
"end": {
"line": 389,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 11848,
"end": 11849,
"loc": {
"start": {
"line": 389,
"column": 15
},
"end": {
"line": 389,
"column": 16
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 11850,
"end": 11853,
"loc": {
"start": {
"line": 389,
"column": 17
},
"end": {
"line": 389,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 11854,
"end": 11863,
"loc": {
"start": {
"line": 389,
"column": 21
},
"end": {
"line": 389,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11863,
"end": 11864,
"loc": {
"start": {
"line": 389,
"column": 30
},
"end": {
"line": 389,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "No x given",
"start": 11865,
"end": 11877,
"loc": {
"start": {
"line": 389,
"column": 32
},
"end": {
"line": 389,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11877,
"end": 11878,
"loc": {
"start": {
"line": 389,
"column": 44
},
"end": {
"line": 389,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11878,
"end": 11879,
"loc": {
"start": {
"line": 389,
"column": 45
},
"end": {
"line": 389,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 11889,
"end": 11895,
"loc": {
"start": {
"line": 390,
"column": 8
},
"end": {
"line": 390,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11895,
"end": 11896,
"loc": {
"start": {
"line": 390,
"column": 14
},
"end": {
"line": 390,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 11896,
"end": 11897,
"loc": {
"start": {
"line": 390,
"column": 15
},
"end": {
"line": 390,
"column": 16
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 11898,
"end": 11901,
"loc": {
"start": {
"line": 390,
"column": 17
},
"end": {
"line": 390,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 11902,
"end": 11911,
"loc": {
"start": {
"line": 390,
"column": 21
},
"end": {
"line": 390,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11911,
"end": 11912,
"loc": {
"start": {
"line": 390,
"column": 30
},
"end": {
"line": 390,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "No y given",
"start": 11913,
"end": 11925,
"loc": {
"start": {
"line": 390,
"column": 32
},
"end": {
"line": 390,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11925,
"end": 11926,
"loc": {
"start": {
"line": 390,
"column": 44
},
"end": {
"line": 390,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11926,
"end": 11927,
"loc": {
"start": {
"line": 390,
"column": 45
},
"end": {
"line": 390,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 11937,
"end": 11943,
"loc": {
"start": {
"line": 391,
"column": 8
},
"end": {
"line": 391,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11943,
"end": 11944,
"loc": {
"start": {
"line": 391,
"column": 14
},
"end": {
"line": 391,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 11944,
"end": 11945,
"loc": {
"start": {
"line": 391,
"column": 15
},
"end": {
"line": 391,
"column": 16
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 11946,
"end": 11949,
"loc": {
"start": {
"line": 391,
"column": 17
},
"end": {
"line": 391,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 11950,
"end": 11959,
"loc": {
"start": {
"line": 391,
"column": 21
},
"end": {
"line": 391,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11959,
"end": 11960,
"loc": {
"start": {
"line": 391,
"column": 30
},
"end": {
"line": 391,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "No width given",
"start": 11961,
"end": 11977,
"loc": {
"start": {
"line": 391,
"column": 32
},
"end": {
"line": 391,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11977,
"end": 11978,
"loc": {
"start": {
"line": 391,
"column": 48
},
"end": {
"line": 391,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11978,
"end": 11979,
"loc": {
"start": {
"line": 391,
"column": 49
},
"end": {
"line": 391,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 11989,
"end": 11995,
"loc": {
"start": {
"line": 392,
"column": 8
},
"end": {
"line": 392,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11995,
"end": 11996,
"loc": {
"start": {
"line": 392,
"column": 14
},
"end": {
"line": 392,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 11996,
"end": 11997,
"loc": {
"start": {
"line": 392,
"column": 15
},
"end": {
"line": 392,
"column": 16
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 11998,
"end": 12001,
"loc": {
"start": {
"line": 392,
"column": 17
},
"end": {
"line": 392,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 12002,
"end": 12011,
"loc": {
"start": {
"line": 392,
"column": 21
},
"end": {
"line": 392,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12011,
"end": 12012,
"loc": {
"start": {
"line": 392,
"column": 30
},
"end": {
"line": 392,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "No height given",
"start": 12013,
"end": 12030,
"loc": {
"start": {
"line": 392,
"column": 32
},
"end": {
"line": 392,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12030,
"end": 12031,
"loc": {
"start": {
"line": 392,
"column": 49
},
"end": {
"line": 392,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12031,
"end": 12032,
"loc": {
"start": {
"line": 392,
"column": 50
},
"end": {
"line": 392,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 12042,
"end": 12049,
"loc": {
"start": {
"line": 393,
"column": 8
},
"end": {
"line": 393,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12049,
"end": 12050,
"loc": {
"start": {
"line": 393,
"column": 15
},
"end": {
"line": 393,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawImage",
"start": 12050,
"end": 12059,
"loc": {
"start": {
"line": 393,
"column": 16
},
"end": {
"line": 393,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12059,
"end": 12060,
"loc": {
"start": {
"line": 393,
"column": 25
},
"end": {
"line": 393,
"column": 26
}
}
},
{
"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": 12060,
"end": 12064,
"loc": {
"start": {
"line": 393,
"column": 26
},
"end": {
"line": 393,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12064,
"end": 12065,
"loc": {
"start": {
"line": 393,
"column": 30
},
"end": {
"line": 393,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sprite",
"start": 12065,
"end": 12071,
"loc": {
"start": {
"line": 393,
"column": 31
},
"end": {
"line": 393,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12071,
"end": 12072,
"loc": {
"start": {
"line": 393,
"column": 37
},
"end": {
"line": 393,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 12073,
"end": 12074,
"loc": {
"start": {
"line": 393,
"column": 39
},
"end": {
"line": 393,
"column": 40
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 12075,
"end": 12076,
"loc": {
"start": {
"line": 393,
"column": 41
},
"end": {
"line": 393,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 12077,
"end": 12078,
"loc": {
"start": {
"line": 393,
"column": 43
},
"end": {
"line": 393,
"column": 44
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 12079,
"end": 12080,
"loc": {
"start": {
"line": 393,
"column": 45
},
"end": {
"line": 393,
"column": 46
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 12081,
"end": 12082,
"loc": {
"start": {
"line": 393,
"column": 47
},
"end": {
"line": 393,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12082,
"end": 12083,
"loc": {
"start": {
"line": 393,
"column": 48
},
"end": {
"line": 393,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 12084,
"end": 12085,
"loc": {
"start": {
"line": 393,
"column": 50
},
"end": {
"line": 393,
"column": 51
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 12086,
"end": 12087,
"loc": {
"start": {
"line": 393,
"column": 52
},
"end": {
"line": 393,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 12088,
"end": 12089,
"loc": {
"start": {
"line": 393,
"column": 54
},
"end": {
"line": 393,
"column": 55
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 12090,
"end": 12091,
"loc": {
"start": {
"line": 393,
"column": 56
},
"end": {
"line": 393,
"column": 57
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 12092,
"end": 12093,
"loc": {
"start": {
"line": 393,
"column": 58
},
"end": {
"line": 393,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12093,
"end": 12094,
"loc": {
"start": {
"line": 393,
"column": 59
},
"end": {
"line": 393,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 12095,
"end": 12096,
"loc": {
"start": {
"line": 393,
"column": 61
},
"end": {
"line": 393,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12096,
"end": 12097,
"loc": {
"start": {
"line": 393,
"column": 62
},
"end": {
"line": 393,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 12098,
"end": 12099,
"loc": {
"start": {
"line": 393,
"column": 64
},
"end": {
"line": 393,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12099,
"end": 12100,
"loc": {
"start": {
"line": 393,
"column": 65
},
"end": {
"line": 393,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12100,
"end": 12101,
"loc": {
"start": {
"line": 393,
"column": 66
},
"end": {
"line": 393,
"column": 67
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12107,
"end": 12108,
"loc": {
"start": {
"line": 394,
"column": 4
},
"end": {
"line": 394,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12110,
"end": 12111,
"loc": {
"start": {
"line": 395,
"column": 0
},
"end": {
"line": 395,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12113,
"end": 12113,
"loc": {
"start": {
"line": 396,
"column": 0
},
"end": {
"line": 396,
"column": 0
}
}
}
]
}