diff --git a/docs/ast/source/icon.mjs.json b/docs/ast/source/icon.mjs.json index 7427d10..87e5b7a 100644 --- a/docs/ast/source/icon.mjs.json +++ b/docs/ast/source/icon.mjs.json @@ -9029,9 +9029,9 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Removes the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", + "value": "*\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", "start": 7330, - "end": 7691, + "end": 7711, "loc": { "start": { "line": 229, @@ -9047,8 +9047,8 @@ }, { "type": "ClassMethod", - "start": 7697, - "end": 8459, + "start": 7717, + "end": 8479, "loc": { "start": { "line": 235, @@ -9063,8 +9063,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 7697, - "end": 7708, + "start": 7717, + "end": 7728, "loc": { "start": { "line": 235, @@ -9087,8 +9087,8 @@ "params": [ { "type": "Identifier", - "start": 7709, - "end": 7715, + "start": 7729, + "end": 7735, "loc": { "start": { "line": 235, @@ -9104,8 +9104,8 @@ }, { "type": "Identifier", - "start": 7717, - "end": 7722, + "start": 7737, + "end": 7742, "loc": { "start": { "line": 235, @@ -9122,8 +9122,8 @@ ], "body": { "type": "BlockStatement", - "start": 7724, - "end": 8459, + "start": 7744, + "end": 8479, "loc": { "start": { "line": 235, @@ -9137,8 +9137,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 7784, - "end": 7794, + "start": 7804, + "end": 7814, "loc": { "start": { "line": 237, @@ -9152,8 +9152,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 7788, - "end": 7793, + "start": 7808, + "end": 7813, "loc": { "start": { "line": 237, @@ -9166,8 +9166,8 @@ }, "id": { "type": "Identifier", - "start": 7788, - "end": 7793, + "start": 7808, + "end": 7813, "loc": { "start": { "line": 237, @@ -9191,8 +9191,8 @@ { "type": "CommentLine", "value": " The index used to remove this frame.", - "start": 7735, - "end": 7774, + "start": 7755, + "end": 7794, "loc": { "start": { "line": 236, @@ -9209,8 +9209,8 @@ { "type": "CommentLine", "value": " Remove via reference to state.", - "start": 7804, - "end": 7837, + "start": 7824, + "end": 7857, "loc": { "start": { "line": 238, @@ -9226,8 +9226,8 @@ }, { "type": "IfStatement", - "start": 7847, - "end": 8300, + "start": 7867, + "end": 8320, "loc": { "start": { "line": 239, @@ -9240,8 +9240,8 @@ }, "test": { "type": "CallExpression", - "start": 7851, - "end": 7879, + "start": 7871, + "end": 7899, "loc": { "start": { "line": 239, @@ -9254,8 +9254,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7851, - "end": 7871, + "start": 7871, + "end": 7891, "loc": { "start": { "line": 239, @@ -9268,8 +9268,8 @@ }, "object": { "type": "MemberExpression", - "start": 7851, - "end": 7862, + "start": 7871, + "end": 7882, "loc": { "start": { "line": 239, @@ -9282,8 +9282,8 @@ }, "object": { "type": "ThisExpression", - "start": 7851, - "end": 7855, + "start": 7871, + "end": 7875, "loc": { "start": { "line": 239, @@ -9298,8 +9298,8 @@ }, "property": { "type": "Identifier", - "start": 7856, - "end": 7862, + "start": 7876, + "end": 7882, "loc": { "start": { "line": 239, @@ -9318,8 +9318,8 @@ }, "property": { "type": "Identifier", - "start": 7863, - "end": 7871, + "start": 7883, + "end": 7891, "loc": { "start": { "line": 239, @@ -9339,8 +9339,8 @@ "arguments": [ { "type": "Identifier", - "start": 7872, - "end": 7878, + "start": 7892, + "end": 7898, "loc": { "start": { "line": 239, @@ -9359,8 +9359,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 7881, - "end": 7984, + "start": 7901, + "end": 8004, "loc": { "start": { "line": 239, @@ -9374,8 +9374,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 7896, - "end": 7932, + "start": 7916, + "end": 7952, "loc": { "start": { "line": 240, @@ -9388,8 +9388,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 7896, - "end": 7931, + "start": 7916, + "end": 7951, "loc": { "start": { "line": 240, @@ -9403,8 +9403,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 7896, - "end": 7901, + "start": 7916, + "end": 7921, "loc": { "start": { "line": 240, @@ -9420,8 +9420,8 @@ }, "right": { "type": "CallExpression", - "start": 7904, - "end": 7931, + "start": 7924, + "end": 7951, "loc": { "start": { "line": 240, @@ -9434,8 +9434,8 @@ }, "callee": { "type": "MemberExpression", - "start": 7904, - "end": 7923, + "start": 7924, + "end": 7943, "loc": { "start": { "line": 240, @@ -9448,8 +9448,8 @@ }, "object": { "type": "MemberExpression", - "start": 7904, - "end": 7915, + "start": 7924, + "end": 7935, "loc": { "start": { "line": 240, @@ -9462,8 +9462,8 @@ }, "object": { "type": "ThisExpression", - "start": 7904, - "end": 7908, + "start": 7924, + "end": 7928, "loc": { "start": { "line": 240, @@ -9477,8 +9477,8 @@ }, "property": { "type": "Identifier", - "start": 7909, - "end": 7915, + "start": 7929, + "end": 7935, "loc": { "start": { "line": 240, @@ -9496,8 +9496,8 @@ }, "property": { "type": "Identifier", - "start": 7916, - "end": 7923, + "start": 7936, + "end": 7943, "loc": { "start": { "line": 240, @@ -9516,8 +9516,8 @@ "arguments": [ { "type": "Identifier", - "start": 7924, - "end": 7930, + "start": 7944, + "end": 7950, "loc": { "start": { "line": 240, @@ -9538,8 +9538,8 @@ { "type": "CommentLine", "value": " Remove via reference to name", - "start": 7942, - "end": 7973, + "start": 7962, + "end": 7993, "loc": { "start": { "line": 241, @@ -9558,8 +9558,8 @@ }, "alternate": { "type": "IfStatement", - "start": 7990, - "end": 8300, + "start": 8010, + "end": 8320, "loc": { "start": { "line": 242, @@ -9572,8 +9572,8 @@ }, "test": { "type": "BinaryExpression", - "start": 7994, - "end": 8020, + "start": 8014, + "end": 8040, "loc": { "start": { "line": 242, @@ -9586,8 +9586,8 @@ }, "left": { "type": "UnaryExpression", - "start": 7994, - "end": 8007, + "start": 8014, + "end": 8027, "loc": { "start": { "line": 242, @@ -9602,8 +9602,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 8001, - "end": 8006, + "start": 8021, + "end": 8026, "loc": { "start": { "line": 242, @@ -9618,7 +9618,7 @@ "name": "pName", "extra": { "parenthesized": true, - "parenStart": 8000 + "parenStart": 8020 } }, "extra": { @@ -9628,8 +9628,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 8012, - "end": 8020, + "start": 8032, + "end": 8040, "loc": { "start": { "line": 242, @@ -9649,8 +9649,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 8022, - "end": 8177, + "start": 8042, + "end": 8197, "loc": { "start": { "line": 242, @@ -9664,8 +9664,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 8037, - "end": 8072, + "start": 8057, + "end": 8092, "loc": { "start": { "line": 243, @@ -9679,8 +9679,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 8043, - "end": 8071, + "start": 8063, + "end": 8091, "loc": { "start": { "line": 243, @@ -9693,8 +9693,8 @@ }, "id": { "type": "Identifier", - "start": 8043, - "end": 8048, + "start": 8063, + "end": 8068, "loc": { "start": { "line": 243, @@ -9710,8 +9710,8 @@ }, "init": { "type": "CallExpression", - "start": 8051, - "end": 8071, + "start": 8071, + "end": 8091, "loc": { "start": { "line": 243, @@ -9724,8 +9724,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8051, - "end": 8064, + "start": 8071, + "end": 8084, "loc": { "start": { "line": 243, @@ -9738,8 +9738,8 @@ }, "object": { "type": "ThisExpression", - "start": 8051, - "end": 8055, + "start": 8071, + "end": 8075, "loc": { "start": { "line": 243, @@ -9753,8 +9753,8 @@ }, "property": { "type": "Identifier", - "start": 8056, - "end": 8064, + "start": 8076, + "end": 8084, "loc": { "start": { "line": 243, @@ -9773,8 +9773,8 @@ "arguments": [ { "type": "Identifier", - "start": 8065, - "end": 8070, + "start": 8085, + "end": 8090, "loc": { "start": { "line": 243, @@ -9796,8 +9796,8 @@ }, { "type": "IfStatement", - "start": 8086, - "end": 8166, + "start": 8106, + "end": 8186, "loc": { "start": { "line": 244, @@ -9810,8 +9810,8 @@ }, "test": { "type": "Identifier", - "start": 8090, - "end": 8095, + "start": 8110, + "end": 8115, "loc": { "start": { "line": 244, @@ -9827,8 +9827,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 8097, - "end": 8166, + "start": 8117, + "end": 8186, "loc": { "start": { "line": 244, @@ -9842,8 +9842,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 8116, - "end": 8151, + "start": 8136, + "end": 8171, "loc": { "start": { "line": 245, @@ -9856,8 +9856,8 @@ }, "expression": { "type": "AssignmentExpression", - "start": 8116, - "end": 8150, + "start": 8136, + "end": 8170, "loc": { "start": { "line": 245, @@ -9871,8 +9871,8 @@ "operator": "=", "left": { "type": "Identifier", - "start": 8116, - "end": 8121, + "start": 8136, + "end": 8141, "loc": { "start": { "line": 245, @@ -9888,8 +9888,8 @@ }, "right": { "type": "CallExpression", - "start": 8124, - "end": 8150, + "start": 8144, + "end": 8170, "loc": { "start": { "line": 245, @@ -9902,8 +9902,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8124, - "end": 8143, + "start": 8144, + "end": 8163, "loc": { "start": { "line": 245, @@ -9916,8 +9916,8 @@ }, "object": { "type": "MemberExpression", - "start": 8124, - "end": 8135, + "start": 8144, + "end": 8155, "loc": { "start": { "line": 245, @@ -9930,8 +9930,8 @@ }, "object": { "type": "ThisExpression", - "start": 8124, - "end": 8128, + "start": 8144, + "end": 8148, "loc": { "start": { "line": 245, @@ -9945,8 +9945,8 @@ }, "property": { "type": "Identifier", - "start": 8129, - "end": 8135, + "start": 8149, + "end": 8155, "loc": { "start": { "line": 245, @@ -9964,8 +9964,8 @@ }, "property": { "type": "Identifier", - "start": 8136, - "end": 8143, + "start": 8156, + "end": 8163, "loc": { "start": { "line": 245, @@ -9984,8 +9984,8 @@ "arguments": [ { "type": "Identifier", - "start": 8144, - "end": 8149, + "start": 8164, + "end": 8169, "loc": { "start": { "line": 245, @@ -10013,8 +10013,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 8183, - "end": 8300, + "start": 8203, + "end": 8320, "loc": { "start": { "line": 247, @@ -10028,8 +10028,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 8198, - "end": 8263, + "start": 8218, + "end": 8283, "loc": { "start": { "line": 248, @@ -10042,8 +10042,8 @@ }, "expression": { "type": "CallExpression", - "start": 8198, - "end": 8262, + "start": 8218, + "end": 8282, "loc": { "start": { "line": 248, @@ -10056,8 +10056,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8198, - "end": 8235, + "start": 8218, + "end": 8255, "loc": { "start": { "line": 248, @@ -10070,8 +10070,8 @@ }, "object": { "type": "CallExpression", - "start": 8198, - "end": 8229, + "start": 8218, + "end": 8249, "loc": { "start": { "line": 248, @@ -10084,8 +10084,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8198, - "end": 8215, + "start": 8218, + "end": 8235, "loc": { "start": { "line": 248, @@ -10098,8 +10098,8 @@ }, "object": { "type": "MemberExpression", - "start": 8198, - "end": 8208, + "start": 8218, + "end": 8228, "loc": { "start": { "line": 248, @@ -10112,8 +10112,8 @@ }, "object": { "type": "Identifier", - "start": 8198, - "end": 8201, + "start": 8218, + "end": 8221, "loc": { "start": { "line": 248, @@ -10129,8 +10129,8 @@ }, "property": { "type": "Identifier", - "start": 8202, - "end": 8208, + "start": 8222, + "end": 8228, "loc": { "start": { "line": 248, @@ -10148,8 +10148,8 @@ }, "property": { "type": "Identifier", - "start": 8209, - "end": 8215, + "start": 8229, + "end": 8235, "loc": { "start": { "line": 248, @@ -10168,8 +10168,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 8216, - "end": 8228, + "start": 8236, + "end": 8248, "loc": { "start": { "line": 248, @@ -10190,8 +10190,8 @@ }, "property": { "type": "Identifier", - "start": 8230, - "end": 8235, + "start": 8250, + "end": 8255, "loc": { "start": { "line": 248, @@ -10210,8 +10210,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 8236, - "end": 8261, + "start": 8256, + "end": 8281, "loc": { "start": { "line": 248, @@ -10233,8 +10233,8 @@ }, { "type": "ReturnStatement", - "start": 8277, - "end": 8289, + "start": 8297, + "end": 8309, "loc": { "start": { "line": 249, @@ -10247,8 +10247,8 @@ }, "argument": { "type": "ThisExpression", - "start": 8284, - "end": 8288, + "start": 8304, + "end": 8308, "loc": { "start": { "line": 249, @@ -10269,8 +10269,8 @@ { "type": "CommentLine", "value": " Remove via reference to state.", - "start": 7804, - "end": 7837, + "start": 7824, + "end": 7857, "loc": { "start": { "line": 238, @@ -10286,8 +10286,8 @@ }, { "type": "IfStatement", - "start": 8310, - "end": 8430, + "start": 8330, + "end": 8450, "loc": { "start": { "line": 251, @@ -10300,8 +10300,8 @@ }, "test": { "type": "BinaryExpression", - "start": 8314, - "end": 8340, + "start": 8334, + "end": 8360, "loc": { "start": { "line": 251, @@ -10314,8 +10314,8 @@ }, "left": { "type": "UnaryExpression", - "start": 8314, - "end": 8327, + "start": 8334, + "end": 8347, "loc": { "start": { "line": 251, @@ -10330,8 +10330,8 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 8321, - "end": 8326, + "start": 8341, + "end": 8346, "loc": { "start": { "line": 251, @@ -10346,7 +10346,7 @@ "name": "index", "extra": { "parenthesized": true, - "parenStart": 8320 + "parenStart": 8340 } }, "extra": { @@ -10356,8 +10356,8 @@ "operator": "===", "right": { "type": "StringLiteral", - "start": 8332, - "end": 8340, + "start": 8352, + "end": 8360, "loc": { "start": { "line": 251, @@ -10377,8 +10377,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 8342, - "end": 8430, + "start": 8362, + "end": 8450, "loc": { "start": { "line": 251, @@ -10392,8 +10392,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 8390, - "end": 8419, + "start": 8410, + "end": 8439, "loc": { "start": { "line": 253, @@ -10406,8 +10406,8 @@ }, "expression": { "type": "CallExpression", - "start": 8390, - "end": 8418, + "start": 8410, + "end": 8438, "loc": { "start": { "line": 253, @@ -10420,8 +10420,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8390, - "end": 8408, + "start": 8410, + "end": 8428, "loc": { "start": { "line": 253, @@ -10434,8 +10434,8 @@ }, "object": { "type": "MemberExpression", - "start": 8390, - "end": 8401, + "start": 8410, + "end": 8421, "loc": { "start": { "line": 253, @@ -10448,8 +10448,8 @@ }, "object": { "type": "ThisExpression", - "start": 8390, - "end": 8394, + "start": 8410, + "end": 8414, "loc": { "start": { "line": 253, @@ -10464,8 +10464,8 @@ }, "property": { "type": "Identifier", - "start": 8395, - "end": 8401, + "start": 8415, + "end": 8421, "loc": { "start": { "line": 253, @@ -10484,8 +10484,8 @@ }, "property": { "type": "Identifier", - "start": 8402, - "end": 8408, + "start": 8422, + "end": 8428, "loc": { "start": { "line": 253, @@ -10505,8 +10505,8 @@ "arguments": [ { "type": "Identifier", - "start": 8409, - "end": 8414, + "start": 8429, + "end": 8434, "loc": { "start": { "line": 253, @@ -10522,8 +10522,8 @@ }, { "type": "NumericLiteral", - "start": 8416, - "end": 8417, + "start": 8436, + "end": 8437, "loc": { "start": { "line": 253, @@ -10547,8 +10547,8 @@ { "type": "CommentLine", "value": " Remove the state", - "start": 8357, - "end": 8376, + "start": 8377, + "end": 8396, "loc": { "start": { "line": 252, @@ -10569,8 +10569,8 @@ }, { "type": "ReturnStatement", - "start": 8440, - "end": 8452, + "start": 8460, + "end": 8472, "loc": { "start": { "line": 255, @@ -10583,8 +10583,8 @@ }, "argument": { "type": "ThisExpression", - "start": 8447, - "end": 8451, + "start": 8467, + "end": 8471, "loc": { "start": { "line": 255, @@ -10604,9 +10604,9 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Removes the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", + "value": "*\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", "start": 7330, - "end": 7691, + "end": 7711, "loc": { "start": { "line": 229, @@ -10623,8 +10623,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Object} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", - "start": 8465, - "end": 8662, + "start": 8485, + "end": 8682, "loc": { "start": { "line": 257, @@ -10640,8 +10640,8 @@ }, { "type": "ClassMethod", - "start": 8668, - "end": 9278, + "start": 8688, + "end": 9298, "loc": { "start": { "line": 262, @@ -10656,8 +10656,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 8668, - "end": 8676, + "start": 8688, + "end": 8696, "loc": { "start": { "line": 262, @@ -10680,8 +10680,8 @@ "params": [ { "type": "Identifier", - "start": 8677, - "end": 8687, + "start": 8697, + "end": 8707, "loc": { "start": { "line": 262, @@ -10698,8 +10698,8 @@ ], "body": { "type": "BlockStatement", - "start": 8689, - "end": 9278, + "start": 8709, + "end": 9298, "loc": { "start": { "line": 262, @@ -10713,8 +10713,8 @@ "body": [ { "type": "IfStatement", - "start": 8700, - "end": 9271, + "start": 8720, + "end": 9291, "loc": { "start": { "line": 263, @@ -10727,8 +10727,8 @@ }, "test": { "type": "Identifier", - "start": 8704, - "end": 8714, + "start": 8724, + "end": 8734, "loc": { "start": { "line": 263, @@ -10744,8 +10744,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 8716, - "end": 9176, + "start": 8736, + "end": 9196, "loc": { "start": { "line": 263, @@ -10759,8 +10759,8 @@ "body": [ { "type": "IfStatement", - "start": 8731, - "end": 9165, + "start": 8751, + "end": 9185, "loc": { "start": { "line": 264, @@ -10773,8 +10773,8 @@ }, "test": { "type": "BinaryExpression", - "start": 8735, - "end": 8763, + "start": 8755, + "end": 8783, "loc": { "start": { "line": 264, @@ -10787,8 +10787,8 @@ }, "left": { "type": "Identifier", - "start": 8735, - "end": 8745, + "start": 8755, + "end": 8765, "loc": { "start": { "line": 264, @@ -10805,8 +10805,8 @@ "operator": "instanceof", "right": { "type": "Identifier", - "start": 8757, - "end": 8763, + "start": 8777, + "end": 8783, "loc": { "start": { "line": 264, @@ -10823,8 +10823,8 @@ }, "consequent": { "type": "BlockStatement", - "start": 8765, - "end": 9057, + "start": 8785, + "end": 9077, "loc": { "start": { "line": 264, @@ -10838,8 +10838,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 8784, - "end": 8826, + "start": 8804, + "end": 8846, "loc": { "start": { "line": 265, @@ -10853,8 +10853,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 8790, - "end": 8825, + "start": 8810, + "end": 8845, "loc": { "start": { "line": 265, @@ -10867,8 +10867,8 @@ }, "id": { "type": "Identifier", - "start": 8790, - "end": 8795, + "start": 8810, + "end": 8815, "loc": { "start": { "line": 265, @@ -10884,8 +10884,8 @@ }, "init": { "type": "NewExpression", - "start": 8798, - "end": 8825, + "start": 8818, + "end": 8845, "loc": { "start": { "line": 265, @@ -10898,8 +10898,8 @@ }, "callee": { "type": "Identifier", - "start": 8802, - "end": 8807, + "start": 8822, + "end": 8827, "loc": { "start": { "line": 265, @@ -10916,8 +10916,8 @@ "arguments": [ { "type": "Identifier", - "start": 8808, - "end": 8818, + "start": 8828, + "end": 8838, "loc": { "start": { "line": 265, @@ -10933,8 +10933,8 @@ }, { "type": "ThisExpression", - "start": 8820, - "end": 8824, + "start": 8840, + "end": 8844, "loc": { "start": { "line": 265, @@ -10955,8 +10955,8 @@ { "type": "CommentLine", "value": " Add the frame to the frames array.", - "start": 8844, - "end": 8881, + "start": 8864, + "end": 8901, "loc": { "start": { "line": 266, @@ -10972,8 +10972,8 @@ }, { "type": "ExpressionStatement", - "start": 8899, - "end": 8923, + "start": 8919, + "end": 8943, "loc": { "start": { "line": 267, @@ -10986,8 +10986,8 @@ }, "expression": { "type": "CallExpression", - "start": 8899, - "end": 8922, + "start": 8919, + "end": 8942, "loc": { "start": { "line": 267, @@ -11000,8 +11000,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8899, - "end": 8915, + "start": 8919, + "end": 8935, "loc": { "start": { "line": 267, @@ -11014,8 +11014,8 @@ }, "object": { "type": "MemberExpression", - "start": 8899, - "end": 8910, + "start": 8919, + "end": 8930, "loc": { "start": { "line": 267, @@ -11028,8 +11028,8 @@ }, "object": { "type": "ThisExpression", - "start": 8899, - "end": 8903, + "start": 8919, + "end": 8923, "loc": { "start": { "line": 267, @@ -11044,8 +11044,8 @@ }, "property": { "type": "Identifier", - "start": 8904, - "end": 8910, + "start": 8924, + "end": 8930, "loc": { "start": { "line": 267, @@ -11064,8 +11064,8 @@ }, "property": { "type": "Identifier", - "start": 8911, - "end": 8915, + "start": 8931, + "end": 8935, "loc": { "start": { "line": 267, @@ -11085,8 +11085,8 @@ "arguments": [ { "type": "Identifier", - "start": 8916, - "end": 8921, + "start": 8936, + "end": 8941, "loc": { "start": { "line": 267, @@ -11107,8 +11107,8 @@ { "type": "CommentLine", "value": " Add the frame to the frames array.", - "start": 8844, - "end": 8881, + "start": 8864, + "end": 8901, "loc": { "start": { "line": 266, @@ -11125,8 +11125,8 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 8941, - "end": 8974, + "start": 8961, + "end": 8994, "loc": { "start": { "line": 268, @@ -11142,8 +11142,8 @@ }, { "type": "ExpressionStatement", - "start": 8992, - "end": 9011, + "start": 9012, + "end": 9031, "loc": { "start": { "line": 269, @@ -11156,8 +11156,8 @@ }, "expression": { "type": "CallExpression", - "start": 8992, - "end": 9010, + "start": 9012, + "end": 9030, "loc": { "start": { "line": 269, @@ -11170,8 +11170,8 @@ }, "callee": { "type": "MemberExpression", - "start": 8992, - "end": 9008, + "start": 9012, + "end": 9028, "loc": { "start": { "line": 269, @@ -11184,8 +11184,8 @@ }, "object": { "type": "ThisExpression", - "start": 8992, - "end": 8996, + "start": 9012, + "end": 9016, "loc": { "start": { "line": 269, @@ -11200,8 +11200,8 @@ }, "property": { "type": "Identifier", - "start": 8997, - "end": 9008, + "start": 9017, + "end": 9028, "loc": { "start": { "line": 269, @@ -11225,8 +11225,8 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 8941, - "end": 8974, + "start": 8961, + "end": 8994, "loc": { "start": { "line": 268, @@ -11242,8 +11242,8 @@ }, { "type": "ReturnStatement", - "start": 9029, - "end": 9042, + "start": 9049, + "end": 9062, "loc": { "start": { "line": 270, @@ -11256,8 +11256,8 @@ }, "argument": { "type": "Identifier", - "start": 9036, - "end": 9041, + "start": 9056, + "end": 9061, "loc": { "start": { "line": 270, @@ -11277,8 +11277,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 9063, - "end": 9165, + "start": 9083, + "end": 9185, "loc": { "start": { "line": 271, @@ -11292,8 +11292,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 9082, - "end": 9150, + "start": 9102, + "end": 9170, "loc": { "start": { "line": 272, @@ -11306,8 +11306,8 @@ }, "expression": { "type": "CallExpression", - "start": 9082, - "end": 9149, + "start": 9102, + "end": 9169, "loc": { "start": { "line": 272, @@ -11320,8 +11320,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9082, - "end": 9119, + "start": 9102, + "end": 9139, "loc": { "start": { "line": 272, @@ -11334,8 +11334,8 @@ }, "object": { "type": "CallExpression", - "start": 9082, - "end": 9113, + "start": 9102, + "end": 9133, "loc": { "start": { "line": 272, @@ -11348,8 +11348,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9082, - "end": 9099, + "start": 9102, + "end": 9119, "loc": { "start": { "line": 272, @@ -11362,8 +11362,8 @@ }, "object": { "type": "MemberExpression", - "start": 9082, - "end": 9092, + "start": 9102, + "end": 9112, "loc": { "start": { "line": 272, @@ -11376,8 +11376,8 @@ }, "object": { "type": "Identifier", - "start": 9082, - "end": 9085, + "start": 9102, + "end": 9105, "loc": { "start": { "line": 272, @@ -11393,8 +11393,8 @@ }, "property": { "type": "Identifier", - "start": 9086, - "end": 9092, + "start": 9106, + "end": 9112, "loc": { "start": { "line": 272, @@ -11412,8 +11412,8 @@ }, "property": { "type": "Identifier", - "start": 9093, - "end": 9099, + "start": 9113, + "end": 9119, "loc": { "start": { "line": 272, @@ -11432,8 +11432,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 9100, - "end": 9112, + "start": 9120, + "end": 9132, "loc": { "start": { "line": 272, @@ -11454,8 +11454,8 @@ }, "property": { "type": "Identifier", - "start": 9114, - "end": 9119, + "start": 9134, + "end": 9139, "loc": { "start": { "line": 272, @@ -11474,8 +11474,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 9120, - "end": 9148, + "start": 9140, + "end": 9168, "loc": { "start": { "line": 272, @@ -11504,8 +11504,8 @@ }, "alternate": { "type": "BlockStatement", - "start": 9182, - "end": 9271, + "start": 9202, + "end": 9291, "loc": { "start": { "line": 274, @@ -11519,8 +11519,8 @@ "body": [ { "type": "ExpressionStatement", - "start": 9197, - "end": 9260, + "start": 9217, + "end": 9280, "loc": { "start": { "line": 275, @@ -11533,8 +11533,8 @@ }, "expression": { "type": "CallExpression", - "start": 9197, - "end": 9259, + "start": 9217, + "end": 9279, "loc": { "start": { "line": 275, @@ -11547,8 +11547,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9197, - "end": 9234, + "start": 9217, + "end": 9254, "loc": { "start": { "line": 275, @@ -11561,8 +11561,8 @@ }, "object": { "type": "CallExpression", - "start": 9197, - "end": 9228, + "start": 9217, + "end": 9248, "loc": { "start": { "line": 275, @@ -11575,8 +11575,8 @@ }, "callee": { "type": "MemberExpression", - "start": 9197, - "end": 9214, + "start": 9217, + "end": 9234, "loc": { "start": { "line": 275, @@ -11589,8 +11589,8 @@ }, "object": { "type": "MemberExpression", - "start": 9197, - "end": 9207, + "start": 9217, + "end": 9227, "loc": { "start": { "line": 275, @@ -11603,8 +11603,8 @@ }, "object": { "type": "Identifier", - "start": 9197, - "end": 9200, + "start": 9217, + "end": 9220, "loc": { "start": { "line": 275, @@ -11620,8 +11620,8 @@ }, "property": { "type": "Identifier", - "start": 9201, - "end": 9207, + "start": 9221, + "end": 9227, "loc": { "start": { "line": 275, @@ -11639,8 +11639,8 @@ }, "property": { "type": "Identifier", - "start": 9208, - "end": 9214, + "start": 9228, + "end": 9234, "loc": { "start": { "line": 275, @@ -11659,8 +11659,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 9215, - "end": 9227, + "start": 9235, + "end": 9247, "loc": { "start": { "line": 275, @@ -11681,8 +11681,8 @@ }, "property": { "type": "Identifier", - "start": 9229, - "end": 9234, + "start": 9249, + "end": 9254, "loc": { "start": { "line": 275, @@ -11701,8 +11701,8 @@ "arguments": [ { "type": "StringLiteral", - "start": 9235, - "end": 9258, + "start": 9255, + "end": 9278, "loc": { "start": { "line": 275, @@ -11734,8 +11734,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Object} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", - "start": 8465, - "end": 8662, + "start": 8485, + "end": 8682, "loc": { "start": { "line": 257, @@ -11751,8 +11751,8 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Removes the frame from this icon via passed frame reference or via index passed.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 9284, + "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", + "start": 9304, "end": 9691, "loc": { "start": { @@ -13658,8 +13658,8 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Removes the frame from this icon via passed frame reference or via index passed.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 9284, + "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", + "start": 9304, "end": 9691, "loc": { "start": { @@ -22974,9 +22974,9 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Removes the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", + "value": "*\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", "start": 7330, - "end": 7691, + "end": 7711, "loc": { "start": { "line": 229, @@ -22991,8 +22991,8 @@ { "type": "CommentLine", "value": " The index used to remove this frame.", - "start": 7735, - "end": 7774, + "start": 7755, + "end": 7794, "loc": { "start": { "line": 236, @@ -23007,8 +23007,8 @@ { "type": "CommentLine", "value": " Remove via reference to state.", - "start": 7804, - "end": 7837, + "start": 7824, + "end": 7857, "loc": { "start": { "line": 238, @@ -23023,8 +23023,8 @@ { "type": "CommentLine", "value": " Remove via reference to name", - "start": 7942, - "end": 7973, + "start": 7962, + "end": 7993, "loc": { "start": { "line": 241, @@ -23039,8 +23039,8 @@ { "type": "CommentLine", "value": " Remove the state", - "start": 8357, - "end": 8376, + "start": 8377, + "end": 8396, "loc": { "start": { "line": 252, @@ -23055,8 +23055,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Object} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", - "start": 8465, - "end": 8662, + "start": 8485, + "end": 8682, "loc": { "start": { "line": 257, @@ -23071,8 +23071,8 @@ { "type": "CommentLine", "value": " Add the frame to the frames array.", - "start": 8844, - "end": 8881, + "start": 8864, + "end": 8901, "loc": { "start": { "line": 266, @@ -23087,8 +23087,8 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 8941, - "end": 8974, + "start": 8961, + "end": 8994, "loc": { "start": { "line": 268, @@ -23102,8 +23102,8 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Removes the frame from this icon via passed frame reference or via index passed.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 9284, + "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", + "start": 9304, "end": 9691, "loc": { "start": { @@ -40638,9 +40638,9 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Removes the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", + "value": "*\r\n * Removes the state passed or the state with the name pName.\r\n * @param {Icon} pState - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the state to remove. pState must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", "start": 7330, - "end": 7691, + "end": 7711, "loc": { "start": { "line": 229, @@ -40665,8 +40665,8 @@ "binop": null }, "value": "removeState", - "start": 7697, - "end": 7708, + "start": 7717, + "end": 7728, "loc": { "start": { "line": 235, @@ -40690,8 +40690,8 @@ "postfix": false, "binop": null }, - "start": 7708, - "end": 7709, + "start": 7728, + "end": 7729, "loc": { "start": { "line": 235, @@ -40716,8 +40716,8 @@ "binop": null }, "value": "pState", - "start": 7709, - "end": 7715, + "start": 7729, + "end": 7735, "loc": { "start": { "line": 235, @@ -40742,8 +40742,8 @@ "binop": null, "updateContext": null }, - "start": 7715, - "end": 7716, + "start": 7735, + "end": 7736, "loc": { "start": { "line": 235, @@ -40768,8 +40768,8 @@ "binop": null }, "value": "pName", - "start": 7717, - "end": 7722, + "start": 7737, + "end": 7742, "loc": { "start": { "line": 235, @@ -40793,8 +40793,8 @@ "postfix": false, "binop": null }, - "start": 7722, - "end": 7723, + "start": 7742, + "end": 7743, "loc": { "start": { "line": 235, @@ -40818,8 +40818,8 @@ "postfix": false, "binop": null }, - "start": 7724, - "end": 7725, + "start": 7744, + "end": 7745, "loc": { "start": { "line": 235, @@ -40834,8 +40834,8 @@ { "type": "CommentLine", "value": " The index used to remove this frame.", - "start": 7735, - "end": 7774, + "start": 7755, + "end": 7794, "loc": { "start": { "line": 236, @@ -40862,8 +40862,8 @@ "updateContext": null }, "value": "let", - "start": 7784, - "end": 7787, + "start": 7804, + "end": 7807, "loc": { "start": { "line": 237, @@ -40888,8 +40888,8 @@ "binop": null }, "value": "index", - "start": 7788, - "end": 7793, + "start": 7808, + "end": 7813, "loc": { "start": { "line": 237, @@ -40914,8 +40914,8 @@ "binop": null, "updateContext": null }, - "start": 7793, - "end": 7794, + "start": 7813, + "end": 7814, "loc": { "start": { "line": 237, @@ -40930,8 +40930,8 @@ { "type": "CommentLine", "value": " Remove via reference to state.", - "start": 7804, - "end": 7837, + "start": 7824, + "end": 7857, "loc": { "start": { "line": 238, @@ -40958,8 +40958,8 @@ "updateContext": null }, "value": "if", - "start": 7847, - "end": 7849, + "start": 7867, + "end": 7869, "loc": { "start": { "line": 239, @@ -40983,8 +40983,8 @@ "postfix": false, "binop": null }, - "start": 7850, - "end": 7851, + "start": 7870, + "end": 7871, "loc": { "start": { "line": 239, @@ -41011,8 +41011,8 @@ "updateContext": null }, "value": "this", - "start": 7851, - "end": 7855, + "start": 7871, + "end": 7875, "loc": { "start": { "line": 239, @@ -41037,8 +41037,8 @@ "binop": null, "updateContext": null }, - "start": 7855, - "end": 7856, + "start": 7875, + "end": 7876, "loc": { "start": { "line": 239, @@ -41063,8 +41063,8 @@ "binop": null }, "value": "states", - "start": 7856, - "end": 7862, + "start": 7876, + "end": 7882, "loc": { "start": { "line": 239, @@ -41089,8 +41089,8 @@ "binop": null, "updateContext": null }, - "start": 7862, - "end": 7863, + "start": 7882, + "end": 7883, "loc": { "start": { "line": 239, @@ -41115,8 +41115,8 @@ "binop": null }, "value": "includes", - "start": 7863, - "end": 7871, + "start": 7883, + "end": 7891, "loc": { "start": { "line": 239, @@ -41140,8 +41140,8 @@ "postfix": false, "binop": null }, - "start": 7871, - "end": 7872, + "start": 7891, + "end": 7892, "loc": { "start": { "line": 239, @@ -41166,8 +41166,8 @@ "binop": null }, "value": "pState", - "start": 7872, - "end": 7878, + "start": 7892, + "end": 7898, "loc": { "start": { "line": 239, @@ -41191,8 +41191,8 @@ "postfix": false, "binop": null }, - "start": 7878, - "end": 7879, + "start": 7898, + "end": 7899, "loc": { "start": { "line": 239, @@ -41216,8 +41216,8 @@ "postfix": false, "binop": null }, - "start": 7879, - "end": 7880, + "start": 7899, + "end": 7900, "loc": { "start": { "line": 239, @@ -41241,8 +41241,8 @@ "postfix": false, "binop": null }, - "start": 7881, - "end": 7882, + "start": 7901, + "end": 7902, "loc": { "start": { "line": 239, @@ -41267,8 +41267,8 @@ "binop": null }, "value": "index", - "start": 7896, - "end": 7901, + "start": 7916, + "end": 7921, "loc": { "start": { "line": 240, @@ -41294,8 +41294,8 @@ "updateContext": null }, "value": "=", - "start": 7902, - "end": 7903, + "start": 7922, + "end": 7923, "loc": { "start": { "line": 240, @@ -41322,8 +41322,8 @@ "updateContext": null }, "value": "this", - "start": 7904, - "end": 7908, + "start": 7924, + "end": 7928, "loc": { "start": { "line": 240, @@ -41348,8 +41348,8 @@ "binop": null, "updateContext": null }, - "start": 7908, - "end": 7909, + "start": 7928, + "end": 7929, "loc": { "start": { "line": 240, @@ -41374,8 +41374,8 @@ "binop": null }, "value": "states", - "start": 7909, - "end": 7915, + "start": 7929, + "end": 7935, "loc": { "start": { "line": 240, @@ -41400,8 +41400,8 @@ "binop": null, "updateContext": null }, - "start": 7915, - "end": 7916, + "start": 7935, + "end": 7936, "loc": { "start": { "line": 240, @@ -41426,8 +41426,8 @@ "binop": null }, "value": "indexOf", - "start": 7916, - "end": 7923, + "start": 7936, + "end": 7943, "loc": { "start": { "line": 240, @@ -41451,8 +41451,8 @@ "postfix": false, "binop": null }, - "start": 7923, - "end": 7924, + "start": 7943, + "end": 7944, "loc": { "start": { "line": 240, @@ -41477,8 +41477,8 @@ "binop": null }, "value": "pState", - "start": 7924, - "end": 7930, + "start": 7944, + "end": 7950, "loc": { "start": { "line": 240, @@ -41502,8 +41502,8 @@ "postfix": false, "binop": null }, - "start": 7930, - "end": 7931, + "start": 7950, + "end": 7951, "loc": { "start": { "line": 240, @@ -41528,8 +41528,8 @@ "binop": null, "updateContext": null }, - "start": 7931, - "end": 7932, + "start": 7951, + "end": 7952, "loc": { "start": { "line": 240, @@ -41544,8 +41544,8 @@ { "type": "CommentLine", "value": " Remove via reference to name", - "start": 7942, - "end": 7973, + "start": 7962, + "end": 7993, "loc": { "start": { "line": 241, @@ -41569,8 +41569,8 @@ "postfix": false, "binop": null }, - "start": 7983, - "end": 7984, + "start": 8003, + "end": 8004, "loc": { "start": { "line": 242, @@ -41597,8 +41597,8 @@ "updateContext": null }, "value": "else", - "start": 7985, - "end": 7989, + "start": 8005, + "end": 8009, "loc": { "start": { "line": 242, @@ -41625,8 +41625,8 @@ "updateContext": null }, "value": "if", - "start": 7990, - "end": 7992, + "start": 8010, + "end": 8012, "loc": { "start": { "line": 242, @@ -41650,8 +41650,8 @@ "postfix": false, "binop": null }, - "start": 7993, - "end": 7994, + "start": 8013, + "end": 8014, "loc": { "start": { "line": 242, @@ -41678,8 +41678,8 @@ "updateContext": null }, "value": "typeof", - "start": 7994, - "end": 8000, + "start": 8014, + "end": 8020, "loc": { "start": { "line": 242, @@ -41703,8 +41703,8 @@ "postfix": false, "binop": null }, - "start": 8000, - "end": 8001, + "start": 8020, + "end": 8021, "loc": { "start": { "line": 242, @@ -41729,8 +41729,8 @@ "binop": null }, "value": "pName", - "start": 8001, - "end": 8006, + "start": 8021, + "end": 8026, "loc": { "start": { "line": 242, @@ -41754,8 +41754,8 @@ "postfix": false, "binop": null }, - "start": 8006, - "end": 8007, + "start": 8026, + "end": 8027, "loc": { "start": { "line": 242, @@ -41781,8 +41781,8 @@ "updateContext": null }, "value": "===", - "start": 8008, - "end": 8011, + "start": 8028, + "end": 8031, "loc": { "start": { "line": 242, @@ -41808,8 +41808,8 @@ "updateContext": null }, "value": "string", - "start": 8012, - "end": 8020, + "start": 8032, + "end": 8040, "loc": { "start": { "line": 242, @@ -41833,8 +41833,8 @@ "postfix": false, "binop": null }, - "start": 8020, - "end": 8021, + "start": 8040, + "end": 8041, "loc": { "start": { "line": 242, @@ -41858,8 +41858,8 @@ "postfix": false, "binop": null }, - "start": 8022, - "end": 8023, + "start": 8042, + "end": 8043, "loc": { "start": { "line": 242, @@ -41886,8 +41886,8 @@ "updateContext": null }, "value": "const", - "start": 8037, - "end": 8042, + "start": 8057, + "end": 8062, "loc": { "start": { "line": 243, @@ -41912,8 +41912,8 @@ "binop": null }, "value": "state", - "start": 8043, - "end": 8048, + "start": 8063, + "end": 8068, "loc": { "start": { "line": 243, @@ -41939,8 +41939,8 @@ "updateContext": null }, "value": "=", - "start": 8049, - "end": 8050, + "start": 8069, + "end": 8070, "loc": { "start": { "line": 243, @@ -41967,8 +41967,8 @@ "updateContext": null }, "value": "this", - "start": 8051, - "end": 8055, + "start": 8071, + "end": 8075, "loc": { "start": { "line": 243, @@ -41993,8 +41993,8 @@ "binop": null, "updateContext": null }, - "start": 8055, - "end": 8056, + "start": 8075, + "end": 8076, "loc": { "start": { "line": 243, @@ -42019,8 +42019,8 @@ "binop": null }, "value": "getState", - "start": 8056, - "end": 8064, + "start": 8076, + "end": 8084, "loc": { "start": { "line": 243, @@ -42044,8 +42044,8 @@ "postfix": false, "binop": null }, - "start": 8064, - "end": 8065, + "start": 8084, + "end": 8085, "loc": { "start": { "line": 243, @@ -42070,8 +42070,8 @@ "binop": null }, "value": "pName", - "start": 8065, - "end": 8070, + "start": 8085, + "end": 8090, "loc": { "start": { "line": 243, @@ -42095,8 +42095,8 @@ "postfix": false, "binop": null }, - "start": 8070, - "end": 8071, + "start": 8090, + "end": 8091, "loc": { "start": { "line": 243, @@ -42121,8 +42121,8 @@ "binop": null, "updateContext": null }, - "start": 8071, - "end": 8072, + "start": 8091, + "end": 8092, "loc": { "start": { "line": 243, @@ -42149,8 +42149,8 @@ "updateContext": null }, "value": "if", - "start": 8086, - "end": 8088, + "start": 8106, + "end": 8108, "loc": { "start": { "line": 244, @@ -42174,8 +42174,8 @@ "postfix": false, "binop": null }, - "start": 8089, - "end": 8090, + "start": 8109, + "end": 8110, "loc": { "start": { "line": 244, @@ -42200,8 +42200,8 @@ "binop": null }, "value": "state", - "start": 8090, - "end": 8095, + "start": 8110, + "end": 8115, "loc": { "start": { "line": 244, @@ -42225,8 +42225,8 @@ "postfix": false, "binop": null }, - "start": 8095, - "end": 8096, + "start": 8115, + "end": 8116, "loc": { "start": { "line": 244, @@ -42250,8 +42250,8 @@ "postfix": false, "binop": null }, - "start": 8097, - "end": 8098, + "start": 8117, + "end": 8118, "loc": { "start": { "line": 244, @@ -42276,8 +42276,8 @@ "binop": null }, "value": "index", - "start": 8116, - "end": 8121, + "start": 8136, + "end": 8141, "loc": { "start": { "line": 245, @@ -42303,8 +42303,8 @@ "updateContext": null }, "value": "=", - "start": 8122, - "end": 8123, + "start": 8142, + "end": 8143, "loc": { "start": { "line": 245, @@ -42331,8 +42331,8 @@ "updateContext": null }, "value": "this", - "start": 8124, - "end": 8128, + "start": 8144, + "end": 8148, "loc": { "start": { "line": 245, @@ -42357,8 +42357,8 @@ "binop": null, "updateContext": null }, - "start": 8128, - "end": 8129, + "start": 8148, + "end": 8149, "loc": { "start": { "line": 245, @@ -42383,8 +42383,8 @@ "binop": null }, "value": "states", - "start": 8129, - "end": 8135, + "start": 8149, + "end": 8155, "loc": { "start": { "line": 245, @@ -42409,8 +42409,8 @@ "binop": null, "updateContext": null }, - "start": 8135, - "end": 8136, + "start": 8155, + "end": 8156, "loc": { "start": { "line": 245, @@ -42435,8 +42435,8 @@ "binop": null }, "value": "indexOf", - "start": 8136, - "end": 8143, + "start": 8156, + "end": 8163, "loc": { "start": { "line": 245, @@ -42460,8 +42460,8 @@ "postfix": false, "binop": null }, - "start": 8143, - "end": 8144, + "start": 8163, + "end": 8164, "loc": { "start": { "line": 245, @@ -42486,8 +42486,8 @@ "binop": null }, "value": "state", - "start": 8144, - "end": 8149, + "start": 8164, + "end": 8169, "loc": { "start": { "line": 245, @@ -42511,8 +42511,8 @@ "postfix": false, "binop": null }, - "start": 8149, - "end": 8150, + "start": 8169, + "end": 8170, "loc": { "start": { "line": 245, @@ -42537,8 +42537,8 @@ "binop": null, "updateContext": null }, - "start": 8150, - "end": 8151, + "start": 8170, + "end": 8171, "loc": { "start": { "line": 245, @@ -42562,8 +42562,8 @@ "postfix": false, "binop": null }, - "start": 8165, - "end": 8166, + "start": 8185, + "end": 8186, "loc": { "start": { "line": 246, @@ -42587,8 +42587,8 @@ "postfix": false, "binop": null }, - "start": 8176, - "end": 8177, + "start": 8196, + "end": 8197, "loc": { "start": { "line": 247, @@ -42615,8 +42615,8 @@ "updateContext": null }, "value": "else", - "start": 8178, - "end": 8182, + "start": 8198, + "end": 8202, "loc": { "start": { "line": 247, @@ -42640,8 +42640,8 @@ "postfix": false, "binop": null }, - "start": 8183, - "end": 8184, + "start": 8203, + "end": 8204, "loc": { "start": { "line": 247, @@ -42666,8 +42666,8 @@ "binop": null }, "value": "VYI", - "start": 8198, - "end": 8201, + "start": 8218, + "end": 8221, "loc": { "start": { "line": 248, @@ -42692,8 +42692,8 @@ "binop": null, "updateContext": null }, - "start": 8201, - "end": 8202, + "start": 8221, + "end": 8222, "loc": { "start": { "line": 248, @@ -42718,8 +42718,8 @@ "binop": null }, "value": "logger", - "start": 8202, - "end": 8208, + "start": 8222, + "end": 8228, "loc": { "start": { "line": 248, @@ -42744,8 +42744,8 @@ "binop": null, "updateContext": null }, - "start": 8208, - "end": 8209, + "start": 8228, + "end": 8229, "loc": { "start": { "line": 248, @@ -42770,8 +42770,8 @@ "binop": null }, "value": "prefix", - "start": 8209, - "end": 8215, + "start": 8229, + "end": 8235, "loc": { "start": { "line": 248, @@ -42795,8 +42795,8 @@ "postfix": false, "binop": null }, - "start": 8215, - "end": 8216, + "start": 8235, + "end": 8236, "loc": { "start": { "line": 248, @@ -42822,8 +42822,8 @@ "updateContext": null }, "value": "VYI-Module", - "start": 8216, - "end": 8228, + "start": 8236, + "end": 8248, "loc": { "start": { "line": 248, @@ -42847,8 +42847,8 @@ "postfix": false, "binop": null }, - "start": 8228, - "end": 8229, + "start": 8248, + "end": 8249, "loc": { "start": { "line": 248, @@ -42873,8 +42873,8 @@ "binop": null, "updateContext": null }, - "start": 8229, - "end": 8230, + "start": 8249, + "end": 8250, "loc": { "start": { "line": 248, @@ -42899,8 +42899,8 @@ "binop": null }, "value": "error", - "start": 8230, - "end": 8235, + "start": 8250, + "end": 8255, "loc": { "start": { "line": 248, @@ -42924,8 +42924,8 @@ "postfix": false, "binop": null }, - "start": 8235, - "end": 8236, + "start": 8255, + "end": 8256, "loc": { "start": { "line": 248, @@ -42951,8 +42951,8 @@ "updateContext": null }, "value": "Failed to remove state!", - "start": 8236, - "end": 8261, + "start": 8256, + "end": 8281, "loc": { "start": { "line": 248, @@ -42976,8 +42976,8 @@ "postfix": false, "binop": null }, - "start": 8261, - "end": 8262, + "start": 8281, + "end": 8282, "loc": { "start": { "line": 248, @@ -43002,8 +43002,8 @@ "binop": null, "updateContext": null }, - "start": 8262, - "end": 8263, + "start": 8282, + "end": 8283, "loc": { "start": { "line": 248, @@ -43030,8 +43030,8 @@ "updateContext": null }, "value": "return", - "start": 8277, - "end": 8283, + "start": 8297, + "end": 8303, "loc": { "start": { "line": 249, @@ -43058,8 +43058,8 @@ "updateContext": null }, "value": "this", - "start": 8284, - "end": 8288, + "start": 8304, + "end": 8308, "loc": { "start": { "line": 249, @@ -43084,8 +43084,8 @@ "binop": null, "updateContext": null }, - "start": 8288, - "end": 8289, + "start": 8308, + "end": 8309, "loc": { "start": { "line": 249, @@ -43109,8 +43109,8 @@ "postfix": false, "binop": null }, - "start": 8299, - "end": 8300, + "start": 8319, + "end": 8320, "loc": { "start": { "line": 250, @@ -43137,8 +43137,8 @@ "updateContext": null }, "value": "if", - "start": 8310, - "end": 8312, + "start": 8330, + "end": 8332, "loc": { "start": { "line": 251, @@ -43162,8 +43162,8 @@ "postfix": false, "binop": null }, - "start": 8313, - "end": 8314, + "start": 8333, + "end": 8334, "loc": { "start": { "line": 251, @@ -43190,8 +43190,8 @@ "updateContext": null }, "value": "typeof", - "start": 8314, - "end": 8320, + "start": 8334, + "end": 8340, "loc": { "start": { "line": 251, @@ -43215,8 +43215,8 @@ "postfix": false, "binop": null }, - "start": 8320, - "end": 8321, + "start": 8340, + "end": 8341, "loc": { "start": { "line": 251, @@ -43241,8 +43241,8 @@ "binop": null }, "value": "index", - "start": 8321, - "end": 8326, + "start": 8341, + "end": 8346, "loc": { "start": { "line": 251, @@ -43266,8 +43266,8 @@ "postfix": false, "binop": null }, - "start": 8326, - "end": 8327, + "start": 8346, + "end": 8347, "loc": { "start": { "line": 251, @@ -43293,8 +43293,8 @@ "updateContext": null }, "value": "===", - "start": 8328, - "end": 8331, + "start": 8348, + "end": 8351, "loc": { "start": { "line": 251, @@ -43320,8 +43320,8 @@ "updateContext": null }, "value": "number", - "start": 8332, - "end": 8340, + "start": 8352, + "end": 8360, "loc": { "start": { "line": 251, @@ -43345,8 +43345,8 @@ "postfix": false, "binop": null }, - "start": 8340, - "end": 8341, + "start": 8360, + "end": 8361, "loc": { "start": { "line": 251, @@ -43370,8 +43370,8 @@ "postfix": false, "binop": null }, - "start": 8342, - "end": 8343, + "start": 8362, + "end": 8363, "loc": { "start": { "line": 251, @@ -43386,8 +43386,8 @@ { "type": "CommentLine", "value": " Remove the state", - "start": 8357, - "end": 8376, + "start": 8377, + "end": 8396, "loc": { "start": { "line": 252, @@ -43414,8 +43414,8 @@ "updateContext": null }, "value": "this", - "start": 8390, - "end": 8394, + "start": 8410, + "end": 8414, "loc": { "start": { "line": 253, @@ -43440,8 +43440,8 @@ "binop": null, "updateContext": null }, - "start": 8394, - "end": 8395, + "start": 8414, + "end": 8415, "loc": { "start": { "line": 253, @@ -43466,8 +43466,8 @@ "binop": null }, "value": "states", - "start": 8395, - "end": 8401, + "start": 8415, + "end": 8421, "loc": { "start": { "line": 253, @@ -43492,8 +43492,8 @@ "binop": null, "updateContext": null }, - "start": 8401, - "end": 8402, + "start": 8421, + "end": 8422, "loc": { "start": { "line": 253, @@ -43518,8 +43518,8 @@ "binop": null }, "value": "splice", - "start": 8402, - "end": 8408, + "start": 8422, + "end": 8428, "loc": { "start": { "line": 253, @@ -43543,8 +43543,8 @@ "postfix": false, "binop": null }, - "start": 8408, - "end": 8409, + "start": 8428, + "end": 8429, "loc": { "start": { "line": 253, @@ -43569,8 +43569,8 @@ "binop": null }, "value": "index", - "start": 8409, - "end": 8414, + "start": 8429, + "end": 8434, "loc": { "start": { "line": 253, @@ -43595,8 +43595,8 @@ "binop": null, "updateContext": null }, - "start": 8414, - "end": 8415, + "start": 8434, + "end": 8435, "loc": { "start": { "line": 253, @@ -43622,8 +43622,8 @@ "updateContext": null }, "value": 1, - "start": 8416, - "end": 8417, + "start": 8436, + "end": 8437, "loc": { "start": { "line": 253, @@ -43647,8 +43647,8 @@ "postfix": false, "binop": null }, - "start": 8417, - "end": 8418, + "start": 8437, + "end": 8438, "loc": { "start": { "line": 253, @@ -43673,8 +43673,8 @@ "binop": null, "updateContext": null }, - "start": 8418, - "end": 8419, + "start": 8438, + "end": 8439, "loc": { "start": { "line": 253, @@ -43698,8 +43698,8 @@ "postfix": false, "binop": null }, - "start": 8429, - "end": 8430, + "start": 8449, + "end": 8450, "loc": { "start": { "line": 254, @@ -43726,8 +43726,8 @@ "updateContext": null }, "value": "return", - "start": 8440, - "end": 8446, + "start": 8460, + "end": 8466, "loc": { "start": { "line": 255, @@ -43754,8 +43754,8 @@ "updateContext": null }, "value": "this", - "start": 8447, - "end": 8451, + "start": 8467, + "end": 8471, "loc": { "start": { "line": 255, @@ -43780,8 +43780,8 @@ "binop": null, "updateContext": null }, - "start": 8451, - "end": 8452, + "start": 8471, + "end": 8472, "loc": { "start": { "line": 255, @@ -43805,8 +43805,8 @@ "postfix": false, "binop": null }, - "start": 8458, - "end": 8459, + "start": 8478, + "end": 8479, "loc": { "start": { "line": 256, @@ -43821,8 +43821,8 @@ { "type": "CommentBlock", "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Object} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", - "start": 8465, - "end": 8662, + "start": 8485, + "end": 8682, "loc": { "start": { "line": 257, @@ -43847,8 +43847,8 @@ "binop": null }, "value": "addFrame", - "start": 8668, - "end": 8676, + "start": 8688, + "end": 8696, "loc": { "start": { "line": 262, @@ -43872,8 +43872,8 @@ "postfix": false, "binop": null }, - "start": 8676, - "end": 8677, + "start": 8696, + "end": 8697, "loc": { "start": { "line": 262, @@ -43898,8 +43898,8 @@ "binop": null }, "value": "pFrameData", - "start": 8677, - "end": 8687, + "start": 8697, + "end": 8707, "loc": { "start": { "line": 262, @@ -43923,8 +43923,8 @@ "postfix": false, "binop": null }, - "start": 8687, - "end": 8688, + "start": 8707, + "end": 8708, "loc": { "start": { "line": 262, @@ -43948,8 +43948,8 @@ "postfix": false, "binop": null }, - "start": 8689, - "end": 8690, + "start": 8709, + "end": 8710, "loc": { "start": { "line": 262, @@ -43976,8 +43976,8 @@ "updateContext": null }, "value": "if", - "start": 8700, - "end": 8702, + "start": 8720, + "end": 8722, "loc": { "start": { "line": 263, @@ -44001,8 +44001,8 @@ "postfix": false, "binop": null }, - "start": 8703, - "end": 8704, + "start": 8723, + "end": 8724, "loc": { "start": { "line": 263, @@ -44027,8 +44027,8 @@ "binop": null }, "value": "pFrameData", - "start": 8704, - "end": 8714, + "start": 8724, + "end": 8734, "loc": { "start": { "line": 263, @@ -44052,8 +44052,8 @@ "postfix": false, "binop": null }, - "start": 8714, - "end": 8715, + "start": 8734, + "end": 8735, "loc": { "start": { "line": 263, @@ -44077,8 +44077,8 @@ "postfix": false, "binop": null }, - "start": 8716, - "end": 8717, + "start": 8736, + "end": 8737, "loc": { "start": { "line": 263, @@ -44105,8 +44105,8 @@ "updateContext": null }, "value": "if", - "start": 8731, - "end": 8733, + "start": 8751, + "end": 8753, "loc": { "start": { "line": 264, @@ -44130,8 +44130,8 @@ "postfix": false, "binop": null }, - "start": 8734, - "end": 8735, + "start": 8754, + "end": 8755, "loc": { "start": { "line": 264, @@ -44156,8 +44156,8 @@ "binop": null }, "value": "pFrameData", - "start": 8735, - "end": 8745, + "start": 8755, + "end": 8765, "loc": { "start": { "line": 264, @@ -44184,8 +44184,8 @@ "updateContext": null }, "value": "instanceof", - "start": 8746, - "end": 8756, + "start": 8766, + "end": 8776, "loc": { "start": { "line": 264, @@ -44210,8 +44210,8 @@ "binop": null }, "value": "Object", - "start": 8757, - "end": 8763, + "start": 8777, + "end": 8783, "loc": { "start": { "line": 264, @@ -44235,8 +44235,8 @@ "postfix": false, "binop": null }, - "start": 8763, - "end": 8764, + "start": 8783, + "end": 8784, "loc": { "start": { "line": 264, @@ -44260,8 +44260,8 @@ "postfix": false, "binop": null }, - "start": 8765, - "end": 8766, + "start": 8785, + "end": 8786, "loc": { "start": { "line": 264, @@ -44288,8 +44288,8 @@ "updateContext": null }, "value": "const", - "start": 8784, - "end": 8789, + "start": 8804, + "end": 8809, "loc": { "start": { "line": 265, @@ -44314,8 +44314,8 @@ "binop": null }, "value": "frame", - "start": 8790, - "end": 8795, + "start": 8810, + "end": 8815, "loc": { "start": { "line": 265, @@ -44341,8 +44341,8 @@ "updateContext": null }, "value": "=", - "start": 8796, - "end": 8797, + "start": 8816, + "end": 8817, "loc": { "start": { "line": 265, @@ -44369,8 +44369,8 @@ "updateContext": null }, "value": "new", - "start": 8798, - "end": 8801, + "start": 8818, + "end": 8821, "loc": { "start": { "line": 265, @@ -44395,8 +44395,8 @@ "binop": null }, "value": "Frame", - "start": 8802, - "end": 8807, + "start": 8822, + "end": 8827, "loc": { "start": { "line": 265, @@ -44420,8 +44420,8 @@ "postfix": false, "binop": null }, - "start": 8807, - "end": 8808, + "start": 8827, + "end": 8828, "loc": { "start": { "line": 265, @@ -44446,8 +44446,8 @@ "binop": null }, "value": "pFrameData", - "start": 8808, - "end": 8818, + "start": 8828, + "end": 8838, "loc": { "start": { "line": 265, @@ -44472,8 +44472,8 @@ "binop": null, "updateContext": null }, - "start": 8818, - "end": 8819, + "start": 8838, + "end": 8839, "loc": { "start": { "line": 265, @@ -44500,8 +44500,8 @@ "updateContext": null }, "value": "this", - "start": 8820, - "end": 8824, + "start": 8840, + "end": 8844, "loc": { "start": { "line": 265, @@ -44525,8 +44525,8 @@ "postfix": false, "binop": null }, - "start": 8824, - "end": 8825, + "start": 8844, + "end": 8845, "loc": { "start": { "line": 265, @@ -44551,8 +44551,8 @@ "binop": null, "updateContext": null }, - "start": 8825, - "end": 8826, + "start": 8845, + "end": 8846, "loc": { "start": { "line": 265, @@ -44567,8 +44567,8 @@ { "type": "CommentLine", "value": " Add the frame to the frames array.", - "start": 8844, - "end": 8881, + "start": 8864, + "end": 8901, "loc": { "start": { "line": 266, @@ -44595,8 +44595,8 @@ "updateContext": null }, "value": "this", - "start": 8899, - "end": 8903, + "start": 8919, + "end": 8923, "loc": { "start": { "line": 267, @@ -44621,8 +44621,8 @@ "binop": null, "updateContext": null }, - "start": 8903, - "end": 8904, + "start": 8923, + "end": 8924, "loc": { "start": { "line": 267, @@ -44647,8 +44647,8 @@ "binop": null }, "value": "frames", - "start": 8904, - "end": 8910, + "start": 8924, + "end": 8930, "loc": { "start": { "line": 267, @@ -44673,8 +44673,8 @@ "binop": null, "updateContext": null }, - "start": 8910, - "end": 8911, + "start": 8930, + "end": 8931, "loc": { "start": { "line": 267, @@ -44699,8 +44699,8 @@ "binop": null }, "value": "push", - "start": 8911, - "end": 8915, + "start": 8931, + "end": 8935, "loc": { "start": { "line": 267, @@ -44724,8 +44724,8 @@ "postfix": false, "binop": null }, - "start": 8915, - "end": 8916, + "start": 8935, + "end": 8936, "loc": { "start": { "line": 267, @@ -44750,8 +44750,8 @@ "binop": null }, "value": "frame", - "start": 8916, - "end": 8921, + "start": 8936, + "end": 8941, "loc": { "start": { "line": 267, @@ -44775,8 +44775,8 @@ "postfix": false, "binop": null }, - "start": 8921, - "end": 8922, + "start": 8941, + "end": 8942, "loc": { "start": { "line": 267, @@ -44801,8 +44801,8 @@ "binop": null, "updateContext": null }, - "start": 8922, - "end": 8923, + "start": 8942, + "end": 8943, "loc": { "start": { "line": 267, @@ -44817,8 +44817,8 @@ { "type": "CommentLine", "value": " Re-index frames after a change", - "start": 8941, - "end": 8974, + "start": 8961, + "end": 8994, "loc": { "start": { "line": 268, @@ -44845,8 +44845,8 @@ "updateContext": null }, "value": "this", - "start": 8992, - "end": 8996, + "start": 9012, + "end": 9016, "loc": { "start": { "line": 269, @@ -44871,8 +44871,8 @@ "binop": null, "updateContext": null }, - "start": 8996, - "end": 8997, + "start": 9016, + "end": 9017, "loc": { "start": { "line": 269, @@ -44897,8 +44897,8 @@ "binop": null }, "value": "indexFrames", - "start": 8997, - "end": 9008, + "start": 9017, + "end": 9028, "loc": { "start": { "line": 269, @@ -44922,8 +44922,8 @@ "postfix": false, "binop": null }, - "start": 9008, - "end": 9009, + "start": 9028, + "end": 9029, "loc": { "start": { "line": 269, @@ -44947,8 +44947,8 @@ "postfix": false, "binop": null }, - "start": 9009, - "end": 9010, + "start": 9029, + "end": 9030, "loc": { "start": { "line": 269, @@ -44973,8 +44973,8 @@ "binop": null, "updateContext": null }, - "start": 9010, - "end": 9011, + "start": 9030, + "end": 9031, "loc": { "start": { "line": 269, @@ -45001,8 +45001,8 @@ "updateContext": null }, "value": "return", - "start": 9029, - "end": 9035, + "start": 9049, + "end": 9055, "loc": { "start": { "line": 270, @@ -45027,8 +45027,8 @@ "binop": null }, "value": "frame", - "start": 9036, - "end": 9041, + "start": 9056, + "end": 9061, "loc": { "start": { "line": 270, @@ -45053,8 +45053,8 @@ "binop": null, "updateContext": null }, - "start": 9041, - "end": 9042, + "start": 9061, + "end": 9062, "loc": { "start": { "line": 270, @@ -45078,8 +45078,8 @@ "postfix": false, "binop": null }, - "start": 9056, - "end": 9057, + "start": 9076, + "end": 9077, "loc": { "start": { "line": 271, @@ -45106,8 +45106,8 @@ "updateContext": null }, "value": "else", - "start": 9058, - "end": 9062, + "start": 9078, + "end": 9082, "loc": { "start": { "line": 271, @@ -45131,8 +45131,8 @@ "postfix": false, "binop": null }, - "start": 9063, - "end": 9064, + "start": 9083, + "end": 9084, "loc": { "start": { "line": 271, @@ -45157,8 +45157,8 @@ "binop": null }, "value": "VYI", - "start": 9082, - "end": 9085, + "start": 9102, + "end": 9105, "loc": { "start": { "line": 272, @@ -45183,8 +45183,8 @@ "binop": null, "updateContext": null }, - "start": 9085, - "end": 9086, + "start": 9105, + "end": 9106, "loc": { "start": { "line": 272, @@ -45209,8 +45209,8 @@ "binop": null }, "value": "logger", - "start": 9086, - "end": 9092, + "start": 9106, + "end": 9112, "loc": { "start": { "line": 272, @@ -45235,8 +45235,8 @@ "binop": null, "updateContext": null }, - "start": 9092, - "end": 9093, + "start": 9112, + "end": 9113, "loc": { "start": { "line": 272, @@ -45261,8 +45261,8 @@ "binop": null }, "value": "prefix", - "start": 9093, - "end": 9099, + "start": 9113, + "end": 9119, "loc": { "start": { "line": 272, @@ -45286,8 +45286,8 @@ "postfix": false, "binop": null }, - "start": 9099, - "end": 9100, + "start": 9119, + "end": 9120, "loc": { "start": { "line": 272, @@ -45313,8 +45313,8 @@ "updateContext": null }, "value": "VYI-Module", - "start": 9100, - "end": 9112, + "start": 9120, + "end": 9132, "loc": { "start": { "line": 272, @@ -45338,8 +45338,8 @@ "postfix": false, "binop": null }, - "start": 9112, - "end": 9113, + "start": 9132, + "end": 9133, "loc": { "start": { "line": 272, @@ -45364,8 +45364,8 @@ "binop": null, "updateContext": null }, - "start": 9113, - "end": 9114, + "start": 9133, + "end": 9134, "loc": { "start": { "line": 272, @@ -45390,8 +45390,8 @@ "binop": null }, "value": "error", - "start": 9114, - "end": 9119, + "start": 9134, + "end": 9139, "loc": { "start": { "line": 272, @@ -45415,8 +45415,8 @@ "postfix": false, "binop": null }, - "start": 9119, - "end": 9120, + "start": 9139, + "end": 9140, "loc": { "start": { "line": 272, @@ -45442,8 +45442,8 @@ "updateContext": null }, "value": "Invalid frame data passed!", - "start": 9120, - "end": 9148, + "start": 9140, + "end": 9168, "loc": { "start": { "line": 272, @@ -45467,8 +45467,8 @@ "postfix": false, "binop": null }, - "start": 9148, - "end": 9149, + "start": 9168, + "end": 9169, "loc": { "start": { "line": 272, @@ -45493,8 +45493,8 @@ "binop": null, "updateContext": null }, - "start": 9149, - "end": 9150, + "start": 9169, + "end": 9170, "loc": { "start": { "line": 272, @@ -45518,8 +45518,8 @@ "postfix": false, "binop": null }, - "start": 9164, - "end": 9165, + "start": 9184, + "end": 9185, "loc": { "start": { "line": 273, @@ -45543,8 +45543,8 @@ "postfix": false, "binop": null }, - "start": 9175, - "end": 9176, + "start": 9195, + "end": 9196, "loc": { "start": { "line": 274, @@ -45571,8 +45571,8 @@ "updateContext": null }, "value": "else", - "start": 9177, - "end": 9181, + "start": 9197, + "end": 9201, "loc": { "start": { "line": 274, @@ -45596,8 +45596,8 @@ "postfix": false, "binop": null }, - "start": 9182, - "end": 9183, + "start": 9202, + "end": 9203, "loc": { "start": { "line": 274, @@ -45622,8 +45622,8 @@ "binop": null }, "value": "VYI", - "start": 9197, - "end": 9200, + "start": 9217, + "end": 9220, "loc": { "start": { "line": 275, @@ -45648,8 +45648,8 @@ "binop": null, "updateContext": null }, - "start": 9200, - "end": 9201, + "start": 9220, + "end": 9221, "loc": { "start": { "line": 275, @@ -45674,8 +45674,8 @@ "binop": null }, "value": "logger", - "start": 9201, - "end": 9207, + "start": 9221, + "end": 9227, "loc": { "start": { "line": 275, @@ -45700,8 +45700,8 @@ "binop": null, "updateContext": null }, - "start": 9207, - "end": 9208, + "start": 9227, + "end": 9228, "loc": { "start": { "line": 275, @@ -45726,8 +45726,8 @@ "binop": null }, "value": "prefix", - "start": 9208, - "end": 9214, + "start": 9228, + "end": 9234, "loc": { "start": { "line": 275, @@ -45751,8 +45751,8 @@ "postfix": false, "binop": null }, - "start": 9214, - "end": 9215, + "start": 9234, + "end": 9235, "loc": { "start": { "line": 275, @@ -45778,8 +45778,8 @@ "updateContext": null }, "value": "VYI-Module", - "start": 9215, - "end": 9227, + "start": 9235, + "end": 9247, "loc": { "start": { "line": 275, @@ -45803,8 +45803,8 @@ "postfix": false, "binop": null }, - "start": 9227, - "end": 9228, + "start": 9247, + "end": 9248, "loc": { "start": { "line": 275, @@ -45829,8 +45829,8 @@ "binop": null, "updateContext": null }, - "start": 9228, - "end": 9229, + "start": 9248, + "end": 9249, "loc": { "start": { "line": 275, @@ -45855,8 +45855,8 @@ "binop": null }, "value": "error", - "start": 9229, - "end": 9234, + "start": 9249, + "end": 9254, "loc": { "start": { "line": 275, @@ -45880,8 +45880,8 @@ "postfix": false, "binop": null }, - "start": 9234, - "end": 9235, + "start": 9254, + "end": 9255, "loc": { "start": { "line": 275, @@ -45907,8 +45907,8 @@ "updateContext": null }, "value": "No frame data passed!", - "start": 9235, - "end": 9258, + "start": 9255, + "end": 9278, "loc": { "start": { "line": 275, @@ -45932,8 +45932,8 @@ "postfix": false, "binop": null }, - "start": 9258, - "end": 9259, + "start": 9278, + "end": 9279, "loc": { "start": { "line": 275, @@ -45958,8 +45958,8 @@ "binop": null, "updateContext": null }, - "start": 9259, - "end": 9260, + "start": 9279, + "end": 9280, "loc": { "start": { "line": 275, @@ -45983,8 +45983,8 @@ "postfix": false, "binop": null }, - "start": 9270, - "end": 9271, + "start": 9290, + "end": 9291, "loc": { "start": { "line": 276, @@ -46008,8 +46008,8 @@ "postfix": false, "binop": null }, - "start": 9277, - "end": 9278, + "start": 9297, + "end": 9298, "loc": { "start": { "line": 277, @@ -46023,8 +46023,8 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Removes the frame from this icon via passed frame reference or via index passed.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", - "start": 9284, + "value": "*\r\n * Removes the frame passed or the frame that exists at pIndex.\r\n * @param {Frame} pFrame - The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.\r\n * @param {number} pIndex - The index of the frame to remove. pFrame must be undefined to use this method for removing.\r\n * @returns {self} This icon instance.\r\n ", + "start": 9304, "end": 9691, "loc": { "start": { diff --git a/docs/ast/source/vyi.mjs.json b/docs/ast/source/vyi.mjs.json index 6df05c8..750c798 100644 --- a/docs/ast/source/vyi.mjs.json +++ b/docs/ast/source/vyi.mjs.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 5345, + "end": 5682, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 159, + "line": 163, "column": 1 } }, "program": { "type": "Program", "start": 0, - "end": 5345, + "end": 5682, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 159, + "line": 163, "column": 1 } }, @@ -203,14 +203,14 @@ { "type": "ExportNamedDeclaration", "start": 89, - "end": 5345, + "end": 5682, "loc": { "start": { "line": 4, "column": 0 }, "end": { - "line": 159, + "line": 163, "column": 1 } }, @@ -219,14 +219,14 @@ "declaration": { "type": "ClassDeclaration", "start": 96, - "end": 5345, + "end": 5682, "loc": { "start": { "line": 4, "column": 7 }, "end": { - "line": 159, + "line": 163, "column": 1 } }, @@ -251,14 +251,14 @@ "body": { "type": "ClassBody", "start": 106, - "end": 5345, + "end": 5682, "loc": { "start": { "line": 4, "column": 17 }, "end": { - "line": 159, + "line": 163, "column": 1 } }, @@ -4571,16 +4571,16 @@ "trailingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Removes the icon from this VYI.\r\n * @param {Icon} - The icon to remove.\r\n ", + "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", "start": 3855, - "end": 3951, + "end": 4187, "loc": { "start": { "line": 109, "column": 4 }, "end": { - "line": 112, + "line": 113, "column": 7 } } @@ -4589,15 +4589,15 @@ }, { "type": "ClassMethod", - "start": 3957, - "end": 4099, + "start": 4193, + "end": 4436, "loc": { "start": { - "line": 113, + "line": 114, "column": 4 }, "end": { - "line": 117, + "line": 121, "column": 5 } }, @@ -4605,15 +4605,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3957, - "end": 3967, + "start": 4193, + "end": 4203, "loc": { "start": { - "line": 113, + "line": 114, "column": 4 }, "end": { - "line": 113, + "line": 114, "column": 14 }, "identifierName": "removeIcon" @@ -4629,264 +4629,348 @@ "params": [ { "type": "Identifier", - "start": 3968, - "end": 3973, + "start": 4204, + "end": 4209, "loc": { "start": { - "line": 113, + "line": 114, "column": 15 }, "end": { - "line": 113, + "line": 114, "column": 20 }, "identifierName": "pIcon" }, "name": "pIcon" + }, + { + "type": "Identifier", + "start": 4211, + "end": 4216, + "loc": { + "start": { + "line": 114, + "column": 22 + }, + "end": { + "line": 114, + "column": 27 + }, + "identifierName": "pName" + }, + "name": "pName" } ], "body": { "type": "BlockStatement", - "start": 3975, - "end": 4099, + "start": 4218, + "end": 4436, "loc": { "start": { - "line": 113, - "column": 22 + "line": 114, + "column": 29 }, "end": { - "line": 117, + "line": 121, "column": 5 } }, "body": [ { - "type": "IfStatement", - "start": 3986, - "end": 4092, + "type": "VariableDeclaration", + "start": 4229, + "end": 4271, "loc": { "start": { - "line": 114, + "line": 115, "column": 8 }, "end": { - "line": 116, - "column": 9 + "line": 115, + "column": 50 } }, - "test": { - "type": "CallExpression", - "start": 3990, - "end": 4016, - "loc": { - "start": { - "line": 114, - "column": 12 - }, - "end": { - "line": 114, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3990, - "end": 4009, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 4235, + "end": 4270, "loc": { "start": { - "line": 114, - "column": 12 + "line": 115, + "column": 14 }, "end": { - "line": 114, - "column": 31 + "line": 115, + "column": 49 } }, - "object": { - "type": "MemberExpression", - "start": 3990, - "end": 4000, + "id": { + "type": "Identifier", + "start": 4235, + "end": 4239, "loc": { "start": { - "line": 114, - "column": 12 + "line": 115, + "column": 14 }, "end": { - "line": 114, - "column": 22 + "line": 115, + "column": 18 + }, + "identifierName": "icon" + }, + "name": "icon" + }, + "init": { + "type": "LogicalExpression", + "start": 4242, + "end": 4270, + "loc": { + "start": { + "line": 115, + "column": 21 + }, + "end": { + "line": 115, + "column": 49 } }, - "object": { - "type": "ThisExpression", - "start": 3990, - "end": 3994, + "left": { + "type": "Identifier", + "start": 4242, + "end": 4247, "loc": { "start": { - "line": 114, - "column": 12 + "line": 115, + "column": 21 }, "end": { - "line": 114, - "column": 16 - } - } + "line": 115, + "column": 26 + }, + "identifierName": "pIcon" + }, + "name": "pIcon" }, - "property": { - "type": "Identifier", - "start": 3995, - "end": 4000, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 4251, + "end": 4270, "loc": { "start": { - "line": 114, - "column": 17 + "line": 115, + "column": 30 }, "end": { - "line": 114, - "column": 22 + "line": 115, + "column": 49 + } + }, + "callee": { + "type": "MemberExpression", + "start": 4251, + "end": 4263, + "loc": { + "start": { + "line": 115, + "column": 30 + }, + "end": { + "line": 115, + "column": 42 + } }, - "identifierName": "icons" + "object": { + "type": "ThisExpression", + "start": 4251, + "end": 4255, + "loc": { + "start": { + "line": 115, + "column": 30 + }, + "end": { + "line": 115, + "column": 34 + } + } + }, + "property": { + "type": "Identifier", + "start": 4256, + "end": 4263, + "loc": { + "start": { + "line": 115, + "column": 35 + }, + "end": { + "line": 115, + "column": 42 + }, + "identifierName": "getIcon" + }, + "name": "getIcon" + }, + "computed": false }, - "name": "icons" - }, - "computed": false + "arguments": [ + { + "type": "Identifier", + "start": 4264, + "end": 4269, + "loc": { + "start": { + "line": 115, + "column": 43 + }, + "end": { + "line": 115, + "column": 48 + }, + "identifierName": "pName" + }, + "name": "pName" + } + ] + } + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 4281, + "end": 4429, + "loc": { + "start": { + "line": 116, + "column": 8 + }, + "end": { + "line": 120, + "column": 9 + } + }, + "test": { + "type": "Identifier", + "start": 4285, + "end": 4289, + "loc": { + "start": { + "line": 116, + "column": 12 }, - "property": { - "type": "Identifier", - "start": 4001, - "end": 4009, - "loc": { - "start": { - "line": 114, - "column": 23 - }, - "end": { - "line": 114, - "column": 31 - }, - "identifierName": "includes" - }, - "name": "includes" + "end": { + "line": 116, + "column": 16 }, - "computed": false + "identifierName": "icon" }, - "arguments": [ - { - "type": "Identifier", - "start": 4010, - "end": 4015, - "loc": { - "start": { - "line": 114, - "column": 32 - }, - "end": { - "line": 114, - "column": 37 - }, - "identifierName": "pIcon" - }, - "name": "pIcon" - } - ] + "name": "icon" }, "consequent": { "type": "BlockStatement", - "start": 4018, - "end": 4092, + "start": 4291, + "end": 4429, "loc": { "start": { - "line": 114, - "column": 40 + "line": 116, + "column": 18 }, "end": { - "line": 116, + "line": 120, "column": 9 } }, "body": [ { - "type": "ExpressionStatement", - "start": 4033, - "end": 4081, + "type": "IfStatement", + "start": 4306, + "end": 4418, "loc": { "start": { - "line": 115, + "line": 117, "column": 12 }, "end": { - "line": 115, - "column": 60 + "line": 119, + "column": 13 } }, - "expression": { + "test": { "type": "CallExpression", - "start": 4033, - "end": 4080, + "start": 4310, + "end": 4335, "loc": { "start": { - "line": 115, - "column": 12 + "line": 117, + "column": 16 }, "end": { - "line": 115, - "column": 59 + "line": 117, + "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 4033, - "end": 4050, + "start": 4310, + "end": 4329, "loc": { "start": { - "line": 115, - "column": 12 + "line": 117, + "column": 16 }, "end": { - "line": 115, - "column": 29 + "line": 117, + "column": 35 } }, "object": { "type": "MemberExpression", - "start": 4033, - "end": 4043, + "start": 4310, + "end": 4320, "loc": { "start": { - "line": 115, - "column": 12 + "line": 117, + "column": 16 }, "end": { - "line": 115, - "column": 22 + "line": 117, + "column": 26 } }, "object": { "type": "ThisExpression", - "start": 4033, - "end": 4037, + "start": 4310, + "end": 4314, "loc": { "start": { - "line": 115, - "column": 12 + "line": 117, + "column": 16 }, "end": { - "line": 115, - "column": 16 + "line": 117, + "column": 20 } } }, "property": { "type": "Identifier", - "start": 4038, - "end": 4043, + "start": 4315, + "end": 4320, "loc": { "start": { - "line": 115, - "column": 17 + "line": 117, + "column": 21 }, "end": { - "line": 115, - "column": 22 + "line": 117, + "column": 26 }, "identifierName": "icons" }, @@ -4896,161 +4980,310 @@ }, "property": { "type": "Identifier", - "start": 4044, - "end": 4050, + "start": 4321, + "end": 4329, "loc": { "start": { - "line": 115, - "column": 23 + "line": 117, + "column": 27 }, "end": { - "line": 115, - "column": 29 + "line": 117, + "column": 35 }, - "identifierName": "splice" + "identifierName": "includes" }, - "name": "splice" + "name": "includes" }, "computed": false }, "arguments": [ { - "type": "CallExpression", - "start": 4051, - "end": 4076, + "type": "Identifier", + "start": 4330, + "end": 4334, "loc": { "start": { - "line": 115, - "column": 30 + "line": 117, + "column": 36 }, "end": { - "line": 115, - "column": 55 + "line": 117, + "column": 40 + }, + "identifierName": "icon" + }, + "name": "icon" + } + ] + }, + "consequent": { + "type": "BlockStatement", + "start": 4337, + "end": 4418, + "loc": { + "start": { + "line": 117, + "column": 43 + }, + "end": { + "line": 119, + "column": 13 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 4356, + "end": 4403, + "loc": { + "start": { + "line": 118, + "column": 16 + }, + "end": { + "line": 118, + "column": 63 } }, - "callee": { - "type": "MemberExpression", - "start": 4051, - "end": 4069, + "expression": { + "type": "CallExpression", + "start": 4356, + "end": 4402, "loc": { "start": { - "line": 115, - "column": 30 + "line": 118, + "column": 16 }, "end": { - "line": 115, - "column": 48 + "line": 118, + "column": 62 } }, - "object": { + "callee": { "type": "MemberExpression", - "start": 4051, - "end": 4061, + "start": 4356, + "end": 4373, "loc": { "start": { - "line": 115, - "column": 30 + "line": 118, + "column": 16 }, "end": { - "line": 115, - "column": 40 + "line": 118, + "column": 33 } }, "object": { - "type": "ThisExpression", - "start": 4051, - "end": 4055, + "type": "MemberExpression", + "start": 4356, + "end": 4366, "loc": { "start": { - "line": 115, - "column": 30 + "line": 118, + "column": 16 }, "end": { - "line": 115, - "column": 34 + "line": 118, + "column": 26 } - } - }, - "property": { + }, + "object": { + "type": "ThisExpression", + "start": 4356, + "end": 4360, + "loc": { + "start": { + "line": 118, + "column": 16 + }, + "end": { + "line": 118, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 4361, + "end": 4366, + "loc": { + "start": { + "line": 118, + "column": 21 + }, + "end": { + "line": 118, + "column": 26 + }, + "identifierName": "icons" + }, + "name": "icons" + }, + "computed": false + }, + "property": { "type": "Identifier", - "start": 4056, - "end": 4061, + "start": 4367, + "end": 4373, "loc": { "start": { - "line": 115, - "column": 35 + "line": 118, + "column": 27 }, "end": { - "line": 115, - "column": 40 + "line": 118, + "column": 33 }, - "identifierName": "icons" + "identifierName": "splice" }, - "name": "icons" + "name": "splice" }, "computed": false }, - "property": { - "type": "Identifier", - "start": 4062, - "end": 4069, - "loc": { - "start": { - "line": 115, - "column": 41 + "arguments": [ + { + "type": "CallExpression", + "start": 4374, + "end": 4398, + "loc": { + "start": { + "line": 118, + "column": 34 + }, + "end": { + "line": 118, + "column": 58 + } }, - "end": { - "line": 115, - "column": 48 + "callee": { + "type": "MemberExpression", + "start": 4374, + "end": 4392, + "loc": { + "start": { + "line": 118, + "column": 34 + }, + "end": { + "line": 118, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 4374, + "end": 4384, + "loc": { + "start": { + "line": 118, + "column": 34 + }, + "end": { + "line": 118, + "column": 44 + } + }, + "object": { + "type": "ThisExpression", + "start": 4374, + "end": 4378, + "loc": { + "start": { + "line": 118, + "column": 34 + }, + "end": { + "line": 118, + "column": 38 + } + } + }, + "property": { + "type": "Identifier", + "start": 4379, + "end": 4384, + "loc": { + "start": { + "line": 118, + "column": 39 + }, + "end": { + "line": 118, + "column": 44 + }, + "identifierName": "icons" + }, + "name": "icons" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 4385, + "end": 4392, + "loc": { + "start": { + "line": 118, + "column": 45 + }, + "end": { + "line": 118, + "column": 52 + }, + "identifierName": "indexOf" + }, + "name": "indexOf" + }, + "computed": false }, - "identifierName": "indexOf" + "arguments": [ + { + "type": "Identifier", + "start": 4393, + "end": 4397, + "loc": { + "start": { + "line": 118, + "column": 53 + }, + "end": { + "line": 118, + "column": 57 + }, + "identifierName": "icon" + }, + "name": "icon" + } + ] }, - "name": "indexOf" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 4070, - "end": 4075, - "loc": { - "start": { - "line": 115, - "column": 49 + { + "type": "NumericLiteral", + "start": 4400, + "end": 4401, + "loc": { + "start": { + "line": 118, + "column": 60 + }, + "end": { + "line": 118, + "column": 61 + } }, - "end": { - "line": 115, - "column": 54 + "extra": { + "rawValue": 1, + "raw": "1" }, - "identifierName": "pIcon" - }, - "name": "pIcon" - } - ] - }, - { - "type": "NumericLiteral", - "start": 4078, - "end": 4079, - "loc": { - "start": { - "line": 115, - "column": 57 - }, - "end": { - "line": 115, - "column": 58 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 + "value": 1 + } + ] + } } - ] - } + ], + "directives": [] + }, + "alternate": null } ], "directives": [] @@ -5064,16 +5297,16 @@ "leadingComments": [ { "type": "CommentBlock", - "value": "*\r\n * Removes the icon from this VYI.\r\n * @param {Icon} - The icon to remove.\r\n ", + "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", "start": 3855, - "end": 3951, + "end": 4187, "loc": { "start": { "line": 109, "column": 4 }, "end": { - "line": 112, + "line": 113, "column": 7 } } @@ -5083,15 +5316,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", - "start": 4105, - "end": 4226, + "start": 4442, + "end": 4563, "loc": { "start": { - "line": 118, + "line": 122, "column": 4 }, "end": { - "line": 121, + "line": 125, "column": 7 } } @@ -5100,15 +5333,15 @@ }, { "type": "ClassMethod", - "start": 4232, - "end": 4451, + "start": 4569, + "end": 4788, "loc": { "start": { - "line": 122, + "line": 126, "column": 4 }, "end": { - "line": 129, + "line": 133, "column": 5 } }, @@ -5116,15 +5349,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4232, - "end": 4244, + "start": 4569, + "end": 4581, "loc": { "start": { - "line": 122, + "line": 126, "column": 4 }, "end": { - "line": 122, + "line": 126, "column": 16 }, "identifierName": "getIconNames" @@ -5140,59 +5373,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4247, - "end": 4451, + "start": 4584, + "end": 4788, "loc": { "start": { - "line": 122, + "line": 126, "column": 19 }, "end": { - "line": 129, + "line": 133, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 4301, - "end": 4322, + "start": 4638, + "end": 4659, "loc": { "start": { - "line": 124, + "line": 128, "column": 8 }, "end": { - "line": 124, + "line": 128, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4307, - "end": 4321, + "start": 4644, + "end": 4658, "loc": { "start": { - "line": 124, + "line": 128, "column": 14 }, "end": { - "line": 124, + "line": 128, "column": 28 } }, "id": { "type": "Identifier", - "start": 4307, - "end": 4316, + "start": 4644, + "end": 4653, "loc": { "start": { - "line": 124, + "line": 128, "column": 14 }, "end": { - "line": 124, + "line": 128, "column": 23 }, "identifierName": "iconNames" @@ -5202,15 +5435,15 @@ }, "init": { "type": "ArrayExpression", - "start": 4319, - "end": 4321, + "start": 4656, + "end": 4658, "loc": { "start": { - "line": 124, + "line": 128, "column": 26 }, "end": { - "line": 124, + "line": 128, "column": 28 } }, @@ -5224,15 +5457,15 @@ { "type": "CommentLine", "value": " Array to store the icon names.", - "start": 4258, - "end": 4291, + "start": 4595, + "end": 4628, "loc": { "start": { - "line": 123, + "line": 127, "column": 8 }, "end": { - "line": 123, + "line": 127, "column": 41 } } @@ -5241,86 +5474,86 @@ }, { "type": "ExpressionStatement", - "start": 4332, - "end": 4417, + "start": 4669, + "end": 4754, "loc": { "start": { - "line": 125, + "line": 129, "column": 8 }, "end": { - "line": 127, + "line": 131, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 4332, - "end": 4416, + "start": 4669, + "end": 4753, "loc": { "start": { - "line": 125, + "line": 129, "column": 8 }, "end": { - "line": 127, + "line": 131, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 4332, - "end": 4350, + "start": 4669, + "end": 4687, "loc": { "start": { - "line": 125, + "line": 129, "column": 8 }, "end": { - "line": 125, + "line": 129, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 4332, - "end": 4342, + "start": 4669, + "end": 4679, "loc": { "start": { - "line": 125, + "line": 129, "column": 8 }, "end": { - "line": 125, + "line": 129, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 4332, - "end": 4336, + "start": 4669, + "end": 4673, "loc": { "start": { - "line": 125, + "line": 129, "column": 8 }, "end": { - "line": 125, + "line": 129, "column": 12 } } }, "property": { "type": "Identifier", - "start": 4337, - "end": 4342, + "start": 4674, + "end": 4679, "loc": { "start": { - "line": 125, + "line": 129, "column": 13 }, "end": { - "line": 125, + "line": 129, "column": 18 }, "identifierName": "icons" @@ -5331,15 +5564,15 @@ }, "property": { "type": "Identifier", - "start": 4343, - "end": 4350, + "start": 4680, + "end": 4687, "loc": { "start": { - "line": 125, + "line": 129, "column": 19 }, "end": { - "line": 125, + "line": 129, "column": 26 }, "identifierName": "forEach" @@ -5351,15 +5584,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 4351, - "end": 4415, + "start": 4688, + "end": 4752, "loc": { "start": { - "line": 125, + "line": 129, "column": 27 }, "end": { - "line": 127, + "line": 131, "column": 9 } }, @@ -5370,15 +5603,15 @@ "params": [ { "type": "Identifier", - "start": 4352, - "end": 4357, + "start": 4689, + "end": 4694, "loc": { "start": { - "line": 125, + "line": 129, "column": 28 }, "end": { - "line": 125, + "line": 129, "column": 33 }, "identifierName": "pIcon" @@ -5388,72 +5621,72 @@ ], "body": { "type": "BlockStatement", - "start": 4362, - "end": 4415, + "start": 4699, + "end": 4752, "loc": { "start": { - "line": 125, + "line": 129, "column": 38 }, "end": { - "line": 127, + "line": 131, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 4377, - "end": 4404, + "start": 4714, + "end": 4741, "loc": { "start": { - "line": 126, + "line": 130, "column": 12 }, "end": { - "line": 126, + "line": 130, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 4377, - "end": 4403, + "start": 4714, + "end": 4740, "loc": { "start": { - "line": 126, + "line": 130, "column": 12 }, "end": { - "line": 126, + "line": 130, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 4377, - "end": 4391, + "start": 4714, + "end": 4728, "loc": { "start": { - "line": 126, + "line": 130, "column": 12 }, "end": { - "line": 126, + "line": 130, "column": 26 } }, "object": { "type": "Identifier", - "start": 4377, - "end": 4386, + "start": 4714, + "end": 4723, "loc": { "start": { - "line": 126, + "line": 130, "column": 12 }, "end": { - "line": 126, + "line": 130, "column": 21 }, "identifierName": "iconNames" @@ -5462,15 +5695,15 @@ }, "property": { "type": "Identifier", - "start": 4387, - "end": 4391, + "start": 4724, + "end": 4728, "loc": { "start": { - "line": 126, + "line": 130, "column": 22 }, "end": { - "line": 126, + "line": 130, "column": 26 }, "identifierName": "push" @@ -5482,29 +5715,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 4392, - "end": 4402, + "start": 4729, + "end": 4739, "loc": { "start": { - "line": 126, + "line": 130, "column": 27 }, "end": { - "line": 126, + "line": 130, "column": 37 } }, "object": { "type": "Identifier", - "start": 4392, - "end": 4397, + "start": 4729, + "end": 4734, "loc": { "start": { - "line": 126, + "line": 130, "column": 27 }, "end": { - "line": 126, + "line": 130, "column": 32 }, "identifierName": "pIcon" @@ -5513,15 +5746,15 @@ }, "property": { "type": "Identifier", - "start": 4398, - "end": 4402, + "start": 4735, + "end": 4739, "loc": { "start": { - "line": 126, + "line": 130, "column": 33 }, "end": { - "line": 126, + "line": 130, "column": 37 }, "identifierName": "name" @@ -5542,29 +5775,29 @@ }, { "type": "ReturnStatement", - "start": 4427, - "end": 4444, + "start": 4764, + "end": 4781, "loc": { "start": { - "line": 128, + "line": 132, "column": 8 }, "end": { - "line": 128, + "line": 132, "column": 25 } }, "argument": { "type": "Identifier", - "start": 4434, - "end": 4443, + "start": 4771, + "end": 4780, "loc": { "start": { - "line": 128, + "line": 132, "column": 15 }, "end": { - "line": 128, + "line": 132, "column": 24 }, "identifierName": "iconNames" @@ -5580,15 +5813,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", - "start": 4105, - "end": 4226, + "start": 4442, + "end": 4563, "loc": { "start": { - "line": 118, + "line": 122, "column": 4 }, "end": { - "line": 121, + "line": 125, "column": 7 } } @@ -5598,15 +5831,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", - "start": 4457, - "end": 4658, + "start": 4794, + "end": 4995, "loc": { "start": { - "line": 130, + "line": 134, "column": 4 }, "end": { - "line": 134, + "line": 138, "column": 7 } } @@ -5615,15 +5848,15 @@ }, { "type": "ClassMethod", - "start": 4664, - "end": 4895, + "start": 5001, + "end": 5232, "loc": { "start": { - "line": 135, + "line": 139, "column": 4 }, "end": { - "line": 142, + "line": 146, "column": 5 } }, @@ -5631,15 +5864,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4664, - "end": 4671, + "start": 5001, + "end": 5008, "loc": { "start": { - "line": 135, + "line": 139, "column": 4 }, "end": { - "line": 135, + "line": 139, "column": 11 }, "identifierName": "getIcon" @@ -5655,15 +5888,15 @@ "params": [ { "type": "Identifier", - "start": 4672, - "end": 4677, + "start": 5009, + "end": 5014, "loc": { "start": { - "line": 135, + "line": 139, "column": 12 }, "end": { - "line": 135, + "line": 139, "column": 17 }, "identifierName": "pName" @@ -5673,73 +5906,73 @@ ], "body": { "type": "BlockStatement", - "start": 4679, - "end": 4895, + "start": 5016, + "end": 5232, "loc": { "start": { - "line": 135, + "line": 139, "column": 19 }, "end": { - "line": 142, + "line": 146, "column": 5 } }, "body": [ { "type": "ForOfStatement", - "start": 4690, - "end": 4887, + "start": 5027, + "end": 5224, "loc": { "start": { - "line": 136, + "line": 140, "column": 8 }, "end": { - "line": 141, + "line": 145, "column": 9 } }, "left": { "type": "VariableDeclaration", - "start": 4695, - "end": 4705, + "start": 5032, + "end": 5042, "loc": { "start": { - "line": 136, + "line": 140, "column": 13 }, "end": { - "line": 136, + "line": 140, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 4701, - "end": 4705, + "start": 5038, + "end": 5042, "loc": { "start": { - "line": 136, + "line": 140, "column": 19 }, "end": { - "line": 136, + "line": 140, "column": 23 } }, "id": { "type": "Identifier", - "start": 4701, - "end": 4705, + "start": 5038, + "end": 5042, "loc": { "start": { - "line": 136, + "line": 140, "column": 19 }, "end": { - "line": 136, + "line": 140, "column": 23 }, "identifierName": "icon" @@ -5753,44 +5986,44 @@ }, "right": { "type": "MemberExpression", - "start": 4709, - "end": 4719, + "start": 5046, + "end": 5056, "loc": { "start": { - "line": 136, + "line": 140, "column": 27 }, "end": { - "line": 136, + "line": 140, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 4709, - "end": 4713, + "start": 5046, + "end": 5050, "loc": { "start": { - "line": 136, + "line": 140, "column": 27 }, "end": { - "line": 136, + "line": 140, "column": 31 } } }, "property": { "type": "Identifier", - "start": 4714, - "end": 4719, + "start": 5051, + "end": 5056, "loc": { "start": { - "line": 136, + "line": 140, "column": 32 }, "end": { - "line": 136, + "line": 140, "column": 37 }, "identifierName": "icons" @@ -5801,86 +6034,86 @@ }, "body": { "type": "BlockStatement", - "start": 4721, - "end": 4887, + "start": 5058, + "end": 5224, "loc": { "start": { - "line": 136, + "line": 140, "column": 39 }, "end": { - "line": 141, + "line": 145, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 4800, - "end": 4876, + "start": 5137, + "end": 5213, "loc": { "start": { - "line": 138, + "line": 142, "column": 12 }, "end": { - "line": 140, + "line": 144, "column": 13 } }, "test": { "type": "BinaryExpression", - "start": 4804, - "end": 4828, + "start": 5141, + "end": 5165, "loc": { "start": { - "line": 138, + "line": 142, "column": 16 }, "end": { - "line": 138, + "line": 142, "column": 40 } }, "left": { "type": "CallExpression", - "start": 4804, - "end": 4818, + "start": 5141, + "end": 5155, "loc": { "start": { - "line": 138, + "line": 142, "column": 16 }, "end": { - "line": 138, + "line": 142, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 4804, - "end": 4816, + "start": 5141, + "end": 5153, "loc": { "start": { - "line": 138, + "line": 142, "column": 16 }, "end": { - "line": 138, + "line": 142, "column": 28 } }, "object": { "type": "Identifier", - "start": 4804, - "end": 4808, + "start": 5141, + "end": 5145, "loc": { "start": { - "line": 138, + "line": 142, "column": 16 }, "end": { - "line": 138, + "line": 142, "column": 20 }, "identifierName": "icon" @@ -5890,15 +6123,15 @@ }, "property": { "type": "Identifier", - "start": 4809, - "end": 4816, + "start": 5146, + "end": 5153, "loc": { "start": { - "line": 138, + "line": 142, "column": 21 }, "end": { - "line": 138, + "line": 142, "column": 28 }, "identifierName": "getName" @@ -5914,15 +6147,15 @@ "operator": "===", "right": { "type": "Identifier", - "start": 4823, - "end": 4828, + "start": 5160, + "end": 5165, "loc": { "start": { - "line": 138, + "line": 142, "column": 35 }, "end": { - "line": 138, + "line": 142, "column": 40 }, "identifierName": "pName" @@ -5933,44 +6166,44 @@ }, "consequent": { "type": "BlockStatement", - "start": 4830, - "end": 4876, + "start": 5167, + "end": 5213, "loc": { "start": { - "line": 138, + "line": 142, "column": 42 }, "end": { - "line": 140, + "line": 144, "column": 13 } }, "body": [ { "type": "ReturnStatement", - "start": 4849, - "end": 4861, + "start": 5186, + "end": 5198, "loc": { "start": { - "line": 139, + "line": 143, "column": 16 }, "end": { - "line": 139, + "line": 143, "column": 28 } }, "argument": { "type": "Identifier", - "start": 4856, - "end": 4860, + "start": 5193, + "end": 5197, "loc": { "start": { - "line": 139, + "line": 143, "column": 23 }, "end": { - "line": 139, + "line": 143, "column": 27 }, "identifierName": "icon" @@ -5986,15 +6219,15 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 4736, - "end": 4786, + "start": 5073, + "end": 5123, "loc": { "start": { - "line": 137, + "line": 141, "column": 12 }, "end": { - "line": 137, + "line": 141, "column": 62 } } @@ -6007,15 +6240,15 @@ }, { "type": "EmptyStatement", - "start": 4887, - "end": 4888, + "start": 5224, + "end": 5225, "loc": { "start": { - "line": 141, + "line": 145, "column": 9 }, "end": { - "line": 141, + "line": 145, "column": 10 } } @@ -6028,15 +6261,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", - "start": 4457, - "end": 4658, + "start": 4794, + "end": 4995, "loc": { "start": { - "line": 130, + "line": 134, "column": 4 }, "end": { - "line": 134, + "line": 138, "column": 7 } } @@ -6046,15 +6279,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 4901, - "end": 5003, + "start": 5238, + "end": 5340, "loc": { "start": { - "line": 143, + "line": 147, "column": 4 }, "end": { - "line": 146, + "line": 150, "column": 7 } } @@ -6063,15 +6296,15 @@ }, { "type": "ClassMethod", - "start": 5009, - "end": 5342, + "start": 5346, + "end": 5679, "loc": { "start": { - "line": 147, + "line": 151, "column": 4 }, "end": { - "line": 158, + "line": 162, "column": 5 } }, @@ -6079,15 +6312,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 5009, - "end": 5015, + "start": 5346, + "end": 5352, "loc": { "start": { - "line": 147, + "line": 151, "column": 4 }, "end": { - "line": 147, + "line": 151, "column": 10 }, "identifierName": "export" @@ -6103,59 +6336,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 5018, - "end": 5342, + "start": 5355, + "end": 5679, "loc": { "start": { - "line": 147, + "line": 151, "column": 13 }, "end": { - "line": 158, + "line": 162, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 5029, - "end": 5044, + "start": 5366, + "end": 5381, "loc": { "start": { - "line": 148, + "line": 152, "column": 8 }, "end": { - "line": 148, + "line": 152, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 5035, - "end": 5043, + "start": 5372, + "end": 5380, "loc": { "start": { - "line": 148, + "line": 152, "column": 14 }, "end": { - "line": 148, + "line": 152, "column": 22 } }, "id": { "type": "Identifier", - "start": 5035, - "end": 5038, + "start": 5372, + "end": 5375, "loc": { "start": { - "line": 148, + "line": 152, "column": 14 }, "end": { - "line": 148, + "line": 152, "column": 17 }, "identifierName": "vyi" @@ -6164,15 +6397,15 @@ }, "init": { "type": "ObjectExpression", - "start": 5041, - "end": 5043, + "start": 5378, + "end": 5380, "loc": { "start": { - "line": 148, + "line": 152, "column": 20 }, "end": { - "line": 148, + "line": 152, "column": 22 } }, @@ -6185,15 +6418,15 @@ { "type": "CommentLine", "value": " Set version", - "start": 5054, - "end": 5068, + "start": 5391, + "end": 5405, "loc": { "start": { - "line": 149, + "line": 153, "column": 8 }, "end": { - "line": 149, + "line": 153, "column": 22 } } @@ -6202,58 +6435,58 @@ }, { "type": "ExpressionStatement", - "start": 5078, - "end": 5105, + "start": 5415, + "end": 5442, "loc": { "start": { - "line": 150, + "line": 154, "column": 8 }, "end": { - "line": 150, + "line": 154, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 5078, - "end": 5104, + "start": 5415, + "end": 5441, "loc": { "start": { - "line": 150, + "line": 154, "column": 8 }, "end": { - "line": 150, + "line": 154, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5078, - "end": 5083, + "start": 5415, + "end": 5420, "loc": { "start": { - "line": 150, + "line": 154, "column": 8 }, "end": { - "line": 150, + "line": 154, "column": 13 } }, "object": { "type": "Identifier", - "start": 5078, - "end": 5081, + "start": 5415, + "end": 5418, "loc": { "start": { - "line": 150, + "line": 154, "column": 8 }, "end": { - "line": 150, + "line": 154, "column": 11 }, "identifierName": "vyi" @@ -6263,15 +6496,15 @@ }, "property": { "type": "Identifier", - "start": 5082, - "end": 5083, + "start": 5419, + "end": 5420, "loc": { "start": { - "line": 150, + "line": 154, "column": 12 }, "end": { - "line": 150, + "line": 154, "column": 13 }, "identifierName": "v" @@ -6283,44 +6516,44 @@ }, "right": { "type": "MemberExpression", - "start": 5086, - "end": 5104, + "start": 5423, + "end": 5441, "loc": { "start": { - "line": 150, + "line": 154, "column": 16 }, "end": { - "line": 150, + "line": 154, "column": 34 } }, "object": { "type": "ThisExpression", - "start": 5086, - "end": 5090, + "start": 5423, + "end": 5427, "loc": { "start": { - "line": 150, + "line": 154, "column": 16 }, "end": { - "line": 150, + "line": 154, "column": 20 } } }, "property": { "type": "Identifier", - "start": 5091, - "end": 5104, + "start": 5428, + "end": 5441, "loc": { "start": { - "line": 150, + "line": 154, "column": 21 }, "end": { - "line": 150, + "line": 154, "column": 34 }, "identifierName": "formatVersion" @@ -6335,15 +6568,15 @@ { "type": "CommentLine", "value": " Set version", - "start": 5054, - "end": 5068, + "start": 5391, + "end": 5405, "loc": { "start": { - "line": 149, + "line": 153, "column": 8 }, "end": { - "line": 149, + "line": 153, "column": 22 } } @@ -6353,15 +6586,15 @@ { "type": "CommentLine", "value": " Set the icons array", - "start": 5115, - "end": 5137, + "start": 5452, + "end": 5474, "loc": { "start": { - "line": 151, + "line": 155, "column": 8 }, "end": { - "line": 151, + "line": 155, "column": 30 } } @@ -6370,58 +6603,58 @@ }, { "type": "ExpressionStatement", - "start": 5147, - "end": 5158, + "start": 5484, + "end": 5495, "loc": { "start": { - "line": 152, + "line": 156, "column": 8 }, "end": { - "line": 152, + "line": 156, "column": 19 } }, "expression": { "type": "AssignmentExpression", - "start": 5147, - "end": 5157, + "start": 5484, + "end": 5494, "loc": { "start": { - "line": 152, + "line": 156, "column": 8 }, "end": { - "line": 152, + "line": 156, "column": 18 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5147, - "end": 5152, + "start": 5484, + "end": 5489, "loc": { "start": { - "line": 152, + "line": 156, "column": 8 }, "end": { - "line": 152, + "line": 156, "column": 13 } }, "object": { "type": "Identifier", - "start": 5147, - "end": 5150, + "start": 5484, + "end": 5487, "loc": { "start": { - "line": 152, + "line": 156, "column": 8 }, "end": { - "line": 152, + "line": 156, "column": 11 }, "identifierName": "vyi" @@ -6431,15 +6664,15 @@ }, "property": { "type": "Identifier", - "start": 5151, - "end": 5152, + "start": 5488, + "end": 5489, "loc": { "start": { - "line": 152, + "line": 156, "column": 12 }, "end": { - "line": 152, + "line": 156, "column": 13 }, "identifierName": "i" @@ -6451,15 +6684,15 @@ }, "right": { "type": "ArrayExpression", - "start": 5155, - "end": 5157, + "start": 5492, + "end": 5494, "loc": { "start": { - "line": 152, + "line": 156, "column": 16 }, "end": { - "line": 152, + "line": 156, "column": 18 } }, @@ -6471,15 +6704,15 @@ { "type": "CommentLine", "value": " Set the icons array", - "start": 5115, - "end": 5137, + "start": 5452, + "end": 5474, "loc": { "start": { - "line": 151, + "line": 155, "column": 8 }, "end": { - "line": 151, + "line": 155, "column": 30 } } @@ -6488,86 +6721,86 @@ }, { "type": "ExpressionStatement", - "start": 5168, - "end": 5314, + "start": 5505, + "end": 5651, "loc": { "start": { - "line": 153, + "line": 157, "column": 8 }, "end": { - "line": 156, + "line": 160, "column": 11 } }, "expression": { "type": "CallExpression", - "start": 5168, - "end": 5313, + "start": 5505, + "end": 5650, "loc": { "start": { - "line": 153, + "line": 157, "column": 8 }, "end": { - "line": 156, + "line": 160, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 5168, - "end": 5186, + "start": 5505, + "end": 5523, "loc": { "start": { - "line": 153, + "line": 157, "column": 8 }, "end": { - "line": 153, + "line": 157, "column": 26 } }, "object": { "type": "MemberExpression", - "start": 5168, - "end": 5178, + "start": 5505, + "end": 5515, "loc": { "start": { - "line": 153, + "line": 157, "column": 8 }, "end": { - "line": 153, + "line": 157, "column": 18 } }, "object": { "type": "ThisExpression", - "start": 5168, - "end": 5172, + "start": 5505, + "end": 5509, "loc": { "start": { - "line": 153, + "line": 157, "column": 8 }, "end": { - "line": 153, + "line": 157, "column": 12 } } }, "property": { "type": "Identifier", - "start": 5173, - "end": 5178, + "start": 5510, + "end": 5515, "loc": { "start": { - "line": 153, + "line": 157, "column": 13 }, "end": { - "line": 153, + "line": 157, "column": 18 }, "identifierName": "icons" @@ -6578,15 +6811,15 @@ }, "property": { "type": "Identifier", - "start": 5179, - "end": 5186, + "start": 5516, + "end": 5523, "loc": { "start": { - "line": 153, + "line": 157, "column": 19 }, "end": { - "line": 153, + "line": 157, "column": 26 }, "identifierName": "forEach" @@ -6598,15 +6831,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 5187, - "end": 5312, + "start": 5524, + "end": 5649, "loc": { "start": { - "line": 153, + "line": 157, "column": 27 }, "end": { - "line": 156, + "line": 160, "column": 9 } }, @@ -6617,15 +6850,15 @@ "params": [ { "type": "Identifier", - "start": 5188, - "end": 5193, + "start": 5525, + "end": 5530, "loc": { "start": { - "line": 153, + "line": 157, "column": 28 }, "end": { - "line": 153, + "line": 157, "column": 33 }, "identifierName": "pIcon" @@ -6635,86 +6868,86 @@ ], "body": { "type": "BlockStatement", - "start": 5198, - "end": 5312, + "start": 5535, + "end": 5649, "loc": { "start": { - "line": 153, + "line": 157, "column": 38 }, "end": { - "line": 156, + "line": 160, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 5274, - "end": 5301, + "start": 5611, + "end": 5638, "loc": { "start": { - "line": 155, + "line": 159, "column": 12 }, "end": { - "line": 155, + "line": 159, "column": 39 } }, "expression": { "type": "CallExpression", - "start": 5274, - "end": 5300, + "start": 5611, + "end": 5637, "loc": { "start": { - "line": 155, + "line": 159, "column": 12 }, "end": { - "line": 155, + "line": 159, "column": 38 } }, "callee": { "type": "MemberExpression", - "start": 5274, - "end": 5284, + "start": 5611, + "end": 5621, "loc": { "start": { - "line": 155, + "line": 159, "column": 12 }, "end": { - "line": 155, + "line": 159, "column": 22 } }, "object": { "type": "MemberExpression", - "start": 5274, - "end": 5279, + "start": 5611, + "end": 5616, "loc": { "start": { - "line": 155, + "line": 159, "column": 12 }, "end": { - "line": 155, + "line": 159, "column": 17 } }, "object": { "type": "Identifier", - "start": 5274, - "end": 5277, + "start": 5611, + "end": 5614, "loc": { "start": { - "line": 155, + "line": 159, "column": 12 }, "end": { - "line": 155, + "line": 159, "column": 15 }, "identifierName": "vyi" @@ -6724,15 +6957,15 @@ }, "property": { "type": "Identifier", - "start": 5278, - "end": 5279, + "start": 5615, + "end": 5616, "loc": { "start": { - "line": 155, + "line": 159, "column": 16 }, "end": { - "line": 155, + "line": 159, "column": 17 }, "identifierName": "i" @@ -6744,15 +6977,15 @@ }, "property": { "type": "Identifier", - "start": 5280, - "end": 5284, + "start": 5617, + "end": 5621, "loc": { "start": { - "line": 155, + "line": 159, "column": 18 }, "end": { - "line": 155, + "line": 159, "column": 22 }, "identifierName": "push" @@ -6765,43 +6998,43 @@ "arguments": [ { "type": "CallExpression", - "start": 5285, - "end": 5299, + "start": 5622, + "end": 5636, "loc": { "start": { - "line": 155, + "line": 159, "column": 23 }, "end": { - "line": 155, + "line": 159, "column": 37 } }, "callee": { "type": "MemberExpression", - "start": 5285, - "end": 5297, + "start": 5622, + "end": 5634, "loc": { "start": { - "line": 155, + "line": 159, "column": 23 }, "end": { - "line": 155, + "line": 159, "column": 35 } }, "object": { "type": "Identifier", - "start": 5285, - "end": 5290, + "start": 5622, + "end": 5627, "loc": { "start": { - "line": 155, + "line": 159, "column": 23 }, "end": { - "line": 155, + "line": 159, "column": 28 }, "identifierName": "pIcon" @@ -6810,15 +7043,15 @@ }, "property": { "type": "Identifier", - "start": 5291, - "end": 5297, + "start": 5628, + "end": 5634, "loc": { "start": { - "line": 155, + "line": 159, "column": 29 }, "end": { - "line": 155, + "line": 159, "column": 35 }, "identifierName": "export" @@ -6836,15 +7069,15 @@ { "type": "CommentLine", "value": " Push the icon data to the vyi export object.", - "start": 5213, - "end": 5260, + "start": 5550, + "end": 5597, "loc": { "start": { - "line": 154, + "line": 158, "column": 12 }, "end": { - "line": 154, + "line": 158, "column": 59 } } @@ -6860,29 +7093,29 @@ }, { "type": "ReturnStatement", - "start": 5324, - "end": 5335, + "start": 5661, + "end": 5672, "loc": { "start": { - "line": 157, + "line": 161, "column": 8 }, "end": { - "line": 157, + "line": 161, "column": 19 } }, "argument": { "type": "Identifier", - "start": 5331, - "end": 5334, + "start": 5668, + "end": 5671, "loc": { "start": { - "line": 157, + "line": 161, "column": 15 }, "end": { - "line": 157, + "line": 161, "column": 18 }, "identifierName": "vyi" @@ -6897,15 +7130,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 4901, - "end": 5003, + "start": 5238, + "end": 5340, "loc": { "start": { - "line": 143, + "line": 147, "column": 4 }, "end": { - "line": 146, + "line": 150, "column": 7 } } @@ -7164,16 +7397,16 @@ }, { "type": "CommentBlock", - "value": "*\r\n * Removes the icon from this VYI.\r\n * @param {Icon} - The icon to remove.\r\n ", + "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", "start": 3855, - "end": 3951, + "end": 4187, "loc": { "start": { "line": 109, "column": 4 }, "end": { - "line": 112, + "line": 113, "column": 7 } } @@ -7181,15 +7414,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", - "start": 4105, - "end": 4226, + "start": 4442, + "end": 4563, "loc": { "start": { - "line": 118, + "line": 122, "column": 4 }, "end": { - "line": 121, + "line": 125, "column": 7 } } @@ -7197,15 +7430,15 @@ { "type": "CommentLine", "value": " Array to store the icon names.", - "start": 4258, - "end": 4291, + "start": 4595, + "end": 4628, "loc": { "start": { - "line": 123, + "line": 127, "column": 8 }, "end": { - "line": 123, + "line": 127, "column": 41 } } @@ -7213,15 +7446,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", - "start": 4457, - "end": 4658, + "start": 4794, + "end": 4995, "loc": { "start": { - "line": 130, + "line": 134, "column": 4 }, "end": { - "line": 134, + "line": 138, "column": 7 } } @@ -7229,15 +7462,15 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 4736, - "end": 4786, + "start": 5073, + "end": 5123, "loc": { "start": { - "line": 137, + "line": 141, "column": 12 }, "end": { - "line": 137, + "line": 141, "column": 62 } } @@ -7245,15 +7478,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 4901, - "end": 5003, + "start": 5238, + "end": 5340, "loc": { "start": { - "line": 143, + "line": 147, "column": 4 }, "end": { - "line": 146, + "line": 150, "column": 7 } } @@ -7261,15 +7494,15 @@ { "type": "CommentLine", "value": " Set version", - "start": 5054, - "end": 5068, + "start": 5391, + "end": 5405, "loc": { "start": { - "line": 149, + "line": 153, "column": 8 }, "end": { - "line": 149, + "line": 153, "column": 22 } } @@ -7277,15 +7510,15 @@ { "type": "CommentLine", "value": " Set the icons array", - "start": 5115, - "end": 5137, + "start": 5452, + "end": 5474, "loc": { "start": { - "line": 151, + "line": 155, "column": 8 }, "end": { - "line": 151, + "line": 155, "column": 30 } } @@ -7293,15 +7526,15 @@ { "type": "CommentLine", "value": " Push the icon data to the vyi export object.", - "start": 5213, - "end": 5260, + "start": 5550, + "end": 5597, "loc": { "start": { - "line": 154, + "line": 158, "column": 12 }, "end": { - "line": 154, + "line": 158, "column": 59 } } @@ -11725,18 +11958,378 @@ "end": 2322, "loc": { "start": { - "line": 69, - "column": 34 + "line": 69, + "column": 34 + }, + "end": { + "line": 69, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2322, + "end": 2323, + "loc": { + "start": { + "line": 69, + "column": 37 + }, + "end": { + "line": 69, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "i", + "start": 2323, + "end": 2324, + "loc": { + "start": { + "line": 69, + "column": 38 + }, + "end": { + "line": 69, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2324, + "end": 2325, + "loc": { + "start": { + "line": 69, + "column": 39 + }, + "end": { + "line": 69, + "column": 40 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n ", + "start": 2347, + "end": 2500, + "loc": { + "start": { + "line": 70, + "column": 20 + }, + "end": { + "line": 73, + "column": 23 + } + } + }, + { + "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": 2522, + "end": 2526, + "loc": { + "start": { + "line": 74, + "column": 20 + }, + "end": { + "line": 74, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2526, + "end": 2527, + "loc": { + "start": { + "line": 74, + "column": 24 + }, + "end": { + "line": 74, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "formatVersion", + "start": 2527, + "end": 2540, + "loc": { + "start": { + "line": 74, + "column": 25 + }, + "end": { + "line": 74, + "column": 38 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2541, + "end": 2542, + "loc": { + "start": { + "line": 74, + "column": 39 + }, + "end": { + "line": 74, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "vyi", + "start": 2543, + "end": 2546, + "loc": { + "start": { + "line": 74, + "column": 41 + }, + "end": { + "line": 74, + "column": 44 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2546, + "end": 2547, + "loc": { + "start": { + "line": 74, + "column": 44 + }, + "end": { + "line": 74, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "v", + "start": 2547, + "end": 2548, + "loc": { + "start": { + "line": 74, + "column": 45 + }, + "end": { + "line": 74, + "column": 46 + } + } + }, + { + "type": { + "label": "||", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 1, + "updateContext": null + }, + "value": "||", + "start": 2549, + "end": 2551, + "loc": { + "start": { + "line": 74, + "column": 47 + }, + "end": { + "line": 74, + "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": 2552, + "end": 2553, + "loc": { + "start": { + "line": 74, + "column": 50 + }, + "end": { + "line": 74, + "column": 51 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2553, + "end": 2554, + "loc": { + "start": { + "line": 74, + "column": 51 }, "end": { - "line": 69, - "column": 37 + "line": 74, + "column": 52 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11747,23 +12340,24 @@ "binop": null, "updateContext": null }, - "start": 2322, - "end": 2323, + "value": "if", + "start": 2578, + "end": 2580, "loc": { "start": { - "line": 69, - "column": 37 + "line": 76, + "column": 20 }, "end": { - "line": 69, - "column": 38 + "line": 76, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11772,68 +12366,50 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 2323, - "end": 2324, + "start": 2581, + "end": 2582, "loc": { "start": { - "line": 69, - "column": 38 + "line": 76, + "column": 23 }, "end": { - "line": 69, - "column": 39 + "line": 76, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2324, - "end": 2325, - "loc": { - "start": { - "line": 69, - "column": 39 - }, - "end": { - "line": 69, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The version of the vyi. 1 for default if no version is found.\r\n * @type {number}\r\n ", - "start": 2347, - "end": 2500, + "value": "Array", + "start": 2582, + "end": 2587, "loc": { "start": { - "line": 70, - "column": 20 + "line": 76, + "column": 24 }, "end": { - "line": 73, - "column": 23 + "line": 76, + "column": 29 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11842,50 +12418,49 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2522, - "end": 2526, + "start": 2587, + "end": 2588, "loc": { "start": { - "line": 74, - "column": 20 + "line": 76, + "column": 29 }, "end": { - "line": 74, - "column": 24 + "line": 76, + "column": 30 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2526, - "end": 2527, + "value": "isArray", + "start": 2588, + "end": 2595, "loc": { "start": { - "line": 74, - "column": 24 + "line": 76, + "column": 30 }, "end": { - "line": 74, - "column": 25 + "line": 76, + "column": 37 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11894,52 +12469,50 @@ "postfix": false, "binop": null }, - "value": "formatVersion", - "start": 2527, - "end": 2540, + "start": 2595, + "end": 2596, "loc": { "start": { - "line": 74, - "column": 25 + "line": 76, + "column": 37 }, "end": { - "line": 74, + "line": 76, "column": 38 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 2541, - "end": 2542, + "value": "icons", + "start": 2596, + "end": 2601, "loc": { "start": { - "line": 74, - "column": 39 + "line": 76, + "column": 38 }, "end": { - "line": 74, - "column": 40 + "line": 76, + "column": 43 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -11947,23 +12520,22 @@ "postfix": false, "binop": null }, - "value": "vyi", - "start": 2543, - "end": 2546, + "start": 2601, + "end": 2602, "loc": { "start": { - "line": 74, - "column": 41 + "line": 76, + "column": 43 }, "end": { - "line": 74, + "line": 76, "column": 44 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -11971,26 +12543,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2546, - "end": 2547, + "start": 2602, + "end": 2603, "loc": { "start": { - "line": 74, + "line": 76, "column": 44 }, "end": { - "line": 74, + "line": 76, "column": 45 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -11999,52 +12570,66 @@ "postfix": false, "binop": null }, - "value": "v", - "start": 2547, - "end": 2548, + "start": 2604, + "end": 2605, "loc": { "start": { - "line": 74, - "column": 45 + "line": 76, + "column": 46 }, "end": { - "line": 74, - "column": 46 + "line": 76, + "column": 47 + } + } + }, + { + "type": "CommentLine", + "value": " Loop through the icons and add them to the vyi module instance.", + "start": 2631, + "end": 2697, + "loc": { + "start": { + "line": 77, + "column": 24 + }, + "end": { + "line": 77, + "column": 90 } } }, { "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 2549, - "end": 2551, + "value": "icons", + "start": 2723, + "end": 2728, "loc": { "start": { - "line": 74, - "column": 47 + "line": 78, + "column": 24 }, "end": { - "line": 74, - "column": 49 + "line": 78, + "column": 29 } } }, { "type": { - "label": "num", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12053,71 +12638,67 @@ "binop": null, "updateContext": null }, - "value": 1, - "start": 2552, - "end": 2553, + "start": 2728, + "end": 2729, "loc": { "start": { - "line": 74, - "column": 50 + "line": 78, + "column": 29 }, "end": { - "line": 74, - "column": 51 + "line": 78, + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2553, - "end": 2554, + "value": "forEach", + "start": 2729, + "end": 2736, "loc": { "start": { - "line": 74, - "column": 51 + "line": 78, + "column": 30 }, "end": { - "line": 74, - "column": 52 + "line": 78, + "column": 37 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 2578, - "end": 2580, + "start": 2736, + "end": 2737, "loc": { "start": { - "line": 76, - "column": 20 + "line": 78, + "column": 37 }, "end": { - "line": 76, - "column": 22 + "line": 78, + "column": 38 } } }, @@ -12133,16 +12714,16 @@ "postfix": false, "binop": null }, - "start": 2581, - "end": 2582, + "start": 2737, + "end": 2738, "loc": { "start": { - "line": 76, - "column": 23 + "line": 78, + "column": 38 }, "end": { - "line": 76, - "column": 24 + "line": 78, + "column": 39 } } }, @@ -12158,23 +12739,23 @@ "postfix": false, "binop": null }, - "value": "Array", - "start": 2582, - "end": 2587, + "value": "pIconData", + "start": 2738, + "end": 2747, "loc": { "start": { - "line": 76, - "column": 24 + "line": 78, + "column": 39 }, "end": { - "line": 76, - "column": 29 + "line": 78, + "column": 48 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -12182,51 +12763,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2587, - "end": 2588, + "start": 2747, + "end": 2748, "loc": { "start": { - "line": 76, - "column": 29 + "line": 78, + "column": 48 }, "end": { - "line": 76, - "column": 30 + "line": 78, + "column": 49 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "=>", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "isArray", - "start": 2588, - "end": 2595, + "start": 2749, + "end": 2751, "loc": { "start": { - "line": 76, - "column": 30 + "line": 78, + "column": 50 }, "end": { - "line": 76, - "column": 37 + "line": 78, + "column": 52 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -12236,22 +12816,23 @@ "postfix": false, "binop": null }, - "start": 2595, - "end": 2596, + "start": 2752, + "end": 2753, "loc": { "start": { - "line": 76, - "column": 37 + "line": 78, + "column": 53 }, "end": { - "line": 76, - "column": 38 + "line": 78, + "column": 54 } } }, { "type": { - "label": "name", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12259,25 +12840,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "icons", - "start": 2596, - "end": 2601, + "value": "this", + "start": 2783, + "end": 2787, "loc": { "start": { - "line": 76, - "column": 38 + "line": 79, + "column": 28 }, "end": { - "line": 76, - "column": 43 + "line": 79, + "column": 32 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -12285,26 +12867,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2601, - "end": 2602, + "start": 2787, + "end": 2788, "loc": { "start": { - "line": 76, - "column": 43 + "line": 79, + "column": 32 }, "end": { - "line": 76, - "column": 44 + "line": 79, + "column": 33 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12312,22 +12895,23 @@ "postfix": false, "binop": null }, - "start": 2602, - "end": 2603, + "value": "addIcon", + "start": 2788, + "end": 2795, "loc": { "start": { - "line": 76, - "column": 44 + "line": 79, + "column": 33 }, "end": { - "line": 76, - "column": 45 + "line": 79, + "column": 40 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -12337,40 +12921,50 @@ "postfix": false, "binop": null }, - "start": 2604, - "end": 2605, + "start": 2795, + "end": 2796, "loc": { "start": { - "line": 76, - "column": 46 + "line": 79, + "column": 40 }, "end": { - "line": 76, - "column": 47 + "line": 79, + "column": 41 } } }, { - "type": "CommentLine", - "value": " Loop through the icons and add them to the vyi module instance.", - "start": 2631, - "end": 2697, + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pIconData", + "start": 2796, + "end": 2805, "loc": { "start": { - "line": 77, - "column": 24 + "line": 79, + "column": 41 }, "end": { - "line": 77, - "column": 90 + "line": 79, + "column": 50 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12378,24 +12972,23 @@ "postfix": false, "binop": null }, - "value": "icons", - "start": 2723, - "end": 2728, + "start": 2805, + "end": 2806, "loc": { "start": { - "line": 78, - "column": 24 + "line": 79, + "column": 50 }, "end": { - "line": 78, - "column": 29 + "line": 79, + "column": 51 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12405,24 +12998,24 @@ "binop": null, "updateContext": null }, - "start": 2728, - "end": 2729, + "start": 2806, + "end": 2807, "loc": { "start": { - "line": 78, - "column": 29 + "line": 79, + "column": 51 }, "end": { - "line": 78, - "column": 30 + "line": 79, + "column": 52 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12430,25 +13023,24 @@ "postfix": false, "binop": null }, - "value": "forEach", - "start": 2729, - "end": 2736, + "start": 2833, + "end": 2834, "loc": { "start": { - "line": 78, - "column": 30 + "line": 80, + "column": 24 }, "end": { - "line": 78, - "column": 37 + "line": 80, + "column": 25 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12456,49 +13048,50 @@ "postfix": false, "binop": null }, - "start": 2736, - "end": 2737, + "start": 2834, + "end": 2835, "loc": { "start": { - "line": 78, - "column": 37 + "line": 80, + "column": 25 }, "end": { - "line": 78, - "column": 38 + "line": 80, + "column": 26 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2737, - "end": 2738, + "start": 2835, + "end": 2836, "loc": { "start": { - "line": 78, - "column": 38 + "line": 80, + "column": 26 }, "end": { - "line": 78, - "column": 39 + "line": 80, + "column": 27 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12506,75 +13099,76 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 2738, - "end": 2747, + "start": 2858, + "end": 2859, "loc": { "start": { - "line": 78, - "column": 39 + "line": 81, + "column": 20 }, "end": { - "line": 78, - "column": 48 + "line": 81, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2747, - "end": 2748, + "value": "else", + "start": 2860, + "end": 2864, "loc": { "start": { - "line": 78, - "column": 48 + "line": 81, + "column": 22 }, "end": { - "line": 78, - "column": 49 + "line": 81, + "column": 26 } } }, { "type": { - "label": "=>", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2749, - "end": 2751, + "start": 2865, + "end": 2866, "loc": { "start": { - "line": 78, - "column": 50 + "line": 81, + "column": 27 }, "end": { - "line": 78, - "column": 52 + "line": 81, + "column": 28 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -12583,25 +13177,25 @@ "postfix": false, "binop": null }, - "start": 2752, - "end": 2753, + "value": "VYI", + "start": 2892, + "end": 2895, "loc": { "start": { - "line": 78, - "column": 53 + "line": 82, + "column": 24 }, "end": { - "line": 78, - "column": 54 + "line": 82, + "column": 27 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12610,17 +13204,42 @@ "binop": null, "updateContext": null }, - "value": "this", - "start": 2783, - "end": 2787, + "start": 2895, + "end": 2896, "loc": { "start": { - "line": 79, + "line": 82, + "column": 27 + }, + "end": { + "line": 82, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "logger", + "start": 2896, + "end": 2902, + "loc": { + "start": { + "line": 82, "column": 28 }, "end": { - "line": 79, - "column": 32 + "line": 82, + "column": 34 } } }, @@ -12637,16 +13256,16 @@ "binop": null, "updateContext": null }, - "start": 2787, - "end": 2788, + "start": 2902, + "end": 2903, "loc": { "start": { - "line": 79, - "column": 32 + "line": 82, + "column": 34 }, "end": { - "line": 79, - "column": 33 + "line": 82, + "column": 35 } } }, @@ -12662,17 +13281,17 @@ "postfix": false, "binop": null }, - "value": "addIcon", - "start": 2788, - "end": 2795, + "value": "prefix", + "start": 2903, + "end": 2909, "loc": { "start": { - "line": 79, - "column": 33 + "line": 82, + "column": 35 }, "end": { - "line": 79, - "column": 40 + "line": 82, + "column": 41 } } }, @@ -12688,22 +13307,22 @@ "postfix": false, "binop": null }, - "start": 2795, - "end": 2796, + "start": 2909, + "end": 2910, "loc": { "start": { - "line": 79, - "column": 40 + "line": 82, + "column": 41 }, "end": { - "line": 79, - "column": 41 + "line": 82, + "column": 42 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -12711,19 +13330,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pIconData", - "start": 2796, - "end": 2805, + "value": "VYI-module", + "start": 2910, + "end": 2922, "loc": { "start": { - "line": 79, - "column": 41 + "line": 82, + "column": 42 }, "end": { - "line": 79, - "column": 50 + "line": 82, + "column": 54 } } }, @@ -12739,23 +13359,23 @@ "postfix": false, "binop": null }, - "start": 2805, - "end": 2806, + "start": 2922, + "end": 2923, "loc": { "start": { - "line": 79, - "column": 50 + "line": 82, + "column": 54 }, "end": { - "line": 79, - "column": 51 + "line": 82, + "column": 55 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -12765,24 +13385,24 @@ "binop": null, "updateContext": null }, - "start": 2806, - "end": 2807, + "start": 2923, + "end": 2924, "loc": { "start": { - "line": 79, - "column": 51 + "line": 82, + "column": 55 }, "end": { - "line": 79, - "column": 52 + "line": 82, + "column": 56 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12790,24 +13410,25 @@ "postfix": false, "binop": null }, - "start": 2833, - "end": 2834, + "value": "error", + "start": 2924, + "end": 2929, "loc": { "start": { - "line": 80, - "column": 24 + "line": 82, + "column": 56 }, "end": { - "line": 80, - "column": 25 + "line": 82, + "column": 61 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12815,24 +13436,24 @@ "postfix": false, "binop": null }, - "start": 2834, - "end": 2835, + "start": 2929, + "end": 2930, "loc": { "start": { - "line": 80, - "column": 25 + "line": 82, + "column": 61 }, "end": { - "line": 80, - "column": 26 + "line": 82, + "column": 62 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12841,22 +13462,23 @@ "binop": null, "updateContext": null }, - "start": 2835, - "end": 2836, + "value": "Invalid .vyi file! Cannot parse.", + "start": 2930, + "end": 2964, "loc": { "start": { - "line": 80, - "column": 26 + "line": 82, + "column": 62 }, "end": { - "line": 80, - "column": 27 + "line": 82, + "column": 96 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -12866,23 +13488,22 @@ "postfix": false, "binop": null }, - "start": 2858, - "end": 2859, + "start": 2964, + "end": 2965, "loc": { "start": { - "line": 81, - "column": 20 + "line": 82, + "column": 96 }, "end": { - "line": 81, - "column": 21 + "line": 82, + "column": 97 } } }, { "type": { - "label": "else", - "keyword": "else", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -12893,25 +13514,24 @@ "binop": null, "updateContext": null }, - "value": "else", - "start": 2860, - "end": 2864, + "start": 2965, + "end": 2966, "loc": { "start": { - "line": 81, - "column": 22 + "line": 82, + "column": 97 }, "end": { - "line": 81, - "column": 26 + "line": 82, + "column": 98 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12919,24 +13539,24 @@ "postfix": false, "binop": null }, - "start": 2865, - "end": 2866, + "start": 2988, + "end": 2989, "loc": { "start": { - "line": 81, - "column": 27 + "line": 83, + "column": 20 }, "end": { - "line": 81, - "column": 28 + "line": 83, + "column": 21 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12944,23 +13564,22 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 2892, - "end": 2895, + "start": 3007, + "end": 3008, "loc": { "start": { - "line": 82, - "column": 24 + "line": 84, + "column": 16 }, "end": { - "line": 82, - "column": 27 + "line": 84, + "column": 17 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -12968,27 +13587,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2895, - "end": 2896, + "start": 3022, + "end": 3023, "loc": { "start": { - "line": 82, - "column": 27 + "line": 85, + "column": 12 }, "end": { - "line": 82, - "column": 28 + "line": 85, + "column": 13 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -12996,23 +13614,23 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 2896, - "end": 2902, + "start": 3033, + "end": 3034, "loc": { "start": { - "line": 82, - "column": 28 + "line": 86, + "column": 8 }, "end": { - "line": 82, - "column": 34 + "line": 86, + "column": 9 } } }, { "type": { - "label": ".", + "label": "catch", + "keyword": "catch", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13023,23 +13641,24 @@ "binop": null, "updateContext": null }, - "start": 2902, - "end": 2903, + "value": "catch", + "start": 3035, + "end": 3040, "loc": { "start": { - "line": 82, - "column": 34 + "line": 86, + "column": 10 }, "end": { - "line": 82, - "column": 35 + "line": 86, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13048,24 +13667,23 @@ "postfix": false, "binop": null }, - "value": "prefix", - "start": 2903, - "end": 2909, + "start": 3041, + "end": 3042, "loc": { "start": { - "line": 82, - "column": 35 + "line": 86, + "column": 16 }, "end": { - "line": 82, - "column": 41 + "line": 86, + "column": 17 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13074,51 +13692,50 @@ "postfix": false, "binop": null }, - "start": 2909, - "end": 2910, + "value": "pError", + "start": 3042, + "end": 3048, "loc": { "start": { - "line": 82, - "column": 41 + "line": 86, + "column": 17 }, "end": { - "line": 82, - "column": 42 + "line": 86, + "column": 23 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-module", - "start": 2910, - "end": 2922, + "start": 3048, + "end": 3049, "loc": { "start": { - "line": 82, - "column": 42 + "line": 86, + "column": 23 }, "end": { - "line": 82, - "column": 54 + "line": 86, + "column": 24 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13126,75 +13743,75 @@ "postfix": false, "binop": null }, - "start": 2922, - "end": 2923, + "start": 3050, + "end": 3051, "loc": { "start": { - "line": 82, - "column": 54 + "line": 86, + "column": 25 }, "end": { - "line": 82, - "column": 55 + "line": 86, + "column": 26 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2923, - "end": 2924, + "value": "VYI", + "start": 3065, + "end": 3068, "loc": { "start": { - "line": 82, - "column": 55 + "line": 87, + "column": 12 }, "end": { - "line": 82, - "column": 56 + "line": 87, + "column": 15 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "error", - "start": 2924, - "end": 2929, + "start": 3068, + "end": 3069, "loc": { "start": { - "line": 82, - "column": 56 + "line": 87, + "column": 15 }, "end": { - "line": 82, - "column": 61 + "line": 87, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13203,24 +13820,25 @@ "postfix": false, "binop": null }, - "start": 2929, - "end": 2930, + "value": "logger", + "start": 3069, + "end": 3075, "loc": { "start": { - "line": 82, - "column": 61 + "line": 87, + "column": 16 }, "end": { - "line": 82, - "column": 62 + "line": 87, + "column": 22 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13229,25 +13847,24 @@ "binop": null, "updateContext": null }, - "value": "Invalid .vyi file! Cannot parse.", - "start": 2930, - "end": 2964, + "start": 3075, + "end": 3076, "loc": { "start": { - "line": 82, - "column": 62 + "line": 87, + "column": 22 }, "end": { - "line": 82, - "column": 96 + "line": 87, + "column": 23 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13255,73 +13872,75 @@ "postfix": false, "binop": null }, - "start": 2964, - "end": 2965, + "value": "prefix", + "start": 3076, + "end": 3082, "loc": { "start": { - "line": 82, - "column": 96 + "line": 87, + "column": 23 }, "end": { - "line": 82, - "column": 97 + "line": 87, + "column": 29 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 2965, - "end": 2966, + "start": 3082, + "end": 3083, "loc": { "start": { - "line": 82, - "column": 97 + "line": 87, + "column": 29 }, "end": { - "line": 82, - "column": 98 + "line": 87, + "column": 30 } } }, { "type": { - "label": "}", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2988, - "end": 2989, + "value": "VYI-module", + "start": 3083, + "end": 3095, "loc": { "start": { - "line": 83, - "column": 20 + "line": 87, + "column": 30 }, "end": { - "line": 83, - "column": 21 + "line": 87, + "column": 42 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13331,22 +13950,22 @@ "postfix": false, "binop": null }, - "start": 3007, - "end": 3008, + "start": 3095, + "end": 3096, "loc": { "start": { - "line": 84, - "column": 16 + "line": 87, + "column": 42 }, "end": { - "line": 84, - "column": 17 + "line": 87, + "column": 43 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13354,26 +13973,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3022, - "end": 3023, + "start": 3096, + "end": 3097, "loc": { "start": { - "line": 85, - "column": 12 + "line": 87, + "column": 43 }, "end": { - "line": 85, - "column": 13 + "line": 87, + "column": 44 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13381,51 +14001,49 @@ "postfix": false, "binop": null }, - "start": 3033, - "end": 3034, + "value": "error", + "start": 3097, + "end": 3102, "loc": { "start": { - "line": 86, - "column": 8 + "line": 87, + "column": 44 }, "end": { - "line": 86, - "column": 9 + "line": 87, + "column": 49 } } }, { "type": { - "label": "catch", - "keyword": "catch", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "catch", - "start": 3035, - "end": 3040, + "start": 3102, + "end": 3103, "loc": { "start": { - "line": 86, - "column": 10 + "line": 87, + "column": 49 }, "end": { - "line": 86, - "column": 15 + "line": 87, + "column": 50 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "`", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13434,50 +14052,51 @@ "postfix": false, "binop": null }, - "start": 3041, - "end": 3042, + "start": 3103, + "end": 3104, "loc": { "start": { - "line": 86, - "column": 16 + "line": 87, + "column": 50 }, "end": { - "line": 86, - "column": 17 + "line": 87, + "column": 51 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "pError", - "start": 3042, - "end": 3048, + "value": "Error processing vyi data: ", + "start": 3104, + "end": 3131, "loc": { "start": { - "line": 86, - "column": 17 + "line": 87, + "column": 51 }, "end": { - "line": 86, - "column": 23 + "line": 87, + "column": 78 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "${", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13485,23 +14104,23 @@ "postfix": false, "binop": null }, - "start": 3048, - "end": 3049, + "start": 3131, + "end": 3133, "loc": { "start": { - "line": 86, - "column": 23 + "line": 87, + "column": 78 }, "end": { - "line": 86, - "column": 24 + "line": 87, + "column": 80 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13510,24 +14129,25 @@ "postfix": false, "binop": null }, - "start": 3050, - "end": 3051, + "value": "pError", + "start": 3133, + "end": 3139, "loc": { "start": { - "line": 86, - "column": 25 + "line": 87, + "column": 80 }, "end": { - "line": 86, - "column": 26 + "line": 87, + "column": 86 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13535,23 +14155,22 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 3065, - "end": 3068, + "start": 3139, + "end": 3140, "loc": { "start": { "line": 87, - "column": 12 + "column": 86 }, "end": { "line": 87, - "column": 15 + "column": 87 } } }, { "type": { - "label": ".", + "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13562,22 +14181,23 @@ "binop": null, "updateContext": null }, - "start": 3068, - "end": 3069, + "value": "", + "start": 3140, + "end": 3140, "loc": { "start": { "line": 87, - "column": 15 + "column": 87 }, "end": { "line": 87, - "column": 16 + "column": 87 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -13587,23 +14207,22 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 3069, - "end": 3075, + "start": 3140, + "end": 3141, "loc": { "start": { "line": 87, - "column": 16 + "column": 87 }, "end": { "line": 87, - "column": 22 + "column": 88 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13611,53 +14230,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3075, - "end": 3076, + "start": 3141, + "end": 3142, "loc": { "start": { "line": 87, - "column": 22 + "column": 88 }, "end": { "line": 87, - "column": 23 + "column": 89 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "prefix", - "start": 3076, - "end": 3082, + "start": 3142, + "end": 3143, "loc": { "start": { "line": 87, - "column": 23 + "column": 89 }, "end": { "line": 87, - "column": 29 + "column": 90 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13665,51 +14283,65 @@ "postfix": false, "binop": null }, - "start": 3082, - "end": 3083, + "start": 3153, + "end": 3154, "loc": { "start": { - "line": 87, - "column": 29 + "line": 88, + "column": 8 }, "end": { - "line": 87, - "column": 30 + "line": 88, + "column": 9 } } }, { "type": { - "label": "string", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "VYI-module", - "start": 3083, - "end": 3095, + "start": 3160, + "end": 3161, "loc": { "start": { - "line": 87, - "column": 30 + "line": 89, + "column": 4 }, "end": { - "line": 87, - "column": 42 + "line": 89, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n ", + "start": 3167, + "end": 3336, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 94, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13717,42 +14349,42 @@ "postfix": false, "binop": null }, - "start": 3095, - "end": 3096, + "value": "addIcon", + "start": 3342, + "end": 3349, "loc": { "start": { - "line": 87, - "column": 42 + "line": 95, + "column": 4 }, "end": { - "line": 87, - "column": 43 + "line": 95, + "column": 11 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3096, - "end": 3097, + "start": 3349, + "end": 3350, "loc": { "start": { - "line": 87, - "column": 43 + "line": 95, + "column": 11 }, "end": { - "line": 87, - "column": 44 + "line": 95, + "column": 12 } } }, @@ -13768,25 +14400,25 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 3097, - "end": 3102, + "value": "pIconData", + "start": 3350, + "end": 3359, "loc": { "start": { - "line": 87, - "column": 44 + "line": 95, + "column": 12 }, "end": { - "line": 87, - "column": 49 + "line": 95, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13794,23 +14426,23 @@ "postfix": false, "binop": null }, - "start": 3102, - "end": 3103, + "start": 3359, + "end": 3360, "loc": { "start": { - "line": 87, - "column": 49 + "line": 95, + "column": 21 }, "end": { - "line": 87, - "column": 50 + "line": 95, + "column": 22 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13819,22 +14451,23 @@ "postfix": false, "binop": null }, - "start": 3103, - "end": 3104, + "start": 3361, + "end": 3362, "loc": { "start": { - "line": 87, - "column": 50 + "line": 95, + "column": 23 }, "end": { - "line": 87, - "column": 51 + "line": 95, + "column": 24 } } }, { "type": { - "label": "template", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13845,23 +14478,23 @@ "binop": null, "updateContext": null }, - "value": "Error processing vyi data: ", - "start": 3104, - "end": 3131, + "value": "if", + "start": 3372, + "end": 3374, "loc": { "start": { - "line": 87, - "column": 51 + "line": 96, + "column": 8 }, "end": { - "line": 87, - "column": 78 + "line": 96, + "column": 10 } } }, { "type": { - "label": "${", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -13871,24 +14504,50 @@ "postfix": false, "binop": null }, - "start": 3131, - "end": 3133, + "start": 3375, + "end": 3376, + "loc": { + "start": { + "line": 96, + "column": 11 + }, + "end": { + "line": 96, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "pIconData", + "start": 3376, + "end": 3385, "loc": { "start": { - "line": 87, - "column": 78 + "line": 96, + "column": 12 }, "end": { - "line": 87, - "column": 80 + "line": 96, + "column": 21 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13896,25 +14555,24 @@ "postfix": false, "binop": null }, - "value": "pError", - "start": 3133, - "end": 3139, + "start": 3385, + "end": 3386, "loc": { "start": { - "line": 87, - "column": 80 + "line": 96, + "column": 21 }, "end": { - "line": 87, - "column": 86 + "line": 96, + "column": 22 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13922,22 +14580,23 @@ "postfix": false, "binop": null }, - "start": 3139, - "end": 3140, + "start": 3387, + "end": 3388, "loc": { "start": { - "line": 87, - "column": 86 + "line": 96, + "column": 23 }, "end": { - "line": 87, - "column": 87 + "line": 96, + "column": 24 } } }, { "type": { - "label": "template", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -13948,24 +14607,24 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 3140, - "end": 3140, + "value": "if", + "start": 3402, + "end": 3404, "loc": { "start": { - "line": 87, - "column": 87 + "line": 97, + "column": 12 }, "end": { - "line": 87, - "column": 87 + "line": 97, + "column": 14 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -13974,24 +14633,24 @@ "postfix": false, "binop": null }, - "start": 3140, - "end": 3141, + "start": 3405, + "end": 3406, "loc": { "start": { - "line": 87, - "column": 87 + "line": 97, + "column": 15 }, "end": { - "line": 87, - "column": 88 + "line": 97, + "column": 16 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -13999,22 +14658,24 @@ "postfix": false, "binop": null }, - "start": 3141, - "end": 3142, + "value": "pIconData", + "start": 3406, + "end": 3415, "loc": { "start": { - "line": 87, - "column": 88 + "line": 97, + "column": 16 }, "end": { - "line": 87, - "column": 89 + "line": 97, + "column": 25 } } }, { "type": { - "label": ";", + "label": "instanceof", + "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -14022,27 +14683,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 7, "updateContext": null }, - "start": 3142, - "end": 3143, + "value": "instanceof", + "start": 3416, + "end": 3426, "loc": { "start": { - "line": 87, - "column": 89 + "line": 97, + "column": 26 }, "end": { - "line": 87, - "column": 90 + "line": 97, + "column": 36 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14050,22 +14712,23 @@ "postfix": false, "binop": null }, - "start": 3153, - "end": 3154, + "value": "Object", + "start": 3427, + "end": 3433, "loc": { "start": { - "line": 88, - "column": 8 + "line": 97, + "column": 37 }, "end": { - "line": 88, - "column": 9 + "line": 97, + "column": 43 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -14075,39 +14738,23 @@ "postfix": false, "binop": null }, - "start": 3160, - "end": 3161, - "loc": { - "start": { - "line": 89, - "column": 4 - }, - "end": { - "line": 89, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adds an icon to this VYI.\r\n * @param {Object} pIconData - The icon data to use.\r\n * @returns {Icon|undefined} - The Icon added or undefined.\r\n ", - "start": 3167, - "end": 3336, + "start": 3433, + "end": 3434, "loc": { "start": { - "line": 90, - "column": 4 + "line": 97, + "column": 43 }, "end": { - "line": 94, - "column": 7 + "line": 97, + "column": 44 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -14116,42 +14763,44 @@ "postfix": false, "binop": null }, - "value": "addIcon", - "start": 3342, - "end": 3349, + "start": 3435, + "end": 3436, "loc": { "start": { - "line": 95, - "column": 4 + "line": 97, + "column": 45 }, "end": { - "line": 95, - "column": 11 + "line": 97, + "column": 46 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3349, - "end": 3350, + "value": "const", + "start": 3454, + "end": 3459, "loc": { "start": { - "line": 95, - "column": 11 + "line": 98, + "column": 16 }, "end": { - "line": 95, - "column": 12 + "line": 98, + "column": 21 } } }, @@ -14167,48 +14816,51 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 3350, - "end": 3359, + "value": "icon", + "start": 3460, + "end": 3464, "loc": { "start": { - "line": 95, - "column": 12 + "line": 98, + "column": 22 }, "end": { - "line": 95, - "column": 21 + "line": 98, + "column": 26 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3359, - "end": 3360, + "value": "=", + "start": 3465, + "end": 3466, "loc": { "start": { - "line": 95, - "column": 21 + "line": 98, + "column": 27 }, "end": { - "line": 95, - "column": 22 + "line": 98, + "column": 28 } } }, { "type": { - "label": "{", + "label": "new", + "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -14216,46 +14868,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3361, - "end": 3362, + "value": "new", + "start": 3467, + "end": 3470, "loc": { "start": { - "line": 95, - "column": 23 + "line": 98, + "column": 29 }, "end": { - "line": 95, - "column": 24 + "line": 98, + "column": 32 } } }, { - "type": { - "label": "if", - "keyword": "if", + "type": { + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 3372, - "end": 3374, + "value": "Icon", + "start": 3471, + "end": 3475, "loc": { "start": { - "line": 96, - "column": 8 + "line": 98, + "column": 33 }, "end": { - "line": 96, - "column": 10 + "line": 98, + "column": 37 } } }, @@ -14271,16 +14923,16 @@ "postfix": false, "binop": null }, - "start": 3375, - "end": 3376, + "start": 3475, + "end": 3476, "loc": { "start": { - "line": 96, - "column": 11 + "line": 98, + "column": 37 }, "end": { - "line": 96, - "column": 12 + "line": 98, + "column": 38 } } }, @@ -14297,16 +14949,16 @@ "binop": null }, "value": "pIconData", - "start": 3376, - "end": 3385, + "start": 3476, + "end": 3485, "loc": { "start": { - "line": 96, - "column": 12 + "line": 98, + "column": 38 }, "end": { - "line": 96, - "column": 21 + "line": 98, + "column": 47 } } }, @@ -14322,50 +14974,67 @@ "postfix": false, "binop": null }, - "start": 3385, - "end": 3386, + "start": 3485, + "end": 3486, "loc": { "start": { - "line": 96, - "column": 21 + "line": 98, + "column": 47 }, "end": { - "line": 96, - "column": 22 + "line": 98, + "column": 48 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3387, - "end": 3388, + "start": 3486, + "end": 3487, "loc": { "start": { - "line": 96, - "column": 23 + "line": 98, + "column": 48 }, "end": { - "line": 96, - "column": 24 + "line": 98, + "column": 49 + } + } + }, + { + "type": "CommentLine", + "value": " Add the icon to the icons array.", + "start": 3505, + "end": 3540, + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 51 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "this", + "keyword": "this", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14374,42 +15043,43 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 3402, - "end": 3404, + "value": "this", + "start": 3558, + "end": 3562, "loc": { "start": { - "line": 97, - "column": 12 + "line": 100, + "column": 16 }, "end": { - "line": 97, - "column": 14 + "line": 100, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3405, - "end": 3406, + "start": 3562, + "end": 3563, "loc": { "start": { - "line": 97, - "column": 15 + "line": 100, + "column": 20 }, "end": { - "line": 97, - "column": 16 + "line": 100, + "column": 21 } } }, @@ -14425,45 +15095,43 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 3406, - "end": 3415, + "value": "icons", + "start": 3563, + "end": 3568, "loc": { "start": { - "line": 97, - "column": 16 + "line": 100, + "column": 21 }, "end": { - "line": 97, - "column": 25 + "line": 100, + "column": 26 } } }, { "type": { - "label": "instanceof", - "keyword": "instanceof", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 7, + "binop": null, "updateContext": null }, - "value": "instanceof", - "start": 3416, - "end": 3426, + "start": 3568, + "end": 3569, "loc": { "start": { - "line": 97, + "line": 100, "column": 26 }, "end": { - "line": 97, - "column": 36 + "line": 100, + "column": 27 } } }, @@ -14479,48 +15147,23 @@ "postfix": false, "binop": null }, - "value": "Object", - "start": 3427, - "end": 3433, - "loc": { - "start": { - "line": 97, - "column": 37 - }, - "end": { - "line": 97, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3433, - "end": 3434, + "value": "push", + "start": 3569, + "end": 3573, "loc": { "start": { - "line": 97, - "column": 43 + "line": 100, + "column": 27 }, "end": { - "line": 97, - "column": 44 + "line": 100, + "column": 31 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -14530,52 +15173,50 @@ "postfix": false, "binop": null }, - "start": 3435, - "end": 3436, + "start": 3573, + "end": 3574, "loc": { "start": { - "line": 97, - "column": 45 + "line": 100, + "column": 31 }, "end": { - "line": 97, - "column": 46 + "line": 100, + "column": 32 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 3454, - "end": 3459, + "value": "icon", + "start": 3574, + "end": 3578, "loc": { "start": { - "line": 98, - "column": 16 + "line": 100, + "column": 32 }, "end": { - "line": 98, - "column": 21 + "line": 100, + "column": 36 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14583,53 +15224,51 @@ "postfix": false, "binop": null }, - "value": "icon", - "start": 3460, - "end": 3464, + "start": 3578, + "end": 3579, "loc": { "start": { - "line": 98, - "column": 22 + "line": 100, + "column": 36 }, "end": { - "line": 98, - "column": 26 + "line": 100, + "column": 37 } } }, { "type": { - "label": "=", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3465, - "end": 3466, + "start": 3579, + "end": 3580, "loc": { "start": { - "line": 98, - "column": 27 + "line": 100, + "column": 37 }, "end": { - "line": 98, - "column": 28 + "line": 100, + "column": 38 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14638,17 +15277,17 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 3467, - "end": 3470, + "value": "return", + "start": 3598, + "end": 3604, "loc": { "start": { - "line": 98, - "column": 29 + "line": 101, + "column": 16 }, "end": { - "line": 98, - "column": 32 + "line": 101, + "column": 22 } } }, @@ -14664,50 +15303,51 @@ "postfix": false, "binop": null }, - "value": "Icon", - "start": 3471, - "end": 3475, + "value": "icon", + "start": 3605, + "end": 3609, "loc": { "start": { - "line": 98, - "column": 33 + "line": 101, + "column": 23 }, "end": { - "line": 98, - "column": 37 + "line": 101, + "column": 27 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3475, - "end": 3476, + "start": 3609, + "end": 3610, "loc": { "start": { - "line": 98, - "column": 37 + "line": 101, + "column": 27 }, "end": { - "line": 98, - "column": 38 + "line": 101, + "column": 28 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14715,91 +15355,75 @@ "postfix": false, "binop": null }, - "value": "pIconData", - "start": 3476, - "end": 3485, + "start": 3624, + "end": 3625, "loc": { "start": { - "line": 98, - "column": 38 + "line": 102, + "column": 12 }, "end": { - "line": 98, - "column": 47 + "line": 102, + "column": 13 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "else", + "keyword": "else", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3485, - "end": 3486, + "value": "else", + "start": 3626, + "end": 3630, "loc": { "start": { - "line": 98, - "column": 47 + "line": 102, + "column": 14 }, "end": { - "line": 98, - "column": 48 + "line": 102, + "column": 18 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3486, - "end": 3487, - "loc": { - "start": { - "line": 98, - "column": 48 - }, - "end": { - "line": 98, - "column": 49 - } - } - }, - { - "type": "CommentLine", - "value": " Add the icon to the icons array.", - "start": 3505, - "end": 3540, + "start": 3631, + "end": 3632, "loc": { "start": { - "line": 99, - "column": 16 + "line": 102, + "column": 19 }, "end": { - "line": 99, - "column": 51 + "line": 102, + "column": 20 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -14807,20 +15431,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3558, - "end": 3562, + "value": "VYI", + "start": 3650, + "end": 3653, "loc": { "start": { - "line": 100, + "line": 103, "column": 16 }, "end": { - "line": 100, - "column": 20 + "line": 103, + "column": 19 } } }, @@ -14837,16 +15460,16 @@ "binop": null, "updateContext": null }, - "start": 3562, - "end": 3563, + "start": 3653, + "end": 3654, "loc": { "start": { - "line": 100, - "column": 20 + "line": 103, + "column": 19 }, "end": { - "line": 100, - "column": 21 + "line": 103, + "column": 20 } } }, @@ -14862,16 +15485,16 @@ "postfix": false, "binop": null }, - "value": "icons", - "start": 3563, - "end": 3568, + "value": "logger", + "start": 3654, + "end": 3660, "loc": { "start": { - "line": 100, - "column": 21 + "line": 103, + "column": 20 }, "end": { - "line": 100, + "line": 103, "column": 26 } } @@ -14889,15 +15512,15 @@ "binop": null, "updateContext": null }, - "start": 3568, - "end": 3569, + "start": 3660, + "end": 3661, "loc": { "start": { - "line": 100, + "line": 103, "column": 26 }, "end": { - "line": 100, + "line": 103, "column": 27 } } @@ -14914,17 +15537,17 @@ "postfix": false, "binop": null }, - "value": "push", - "start": 3569, - "end": 3573, + "value": "prefix", + "start": 3661, + "end": 3667, "loc": { "start": { - "line": 100, + "line": 103, "column": 27 }, "end": { - "line": 100, - "column": 31 + "line": 103, + "column": 33 } } }, @@ -14940,50 +15563,102 @@ "postfix": false, "binop": null }, - "start": 3573, - "end": 3574, + "start": 3667, + "end": 3668, + "loc": { + "start": { + "line": 103, + "column": 33 + }, + "end": { + "line": 103, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "VYI-module", + "start": 3668, + "end": 3680, + "loc": { + "start": { + "line": 103, + "column": 34 + }, + "end": { + "line": 103, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3680, + "end": 3681, "loc": { "start": { - "line": 100, - "column": 31 + "line": 103, + "column": 46 }, "end": { - "line": 100, - "column": 32 + "line": 103, + "column": 47 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "icon", - "start": 3574, - "end": 3578, + "start": 3681, + "end": 3682, "loc": { "start": { - "line": 100, - "column": 32 + "line": 103, + "column": 47 }, "end": { - "line": 100, - "column": 36 + "line": 103, + "column": 48 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -14991,51 +15666,50 @@ "postfix": false, "binop": null }, - "start": 3578, - "end": 3579, + "value": "error", + "start": 3682, + "end": 3687, "loc": { "start": { - "line": 100, - "column": 36 + "line": 103, + "column": 48 }, "end": { - "line": 100, - "column": 37 + "line": 103, + "column": 53 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3579, - "end": 3580, + "start": 3687, + "end": 3688, "loc": { "start": { - "line": 100, - "column": 37 + "line": 103, + "column": 53 }, "end": { - "line": 100, - "column": 38 + "line": 103, + "column": 54 } } }, { "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15044,25 +15718,25 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 3598, - "end": 3604, + "value": "Invalid icon data type passed!", + "start": 3688, + "end": 3720, "loc": { "start": { - "line": 101, - "column": 16 + "line": 103, + "column": 54 }, "end": { - "line": 101, - "column": 22 + "line": 103, + "column": 86 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15070,17 +15744,16 @@ "postfix": false, "binop": null }, - "value": "icon", - "start": 3605, - "end": 3609, + "start": 3720, + "end": 3721, "loc": { "start": { - "line": 101, - "column": 23 + "line": 103, + "column": 86 }, "end": { - "line": 101, - "column": 27 + "line": 103, + "column": 87 } } }, @@ -15097,16 +15770,16 @@ "binop": null, "updateContext": null }, - "start": 3609, - "end": 3610, + "start": 3721, + "end": 3722, "loc": { "start": { - "line": 101, - "column": 27 + "line": 103, + "column": 87 }, "end": { - "line": 101, - "column": 28 + "line": 103, + "column": 88 } } }, @@ -15122,19 +15795,44 @@ "postfix": false, "binop": null }, - "start": 3624, - "end": 3625, + "start": 3736, + "end": 3737, "loc": { "start": { - "line": 102, + "line": 104, "column": 12 }, "end": { - "line": 102, + "line": 104, "column": 13 } } }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3747, + "end": 3748, + "loc": { + "start": { + "line": 105, + "column": 8 + }, + "end": { + "line": 105, + "column": 9 + } + } + }, { "type": { "label": "else", @@ -15150,16 +15848,16 @@ "updateContext": null }, "value": "else", - "start": 3626, - "end": 3630, + "start": 3749, + "end": 3753, "loc": { "start": { - "line": 102, - "column": 14 + "line": 105, + "column": 10 }, "end": { - "line": 102, - "column": 18 + "line": 105, + "column": 14 } } }, @@ -15175,16 +15873,16 @@ "postfix": false, "binop": null }, - "start": 3631, - "end": 3632, + "start": 3754, + "end": 3755, "loc": { "start": { - "line": 102, - "column": 19 + "line": 105, + "column": 15 }, "end": { - "line": 102, - "column": 20 + "line": 105, + "column": 16 } } }, @@ -15201,16 +15899,16 @@ "binop": null }, "value": "VYI", - "start": 3650, - "end": 3653, + "start": 3769, + "end": 3772, "loc": { "start": { - "line": 103, - "column": 16 + "line": 106, + "column": 12 }, "end": { - "line": 103, - "column": 19 + "line": 106, + "column": 15 } } }, @@ -15227,16 +15925,16 @@ "binop": null, "updateContext": null }, - "start": 3653, - "end": 3654, + "start": 3772, + "end": 3773, "loc": { "start": { - "line": 103, - "column": 19 + "line": 106, + "column": 15 }, "end": { - "line": 103, - "column": 20 + "line": 106, + "column": 16 } } }, @@ -15253,16 +15951,16 @@ "binop": null }, "value": "logger", - "start": 3654, - "end": 3660, + "start": 3773, + "end": 3779, "loc": { "start": { - "line": 103, - "column": 20 + "line": 106, + "column": 16 }, "end": { - "line": 103, - "column": 26 + "line": 106, + "column": 22 } } }, @@ -15279,16 +15977,16 @@ "binop": null, "updateContext": null }, - "start": 3660, - "end": 3661, + "start": 3779, + "end": 3780, "loc": { "start": { - "line": 103, - "column": 26 + "line": 106, + "column": 22 }, "end": { - "line": 103, - "column": 27 + "line": 106, + "column": 23 } } }, @@ -15305,16 +16003,16 @@ "binop": null }, "value": "prefix", - "start": 3661, - "end": 3667, + "start": 3780, + "end": 3786, "loc": { "start": { - "line": 103, - "column": 27 + "line": 106, + "column": 23 }, "end": { - "line": 103, - "column": 33 + "line": 106, + "column": 29 } } }, @@ -15330,16 +16028,16 @@ "postfix": false, "binop": null }, - "start": 3667, - "end": 3668, + "start": 3786, + "end": 3787, "loc": { "start": { - "line": 103, - "column": 33 + "line": 106, + "column": 29 }, "end": { - "line": 103, - "column": 34 + "line": 106, + "column": 30 } } }, @@ -15357,16 +16055,16 @@ "updateContext": null }, "value": "VYI-module", - "start": 3668, - "end": 3680, + "start": 3787, + "end": 3799, "loc": { "start": { - "line": 103, - "column": 34 + "line": 106, + "column": 30 }, "end": { - "line": 103, - "column": 46 + "line": 106, + "column": 42 } } }, @@ -15382,16 +16080,16 @@ "postfix": false, "binop": null }, - "start": 3680, - "end": 3681, + "start": 3799, + "end": 3800, "loc": { "start": { - "line": 103, - "column": 46 + "line": 106, + "column": 42 }, "end": { - "line": 103, - "column": 47 + "line": 106, + "column": 43 } } }, @@ -15408,16 +16106,16 @@ "binop": null, "updateContext": null }, - "start": 3681, - "end": 3682, + "start": 3800, + "end": 3801, "loc": { "start": { - "line": 103, - "column": 47 + "line": 106, + "column": 43 }, "end": { - "line": 103, - "column": 48 + "line": 106, + "column": 44 } } }, @@ -15434,16 +16132,16 @@ "binop": null }, "value": "error", - "start": 3682, - "end": 3687, + "start": 3801, + "end": 3806, "loc": { "start": { - "line": 103, - "column": 48 + "line": 106, + "column": 44 }, "end": { - "line": 103, - "column": 53 + "line": 106, + "column": 49 } } }, @@ -15459,16 +16157,16 @@ "postfix": false, "binop": null }, - "start": 3687, - "end": 3688, + "start": 3806, + "end": 3807, "loc": { "start": { - "line": 103, - "column": 53 + "line": 106, + "column": 49 }, "end": { - "line": 103, - "column": 54 + "line": 106, + "column": 50 } } }, @@ -15485,17 +16183,17 @@ "binop": null, "updateContext": null }, - "value": "Invalid icon data type passed!", - "start": 3688, - "end": 3720, + "value": "No icon data passed!", + "start": 3807, + "end": 3829, "loc": { "start": { - "line": 103, - "column": 54 + "line": 106, + "column": 50 }, "end": { - "line": 103, - "column": 86 + "line": 106, + "column": 72 } } }, @@ -15511,16 +16209,16 @@ "postfix": false, "binop": null }, - "start": 3720, - "end": 3721, + "start": 3829, + "end": 3830, "loc": { "start": { - "line": 103, - "column": 86 + "line": 106, + "column": 72 }, "end": { - "line": 103, - "column": 87 + "line": 106, + "column": 73 } } }, @@ -15537,16 +16235,16 @@ "binop": null, "updateContext": null }, - "start": 3721, - "end": 3722, + "start": 3830, + "end": 3831, "loc": { "start": { - "line": 103, - "column": 87 + "line": 106, + "column": 73 }, "end": { - "line": 103, - "column": 88 + "line": 106, + "column": 74 } } }, @@ -15562,16 +16260,16 @@ "postfix": false, "binop": null }, - "start": 3736, - "end": 3737, + "start": 3841, + "end": 3842, "loc": { "start": { - "line": 104, - "column": 12 + "line": 107, + "column": 8 }, "end": { - "line": 104, - "column": 13 + "line": 107, + "column": 9 } } }, @@ -15587,51 +16285,39 @@ "postfix": false, "binop": null }, - "start": 3747, - "end": 3748, + "start": 3848, + "end": 3849, "loc": { "start": { - "line": 105, - "column": 8 + "line": 108, + "column": 4 }, "end": { - "line": 105, - "column": 9 + "line": 108, + "column": 5 } } }, { - "type": { - "label": "else", - "keyword": "else", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "else", - "start": 3749, - "end": 3753, + "type": "CommentBlock", + "value": "*\r\n * Removes the icon passed or the icon with the name pName.\r\n * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.\r\n * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.\r\n ", + "start": 3855, + "end": 4187, "loc": { "start": { - "line": 105, - "column": 10 + "line": 109, + "column": 4 }, "end": { - "line": 105, - "column": 14 + "line": 113, + "column": 7 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15640,23 +16326,24 @@ "postfix": false, "binop": null }, - "start": 3754, - "end": 3755, + "value": "removeIcon", + "start": 4193, + "end": 4203, "loc": { "start": { - "line": 105, - "column": 15 + "line": 114, + "column": 4 }, "end": { - "line": 105, - "column": 16 + "line": 114, + "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -15665,103 +16352,102 @@ "postfix": false, "binop": null }, - "value": "VYI", - "start": 3769, - "end": 3772, + "start": 4203, + "end": 4204, "loc": { "start": { - "line": 106, - "column": 12 + "line": 114, + "column": 14 }, "end": { - "line": 106, + "line": 114, "column": 15 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3772, - "end": 3773, + "value": "pIcon", + "start": 4204, + "end": 4209, "loc": { "start": { - "line": 106, + "line": 114, "column": 15 }, "end": { - "line": 106, - "column": 16 + "line": 114, + "column": 20 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "logger", - "start": 3773, - "end": 3779, + "start": 4209, + "end": 4210, "loc": { "start": { - "line": 106, - "column": 16 + "line": 114, + "column": 20 }, "end": { - "line": 106, - "column": 22 + "line": 114, + "column": 21 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3779, - "end": 3780, + "value": "pName", + "start": 4211, + "end": 4216, "loc": { "start": { - "line": 106, + "line": 114, "column": 22 }, "end": { - "line": 106, - "column": 23 + "line": 114, + "column": 27 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15769,23 +16455,22 @@ "postfix": false, "binop": null }, - "value": "prefix", - "start": 3780, - "end": 3786, + "start": 4216, + "end": 4217, "loc": { "start": { - "line": 106, - "column": 23 + "line": 114, + "column": 27 }, "end": { - "line": 106, - "column": 29 + "line": 114, + "column": 28 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -15795,24 +16480,25 @@ "postfix": false, "binop": null }, - "start": 3786, - "end": 3787, + "start": 4218, + "end": 4219, "loc": { "start": { - "line": 106, + "line": 114, "column": 29 }, "end": { - "line": 106, + "line": 114, "column": 30 } } }, { "type": { - "label": "string", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15821,25 +16507,25 @@ "binop": null, "updateContext": null }, - "value": "VYI-module", - "start": 3787, - "end": 3799, + "value": "const", + "start": 4229, + "end": 4234, "loc": { - "start": { - "line": 106, - "column": 30 + "start": { + "line": 115, + "column": 8 }, "end": { - "line": 106, - "column": 42 + "line": 115, + "column": 13 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -15847,42 +16533,44 @@ "postfix": false, "binop": null }, - "start": 3799, - "end": 3800, + "value": "icon", + "start": 4235, + "end": 4239, "loc": { "start": { - "line": 106, - "column": 42 + "line": 115, + "column": 14 }, "end": { - "line": 106, - "column": 43 + "line": 115, + "column": 18 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 3800, - "end": 3801, + "value": "=", + "start": 4240, + "end": 4241, "loc": { "start": { - "line": 106, - "column": 43 + "line": 115, + "column": 19 }, "end": { - "line": 106, - "column": 44 + "line": 115, + "column": 20 } } }, @@ -15898,48 +16586,51 @@ "postfix": false, "binop": null }, - "value": "error", - "start": 3801, - "end": 3806, + "value": "pIcon", + "start": 4242, + "end": 4247, "loc": { "start": { - "line": 106, - "column": 44 + "line": 115, + "column": 21 }, "end": { - "line": 106, - "column": 49 + "line": 115, + "column": 26 } } }, { "type": { - "label": "(", + "label": "||", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 1, + "updateContext": null }, - "start": 3806, - "end": 3807, + "value": "||", + "start": 4248, + "end": 4250, "loc": { "start": { - "line": 106, - "column": 49 + "line": 115, + "column": 27 }, "end": { - "line": 106, - "column": 50 + "line": 115, + "column": 29 } } }, { "type": { - "label": "string", + "label": "this", + "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -15950,23 +16641,23 @@ "binop": null, "updateContext": null }, - "value": "No icon data passed!", - "start": 3807, - "end": 3829, + "value": "this", + "start": 4251, + "end": 4255, "loc": { "start": { - "line": 106, - "column": 50 + "line": 115, + "column": 30 }, "end": { - "line": 106, - "column": 72 + "line": 115, + "column": 34 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -15974,52 +16665,78 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4255, + "end": 4256, + "loc": { + "start": { + "line": 115, + "column": 34 + }, + "end": { + "line": 115, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "start": 3829, - "end": 3830, + "value": "getIcon", + "start": 4256, + "end": 4263, "loc": { "start": { - "line": 106, - "column": 72 + "line": 115, + "column": 35 }, "end": { - "line": 106, - "column": 73 + "line": 115, + "column": 42 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3830, - "end": 3831, + "start": 4263, + "end": 4264, "loc": { "start": { - "line": 106, - "column": 73 + "line": 115, + "column": 42 }, "end": { - "line": 106, - "column": 74 + "line": 115, + "column": 43 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -16027,22 +16744,23 @@ "postfix": false, "binop": null }, - "start": 3841, - "end": 3842, + "value": "pName", + "start": 4264, + "end": 4269, "loc": { "start": { - "line": 107, - "column": 8 + "line": 115, + "column": 43 }, "end": { - "line": 107, - "column": 9 + "line": 115, + "column": 48 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -16052,58 +16770,70 @@ "postfix": false, "binop": null }, - "start": 3848, - "end": 3849, + "start": 4269, + "end": 4270, "loc": { "start": { - "line": 108, - "column": 4 + "line": 115, + "column": 48 }, "end": { - "line": 108, - "column": 5 + "line": 115, + "column": 49 } } }, { - "type": "CommentBlock", - "value": "*\r\n * Removes the icon from this VYI.\r\n * @param {Icon} - The icon to remove.\r\n ", - "start": 3855, - "end": 3951, + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4270, + "end": 4271, "loc": { "start": { - "line": 109, - "column": 4 + "line": 115, + "column": 49 }, "end": { - "line": 112, - "column": 7 + "line": 115, + "column": 50 } } }, { "type": { - "label": "name", + "label": "if", + "keyword": "if", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "removeIcon", - "start": 3957, - "end": 3967, + "value": "if", + "start": 4281, + "end": 4283, "loc": { "start": { - "line": 113, - "column": 4 + "line": 116, + "column": 8 }, "end": { - "line": 113, - "column": 14 + "line": 116, + "column": 10 } } }, @@ -16119,16 +16849,16 @@ "postfix": false, "binop": null }, - "start": 3967, - "end": 3968, + "start": 4284, + "end": 4285, "loc": { "start": { - "line": 113, - "column": 14 + "line": 116, + "column": 11 }, "end": { - "line": 113, - "column": 15 + "line": 116, + "column": 12 } } }, @@ -16144,17 +16874,17 @@ "postfix": false, "binop": null }, - "value": "pIcon", - "start": 3968, - "end": 3973, + "value": "icon", + "start": 4285, + "end": 4289, "loc": { "start": { - "line": 113, - "column": 15 + "line": 116, + "column": 12 }, "end": { - "line": 113, - "column": 20 + "line": 116, + "column": 16 } } }, @@ -16170,16 +16900,16 @@ "postfix": false, "binop": null }, - "start": 3973, - "end": 3974, + "start": 4289, + "end": 4290, "loc": { "start": { - "line": 113, - "column": 20 + "line": 116, + "column": 16 }, "end": { - "line": 113, - "column": 21 + "line": 116, + "column": 17 } } }, @@ -16195,16 +16925,16 @@ "postfix": false, "binop": null }, - "start": 3975, - "end": 3976, + "start": 4291, + "end": 4292, "loc": { "start": { - "line": 113, - "column": 22 + "line": 116, + "column": 18 }, "end": { - "line": 113, - "column": 23 + "line": 116, + "column": 19 } } }, @@ -16223,16 +16953,16 @@ "updateContext": null }, "value": "if", - "start": 3986, - "end": 3988, + "start": 4306, + "end": 4308, "loc": { "start": { - "line": 114, - "column": 8 + "line": 117, + "column": 12 }, "end": { - "line": 114, - "column": 10 + "line": 117, + "column": 14 } } }, @@ -16248,16 +16978,16 @@ "postfix": false, "binop": null }, - "start": 3989, - "end": 3990, + "start": 4309, + "end": 4310, "loc": { "start": { - "line": 114, - "column": 11 + "line": 117, + "column": 15 }, "end": { - "line": 114, - "column": 12 + "line": 117, + "column": 16 } } }, @@ -16276,16 +17006,16 @@ "updateContext": null }, "value": "this", - "start": 3990, - "end": 3994, + "start": 4310, + "end": 4314, "loc": { "start": { - "line": 114, - "column": 12 + "line": 117, + "column": 16 }, "end": { - "line": 114, - "column": 16 + "line": 117, + "column": 20 } } }, @@ -16302,16 +17032,16 @@ "binop": null, "updateContext": null }, - "start": 3994, - "end": 3995, + "start": 4314, + "end": 4315, "loc": { "start": { - "line": 114, - "column": 16 + "line": 117, + "column": 20 }, "end": { - "line": 114, - "column": 17 + "line": 117, + "column": 21 } } }, @@ -16328,16 +17058,16 @@ "binop": null }, "value": "icons", - "start": 3995, - "end": 4000, + "start": 4315, + "end": 4320, "loc": { "start": { - "line": 114, - "column": 17 + "line": 117, + "column": 21 }, "end": { - "line": 114, - "column": 22 + "line": 117, + "column": 26 } } }, @@ -16354,16 +17084,16 @@ "binop": null, "updateContext": null }, - "start": 4000, - "end": 4001, + "start": 4320, + "end": 4321, "loc": { "start": { - "line": 114, - "column": 22 + "line": 117, + "column": 26 }, "end": { - "line": 114, - "column": 23 + "line": 117, + "column": 27 } } }, @@ -16380,16 +17110,16 @@ "binop": null }, "value": "includes", - "start": 4001, - "end": 4009, + "start": 4321, + "end": 4329, "loc": { "start": { - "line": 114, - "column": 23 + "line": 117, + "column": 27 }, "end": { - "line": 114, - "column": 31 + "line": 117, + "column": 35 } } }, @@ -16405,16 +17135,16 @@ "postfix": false, "binop": null }, - "start": 4009, - "end": 4010, + "start": 4329, + "end": 4330, "loc": { "start": { - "line": 114, - "column": 31 + "line": 117, + "column": 35 }, "end": { - "line": 114, - "column": 32 + "line": 117, + "column": 36 } } }, @@ -16430,17 +17160,17 @@ "postfix": false, "binop": null }, - "value": "pIcon", - "start": 4010, - "end": 4015, + "value": "icon", + "start": 4330, + "end": 4334, "loc": { "start": { - "line": 114, - "column": 32 + "line": 117, + "column": 36 }, "end": { - "line": 114, - "column": 37 + "line": 117, + "column": 40 } } }, @@ -16456,16 +17186,16 @@ "postfix": false, "binop": null }, - "start": 4015, - "end": 4016, + "start": 4334, + "end": 4335, "loc": { "start": { - "line": 114, - "column": 37 + "line": 117, + "column": 40 }, "end": { - "line": 114, - "column": 38 + "line": 117, + "column": 41 } } }, @@ -16481,16 +17211,16 @@ "postfix": false, "binop": null }, - "start": 4016, - "end": 4017, + "start": 4335, + "end": 4336, "loc": { "start": { - "line": 114, - "column": 38 + "line": 117, + "column": 41 }, "end": { - "line": 114, - "column": 39 + "line": 117, + "column": 42 } } }, @@ -16506,16 +17236,16 @@ "postfix": false, "binop": null }, - "start": 4018, - "end": 4019, + "start": 4337, + "end": 4338, "loc": { "start": { - "line": 114, - "column": 40 + "line": 117, + "column": 43 }, "end": { - "line": 114, - "column": 41 + "line": 117, + "column": 44 } } }, @@ -16534,16 +17264,16 @@ "updateContext": null }, "value": "this", - "start": 4033, - "end": 4037, + "start": 4356, + "end": 4360, "loc": { "start": { - "line": 115, - "column": 12 + "line": 118, + "column": 16 }, "end": { - "line": 115, - "column": 16 + "line": 118, + "column": 20 } } }, @@ -16560,16 +17290,16 @@ "binop": null, "updateContext": null }, - "start": 4037, - "end": 4038, + "start": 4360, + "end": 4361, "loc": { "start": { - "line": 115, - "column": 16 + "line": 118, + "column": 20 }, "end": { - "line": 115, - "column": 17 + "line": 118, + "column": 21 } } }, @@ -16586,16 +17316,16 @@ "binop": null }, "value": "icons", - "start": 4038, - "end": 4043, + "start": 4361, + "end": 4366, "loc": { "start": { - "line": 115, - "column": 17 + "line": 118, + "column": 21 }, "end": { - "line": 115, - "column": 22 + "line": 118, + "column": 26 } } }, @@ -16612,16 +17342,16 @@ "binop": null, "updateContext": null }, - "start": 4043, - "end": 4044, + "start": 4366, + "end": 4367, "loc": { "start": { - "line": 115, - "column": 22 + "line": 118, + "column": 26 }, "end": { - "line": 115, - "column": 23 + "line": 118, + "column": 27 } } }, @@ -16638,16 +17368,16 @@ "binop": null }, "value": "splice", - "start": 4044, - "end": 4050, + "start": 4367, + "end": 4373, "loc": { "start": { - "line": 115, - "column": 23 + "line": 118, + "column": 27 }, "end": { - "line": 115, - "column": 29 + "line": 118, + "column": 33 } } }, @@ -16663,16 +17393,16 @@ "postfix": false, "binop": null }, - "start": 4050, - "end": 4051, + "start": 4373, + "end": 4374, "loc": { "start": { - "line": 115, - "column": 29 + "line": 118, + "column": 33 }, "end": { - "line": 115, - "column": 30 + "line": 118, + "column": 34 } } }, @@ -16691,16 +17421,16 @@ "updateContext": null }, "value": "this", - "start": 4051, - "end": 4055, + "start": 4374, + "end": 4378, "loc": { "start": { - "line": 115, - "column": 30 + "line": 118, + "column": 34 }, "end": { - "line": 115, - "column": 34 + "line": 118, + "column": 38 } } }, @@ -16717,16 +17447,16 @@ "binop": null, "updateContext": null }, - "start": 4055, - "end": 4056, + "start": 4378, + "end": 4379, "loc": { "start": { - "line": 115, - "column": 34 + "line": 118, + "column": 38 }, "end": { - "line": 115, - "column": 35 + "line": 118, + "column": 39 } } }, @@ -16743,16 +17473,16 @@ "binop": null }, "value": "icons", - "start": 4056, - "end": 4061, + "start": 4379, + "end": 4384, "loc": { "start": { - "line": 115, - "column": 35 + "line": 118, + "column": 39 }, "end": { - "line": 115, - "column": 40 + "line": 118, + "column": 44 } } }, @@ -16769,16 +17499,16 @@ "binop": null, "updateContext": null }, - "start": 4061, - "end": 4062, + "start": 4384, + "end": 4385, "loc": { "start": { - "line": 115, - "column": 40 + "line": 118, + "column": 44 }, "end": { - "line": 115, - "column": 41 + "line": 118, + "column": 45 } } }, @@ -16795,16 +17525,16 @@ "binop": null }, "value": "indexOf", - "start": 4062, - "end": 4069, + "start": 4385, + "end": 4392, "loc": { "start": { - "line": 115, - "column": 41 + "line": 118, + "column": 45 }, "end": { - "line": 115, - "column": 48 + "line": 118, + "column": 52 } } }, @@ -16820,16 +17550,16 @@ "postfix": false, "binop": null }, - "start": 4069, - "end": 4070, + "start": 4392, + "end": 4393, "loc": { "start": { - "line": 115, - "column": 48 + "line": 118, + "column": 52 }, "end": { - "line": 115, - "column": 49 + "line": 118, + "column": 53 } } }, @@ -16845,17 +17575,17 @@ "postfix": false, "binop": null }, - "value": "pIcon", - "start": 4070, - "end": 4075, + "value": "icon", + "start": 4393, + "end": 4397, "loc": { "start": { - "line": 115, - "column": 49 + "line": 118, + "column": 53 }, "end": { - "line": 115, - "column": 54 + "line": 118, + "column": 57 } } }, @@ -16871,16 +17601,16 @@ "postfix": false, "binop": null }, - "start": 4075, - "end": 4076, + "start": 4397, + "end": 4398, "loc": { "start": { - "line": 115, - "column": 54 + "line": 118, + "column": 57 }, "end": { - "line": 115, - "column": 55 + "line": 118, + "column": 58 } } }, @@ -16897,16 +17627,16 @@ "binop": null, "updateContext": null }, - "start": 4076, - "end": 4077, + "start": 4398, + "end": 4399, "loc": { "start": { - "line": 115, - "column": 55 + "line": 118, + "column": 58 }, "end": { - "line": 115, - "column": 56 + "line": 118, + "column": 59 } } }, @@ -16924,16 +17654,16 @@ "updateContext": null }, "value": 1, - "start": 4078, - "end": 4079, + "start": 4400, + "end": 4401, "loc": { "start": { - "line": 115, - "column": 57 + "line": 118, + "column": 60 }, "end": { - "line": 115, - "column": 58 + "line": 118, + "column": 61 } } }, @@ -16949,16 +17679,16 @@ "postfix": false, "binop": null }, - "start": 4079, - "end": 4080, + "start": 4401, + "end": 4402, "loc": { "start": { - "line": 115, - "column": 58 + "line": 118, + "column": 61 }, "end": { - "line": 115, - "column": 59 + "line": 118, + "column": 62 } } }, @@ -16975,16 +17705,41 @@ "binop": null, "updateContext": null }, - "start": 4080, - "end": 4081, + "start": 4402, + "end": 4403, + "loc": { + "start": { + "line": 118, + "column": 62 + }, + "end": { + "line": 118, + "column": 63 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4417, + "end": 4418, "loc": { "start": { - "line": 115, - "column": 59 + "line": 119, + "column": 12 }, "end": { - "line": 115, - "column": 60 + "line": 119, + "column": 13 } } }, @@ -17000,15 +17755,15 @@ "postfix": false, "binop": null }, - "start": 4091, - "end": 4092, + "start": 4428, + "end": 4429, "loc": { "start": { - "line": 116, + "line": 120, "column": 8 }, "end": { - "line": 116, + "line": 120, "column": 9 } } @@ -17025,15 +17780,15 @@ "postfix": false, "binop": null }, - "start": 4098, - "end": 4099, + "start": 4435, + "end": 4436, "loc": { "start": { - "line": 117, + "line": 121, "column": 4 }, "end": { - "line": 117, + "line": 121, "column": 5 } } @@ -17041,15 +17796,15 @@ { "type": "CommentBlock", "value": "*\r\n * Returns all the icon names in this vyi.\r\n * @returns {Array} An array of icon names in this vyi.\r\n ", - "start": 4105, - "end": 4226, + "start": 4442, + "end": 4563, "loc": { "start": { - "line": 118, + "line": 122, "column": 4 }, "end": { - "line": 121, + "line": 125, "column": 7 } } @@ -17067,15 +17822,15 @@ "binop": null }, "value": "getIconNames", - "start": 4232, - "end": 4244, + "start": 4569, + "end": 4581, "loc": { "start": { - "line": 122, + "line": 126, "column": 4 }, "end": { - "line": 122, + "line": 126, "column": 16 } } @@ -17092,15 +17847,15 @@ "postfix": false, "binop": null }, - "start": 4244, - "end": 4245, + "start": 4581, + "end": 4582, "loc": { "start": { - "line": 122, + "line": 126, "column": 16 }, "end": { - "line": 122, + "line": 126, "column": 17 } } @@ -17117,15 +17872,15 @@ "postfix": false, "binop": null }, - "start": 4245, - "end": 4246, + "start": 4582, + "end": 4583, "loc": { "start": { - "line": 122, + "line": 126, "column": 17 }, "end": { - "line": 122, + "line": 126, "column": 18 } } @@ -17142,15 +17897,15 @@ "postfix": false, "binop": null }, - "start": 4247, - "end": 4248, + "start": 4584, + "end": 4585, "loc": { "start": { - "line": 122, + "line": 126, "column": 19 }, "end": { - "line": 122, + "line": 126, "column": 20 } } @@ -17158,15 +17913,15 @@ { "type": "CommentLine", "value": " Array to store the icon names.", - "start": 4258, - "end": 4291, + "start": 4595, + "end": 4628, "loc": { "start": { - "line": 123, + "line": 127, "column": 8 }, "end": { - "line": 123, + "line": 127, "column": 41 } } @@ -17186,15 +17941,15 @@ "updateContext": null }, "value": "const", - "start": 4301, - "end": 4306, + "start": 4638, + "end": 4643, "loc": { "start": { - "line": 124, + "line": 128, "column": 8 }, "end": { - "line": 124, + "line": 128, "column": 13 } } @@ -17212,15 +17967,15 @@ "binop": null }, "value": "iconNames", - "start": 4307, - "end": 4316, + "start": 4644, + "end": 4653, "loc": { "start": { - "line": 124, + "line": 128, "column": 14 }, "end": { - "line": 124, + "line": 128, "column": 23 } } @@ -17239,15 +17994,15 @@ "updateContext": null }, "value": "=", - "start": 4317, - "end": 4318, + "start": 4654, + "end": 4655, "loc": { "start": { - "line": 124, + "line": 128, "column": 24 }, "end": { - "line": 124, + "line": 128, "column": 25 } } @@ -17265,15 +18020,15 @@ "binop": null, "updateContext": null }, - "start": 4319, - "end": 4320, + "start": 4656, + "end": 4657, "loc": { "start": { - "line": 124, + "line": 128, "column": 26 }, "end": { - "line": 124, + "line": 128, "column": 27 } } @@ -17291,15 +18046,15 @@ "binop": null, "updateContext": null }, - "start": 4320, - "end": 4321, + "start": 4657, + "end": 4658, "loc": { "start": { - "line": 124, + "line": 128, "column": 27 }, "end": { - "line": 124, + "line": 128, "column": 28 } } @@ -17317,15 +18072,15 @@ "binop": null, "updateContext": null }, - "start": 4321, - "end": 4322, + "start": 4658, + "end": 4659, "loc": { "start": { - "line": 124, + "line": 128, "column": 28 }, "end": { - "line": 124, + "line": 128, "column": 29 } } @@ -17345,15 +18100,15 @@ "updateContext": null }, "value": "this", - "start": 4332, - "end": 4336, + "start": 4669, + "end": 4673, "loc": { "start": { - "line": 125, + "line": 129, "column": 8 }, "end": { - "line": 125, + "line": 129, "column": 12 } } @@ -17371,15 +18126,15 @@ "binop": null, "updateContext": null }, - "start": 4336, - "end": 4337, + "start": 4673, + "end": 4674, "loc": { "start": { - "line": 125, + "line": 129, "column": 12 }, "end": { - "line": 125, + "line": 129, "column": 13 } } @@ -17397,15 +18152,15 @@ "binop": null }, "value": "icons", - "start": 4337, - "end": 4342, + "start": 4674, + "end": 4679, "loc": { "start": { - "line": 125, + "line": 129, "column": 13 }, "end": { - "line": 125, + "line": 129, "column": 18 } } @@ -17423,15 +18178,15 @@ "binop": null, "updateContext": null }, - "start": 4342, - "end": 4343, + "start": 4679, + "end": 4680, "loc": { "start": { - "line": 125, + "line": 129, "column": 18 }, "end": { - "line": 125, + "line": 129, "column": 19 } } @@ -17449,15 +18204,15 @@ "binop": null }, "value": "forEach", - "start": 4343, - "end": 4350, + "start": 4680, + "end": 4687, "loc": { "start": { - "line": 125, + "line": 129, "column": 19 }, "end": { - "line": 125, + "line": 129, "column": 26 } } @@ -17474,15 +18229,15 @@ "postfix": false, "binop": null }, - "start": 4350, - "end": 4351, + "start": 4687, + "end": 4688, "loc": { "start": { - "line": 125, + "line": 129, "column": 26 }, "end": { - "line": 125, + "line": 129, "column": 27 } } @@ -17499,15 +18254,15 @@ "postfix": false, "binop": null }, - "start": 4351, - "end": 4352, + "start": 4688, + "end": 4689, "loc": { "start": { - "line": 125, + "line": 129, "column": 27 }, "end": { - "line": 125, + "line": 129, "column": 28 } } @@ -17525,15 +18280,15 @@ "binop": null }, "value": "pIcon", - "start": 4352, - "end": 4357, + "start": 4689, + "end": 4694, "loc": { "start": { - "line": 125, + "line": 129, "column": 28 }, "end": { - "line": 125, + "line": 129, "column": 33 } } @@ -17550,15 +18305,15 @@ "postfix": false, "binop": null }, - "start": 4357, - "end": 4358, + "start": 4694, + "end": 4695, "loc": { "start": { - "line": 125, + "line": 129, "column": 33 }, "end": { - "line": 125, + "line": 129, "column": 34 } } @@ -17576,15 +18331,15 @@ "binop": null, "updateContext": null }, - "start": 4359, - "end": 4361, + "start": 4696, + "end": 4698, "loc": { "start": { - "line": 125, + "line": 129, "column": 35 }, "end": { - "line": 125, + "line": 129, "column": 37 } } @@ -17601,15 +18356,15 @@ "postfix": false, "binop": null }, - "start": 4362, - "end": 4363, + "start": 4699, + "end": 4700, "loc": { "start": { - "line": 125, + "line": 129, "column": 38 }, "end": { - "line": 125, + "line": 129, "column": 39 } } @@ -17627,15 +18382,15 @@ "binop": null }, "value": "iconNames", - "start": 4377, - "end": 4386, + "start": 4714, + "end": 4723, "loc": { "start": { - "line": 126, + "line": 130, "column": 12 }, "end": { - "line": 126, + "line": 130, "column": 21 } } @@ -17653,15 +18408,15 @@ "binop": null, "updateContext": null }, - "start": 4386, - "end": 4387, + "start": 4723, + "end": 4724, "loc": { "start": { - "line": 126, + "line": 130, "column": 21 }, "end": { - "line": 126, + "line": 130, "column": 22 } } @@ -17679,15 +18434,15 @@ "binop": null }, "value": "push", - "start": 4387, - "end": 4391, + "start": 4724, + "end": 4728, "loc": { "start": { - "line": 126, + "line": 130, "column": 22 }, "end": { - "line": 126, + "line": 130, "column": 26 } } @@ -17704,15 +18459,15 @@ "postfix": false, "binop": null }, - "start": 4391, - "end": 4392, + "start": 4728, + "end": 4729, "loc": { "start": { - "line": 126, + "line": 130, "column": 26 }, "end": { - "line": 126, + "line": 130, "column": 27 } } @@ -17730,15 +18485,15 @@ "binop": null }, "value": "pIcon", - "start": 4392, - "end": 4397, + "start": 4729, + "end": 4734, "loc": { "start": { - "line": 126, + "line": 130, "column": 27 }, "end": { - "line": 126, + "line": 130, "column": 32 } } @@ -17756,15 +18511,15 @@ "binop": null, "updateContext": null }, - "start": 4397, - "end": 4398, + "start": 4734, + "end": 4735, "loc": { "start": { - "line": 126, + "line": 130, "column": 32 }, "end": { - "line": 126, + "line": 130, "column": 33 } } @@ -17782,15 +18537,15 @@ "binop": null }, "value": "name", - "start": 4398, - "end": 4402, + "start": 4735, + "end": 4739, "loc": { "start": { - "line": 126, + "line": 130, "column": 33 }, "end": { - "line": 126, + "line": 130, "column": 37 } } @@ -17807,15 +18562,15 @@ "postfix": false, "binop": null }, - "start": 4402, - "end": 4403, + "start": 4739, + "end": 4740, "loc": { "start": { - "line": 126, + "line": 130, "column": 37 }, "end": { - "line": 126, + "line": 130, "column": 38 } } @@ -17833,15 +18588,15 @@ "binop": null, "updateContext": null }, - "start": 4403, - "end": 4404, + "start": 4740, + "end": 4741, "loc": { "start": { - "line": 126, + "line": 130, "column": 38 }, "end": { - "line": 126, + "line": 130, "column": 39 } } @@ -17858,15 +18613,15 @@ "postfix": false, "binop": null }, - "start": 4414, - "end": 4415, + "start": 4751, + "end": 4752, "loc": { "start": { - "line": 127, + "line": 131, "column": 8 }, "end": { - "line": 127, + "line": 131, "column": 9 } } @@ -17883,15 +18638,15 @@ "postfix": false, "binop": null }, - "start": 4415, - "end": 4416, + "start": 4752, + "end": 4753, "loc": { "start": { - "line": 127, + "line": 131, "column": 9 }, "end": { - "line": 127, + "line": 131, "column": 10 } } @@ -17909,15 +18664,15 @@ "binop": null, "updateContext": null }, - "start": 4416, - "end": 4417, + "start": 4753, + "end": 4754, "loc": { "start": { - "line": 127, + "line": 131, "column": 10 }, "end": { - "line": 127, + "line": 131, "column": 11 } } @@ -17937,15 +18692,15 @@ "updateContext": null }, "value": "return", - "start": 4427, - "end": 4433, + "start": 4764, + "end": 4770, "loc": { "start": { - "line": 128, + "line": 132, "column": 8 }, "end": { - "line": 128, + "line": 132, "column": 14 } } @@ -17963,15 +18718,15 @@ "binop": null }, "value": "iconNames", - "start": 4434, - "end": 4443, + "start": 4771, + "end": 4780, "loc": { "start": { - "line": 128, + "line": 132, "column": 15 }, "end": { - "line": 128, + "line": 132, "column": 24 } } @@ -17989,15 +18744,15 @@ "binop": null, "updateContext": null }, - "start": 4443, - "end": 4444, + "start": 4780, + "end": 4781, "loc": { "start": { - "line": 128, + "line": 132, "column": 24 }, "end": { - "line": 128, + "line": 132, "column": 25 } } @@ -18014,15 +18769,15 @@ "postfix": false, "binop": null }, - "start": 4450, - "end": 4451, + "start": 4787, + "end": 4788, "loc": { "start": { - "line": 129, + "line": 133, "column": 4 }, "end": { - "line": 129, + "line": 133, "column": 5 } } @@ -18030,15 +18785,15 @@ { "type": "CommentBlock", "value": "*\r\n * Gets the icon that has the name pName.\r\n * @param {string} pName - The name of the icon to get.\r\n * @returns {Icon|undefined} The icon that has the name pName or undefined.\r\n ", - "start": 4457, - "end": 4658, + "start": 4794, + "end": 4995, "loc": { "start": { - "line": 130, + "line": 134, "column": 4 }, "end": { - "line": 134, + "line": 138, "column": 7 } } @@ -18056,15 +18811,15 @@ "binop": null }, "value": "getIcon", - "start": 4664, - "end": 4671, + "start": 5001, + "end": 5008, "loc": { "start": { - "line": 135, + "line": 139, "column": 4 }, "end": { - "line": 135, + "line": 139, "column": 11 } } @@ -18081,15 +18836,15 @@ "postfix": false, "binop": null }, - "start": 4671, - "end": 4672, + "start": 5008, + "end": 5009, "loc": { "start": { - "line": 135, + "line": 139, "column": 11 }, "end": { - "line": 135, + "line": 139, "column": 12 } } @@ -18107,15 +18862,15 @@ "binop": null }, "value": "pName", - "start": 4672, - "end": 4677, + "start": 5009, + "end": 5014, "loc": { "start": { - "line": 135, + "line": 139, "column": 12 }, "end": { - "line": 135, + "line": 139, "column": 17 } } @@ -18132,15 +18887,15 @@ "postfix": false, "binop": null }, - "start": 4677, - "end": 4678, + "start": 5014, + "end": 5015, "loc": { "start": { - "line": 135, + "line": 139, "column": 17 }, "end": { - "line": 135, + "line": 139, "column": 18 } } @@ -18157,15 +18912,15 @@ "postfix": false, "binop": null }, - "start": 4679, - "end": 4680, + "start": 5016, + "end": 5017, "loc": { "start": { - "line": 135, + "line": 139, "column": 19 }, "end": { - "line": 135, + "line": 139, "column": 20 } } @@ -18185,15 +18940,15 @@ "updateContext": null }, "value": "for", - "start": 4690, - "end": 4693, + "start": 5027, + "end": 5030, "loc": { "start": { - "line": 136, + "line": 140, "column": 8 }, "end": { - "line": 136, + "line": 140, "column": 11 } } @@ -18210,15 +18965,15 @@ "postfix": false, "binop": null }, - "start": 4694, - "end": 4695, + "start": 5031, + "end": 5032, "loc": { "start": { - "line": 136, + "line": 140, "column": 12 }, "end": { - "line": 136, + "line": 140, "column": 13 } } @@ -18238,15 +18993,15 @@ "updateContext": null }, "value": "const", - "start": 4695, - "end": 4700, + "start": 5032, + "end": 5037, "loc": { "start": { - "line": 136, + "line": 140, "column": 13 }, "end": { - "line": 136, + "line": 140, "column": 18 } } @@ -18264,15 +19019,15 @@ "binop": null }, "value": "icon", - "start": 4701, - "end": 4705, + "start": 5038, + "end": 5042, "loc": { "start": { - "line": 136, + "line": 140, "column": 19 }, "end": { - "line": 136, + "line": 140, "column": 23 } } @@ -18290,15 +19045,15 @@ "binop": null }, "value": "of", - "start": 4706, - "end": 4708, + "start": 5043, + "end": 5045, "loc": { "start": { - "line": 136, + "line": 140, "column": 24 }, "end": { - "line": 136, + "line": 140, "column": 26 } } @@ -18318,15 +19073,15 @@ "updateContext": null }, "value": "this", - "start": 4709, - "end": 4713, + "start": 5046, + "end": 5050, "loc": { "start": { - "line": 136, + "line": 140, "column": 27 }, "end": { - "line": 136, + "line": 140, "column": 31 } } @@ -18344,15 +19099,15 @@ "binop": null, "updateContext": null }, - "start": 4713, - "end": 4714, + "start": 5050, + "end": 5051, "loc": { "start": { - "line": 136, + "line": 140, "column": 31 }, "end": { - "line": 136, + "line": 140, "column": 32 } } @@ -18370,15 +19125,15 @@ "binop": null }, "value": "icons", - "start": 4714, - "end": 4719, + "start": 5051, + "end": 5056, "loc": { "start": { - "line": 136, + "line": 140, "column": 32 }, "end": { - "line": 136, + "line": 140, "column": 37 } } @@ -18395,15 +19150,15 @@ "postfix": false, "binop": null }, - "start": 4719, - "end": 4720, + "start": 5056, + "end": 5057, "loc": { "start": { - "line": 136, + "line": 140, "column": 37 }, "end": { - "line": 136, + "line": 140, "column": 38 } } @@ -18420,15 +19175,15 @@ "postfix": false, "binop": null }, - "start": 4721, - "end": 4722, + "start": 5058, + "end": 5059, "loc": { "start": { - "line": 136, + "line": 140, "column": 39 }, "end": { - "line": 136, + "line": 140, "column": 40 } } @@ -18436,15 +19191,15 @@ { "type": "CommentLine", "value": " If the icon has the same name, return that icon", - "start": 4736, - "end": 4786, + "start": 5073, + "end": 5123, "loc": { "start": { - "line": 137, + "line": 141, "column": 12 }, "end": { - "line": 137, + "line": 141, "column": 62 } } @@ -18464,15 +19219,15 @@ "updateContext": null }, "value": "if", - "start": 4800, - "end": 4802, + "start": 5137, + "end": 5139, "loc": { "start": { - "line": 138, + "line": 142, "column": 12 }, "end": { - "line": 138, + "line": 142, "column": 14 } } @@ -18489,15 +19244,15 @@ "postfix": false, "binop": null }, - "start": 4803, - "end": 4804, + "start": 5140, + "end": 5141, "loc": { "start": { - "line": 138, + "line": 142, "column": 15 }, "end": { - "line": 138, + "line": 142, "column": 16 } } @@ -18515,15 +19270,15 @@ "binop": null }, "value": "icon", - "start": 4804, - "end": 4808, + "start": 5141, + "end": 5145, "loc": { "start": { - "line": 138, + "line": 142, "column": 16 }, "end": { - "line": 138, + "line": 142, "column": 20 } } @@ -18541,15 +19296,15 @@ "binop": null, "updateContext": null }, - "start": 4808, - "end": 4809, + "start": 5145, + "end": 5146, "loc": { "start": { - "line": 138, + "line": 142, "column": 20 }, "end": { - "line": 138, + "line": 142, "column": 21 } } @@ -18567,15 +19322,15 @@ "binop": null }, "value": "getName", - "start": 4809, - "end": 4816, + "start": 5146, + "end": 5153, "loc": { "start": { - "line": 138, + "line": 142, "column": 21 }, "end": { - "line": 138, + "line": 142, "column": 28 } } @@ -18592,15 +19347,15 @@ "postfix": false, "binop": null }, - "start": 4816, - "end": 4817, + "start": 5153, + "end": 5154, "loc": { "start": { - "line": 138, + "line": 142, "column": 28 }, "end": { - "line": 138, + "line": 142, "column": 29 } } @@ -18617,15 +19372,15 @@ "postfix": false, "binop": null }, - "start": 4817, - "end": 4818, + "start": 5154, + "end": 5155, "loc": { "start": { - "line": 138, + "line": 142, "column": 29 }, "end": { - "line": 138, + "line": 142, "column": 30 } } @@ -18644,15 +19399,15 @@ "updateContext": null }, "value": "===", - "start": 4819, - "end": 4822, + "start": 5156, + "end": 5159, "loc": { "start": { - "line": 138, + "line": 142, "column": 31 }, "end": { - "line": 138, + "line": 142, "column": 34 } } @@ -18670,15 +19425,15 @@ "binop": null }, "value": "pName", - "start": 4823, - "end": 4828, + "start": 5160, + "end": 5165, "loc": { "start": { - "line": 138, + "line": 142, "column": 35 }, "end": { - "line": 138, + "line": 142, "column": 40 } } @@ -18695,15 +19450,15 @@ "postfix": false, "binop": null }, - "start": 4828, - "end": 4829, + "start": 5165, + "end": 5166, "loc": { "start": { - "line": 138, + "line": 142, "column": 40 }, "end": { - "line": 138, + "line": 142, "column": 41 } } @@ -18720,15 +19475,15 @@ "postfix": false, "binop": null }, - "start": 4830, - "end": 4831, + "start": 5167, + "end": 5168, "loc": { "start": { - "line": 138, + "line": 142, "column": 42 }, "end": { - "line": 138, + "line": 142, "column": 43 } } @@ -18748,15 +19503,15 @@ "updateContext": null }, "value": "return", - "start": 4849, - "end": 4855, + "start": 5186, + "end": 5192, "loc": { "start": { - "line": 139, + "line": 143, "column": 16 }, "end": { - "line": 139, + "line": 143, "column": 22 } } @@ -18774,15 +19529,15 @@ "binop": null }, "value": "icon", - "start": 4856, - "end": 4860, + "start": 5193, + "end": 5197, "loc": { "start": { - "line": 139, + "line": 143, "column": 23 }, "end": { - "line": 139, + "line": 143, "column": 27 } } @@ -18800,15 +19555,15 @@ "binop": null, "updateContext": null }, - "start": 4860, - "end": 4861, + "start": 5197, + "end": 5198, "loc": { "start": { - "line": 139, + "line": 143, "column": 27 }, "end": { - "line": 139, + "line": 143, "column": 28 } } @@ -18825,15 +19580,15 @@ "postfix": false, "binop": null }, - "start": 4875, - "end": 4876, + "start": 5212, + "end": 5213, "loc": { "start": { - "line": 140, + "line": 144, "column": 12 }, "end": { - "line": 140, + "line": 144, "column": 13 } } @@ -18850,15 +19605,15 @@ "postfix": false, "binop": null }, - "start": 4886, - "end": 4887, + "start": 5223, + "end": 5224, "loc": { "start": { - "line": 141, + "line": 145, "column": 8 }, "end": { - "line": 141, + "line": 145, "column": 9 } } @@ -18876,15 +19631,15 @@ "binop": null, "updateContext": null }, - "start": 4887, - "end": 4888, + "start": 5224, + "end": 5225, "loc": { "start": { - "line": 141, + "line": 145, "column": 9 }, "end": { - "line": 141, + "line": 145, "column": 10 } } @@ -18901,15 +19656,15 @@ "postfix": false, "binop": null }, - "start": 4894, - "end": 4895, + "start": 5231, + "end": 5232, "loc": { "start": { - "line": 142, + "line": 146, "column": 4 }, "end": { - "line": 142, + "line": 146, "column": 5 } } @@ -18917,15 +19672,15 @@ { "type": "CommentBlock", "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 4901, - "end": 5003, + "start": 5238, + "end": 5340, "loc": { "start": { - "line": 143, + "line": 147, "column": 4 }, "end": { - "line": 146, + "line": 150, "column": 7 } } @@ -18945,15 +19700,15 @@ "updateContext": null }, "value": "export", - "start": 5009, - "end": 5015, + "start": 5346, + "end": 5352, "loc": { "start": { - "line": 147, + "line": 151, "column": 4 }, "end": { - "line": 147, + "line": 151, "column": 10 } } @@ -18970,15 +19725,15 @@ "postfix": false, "binop": null }, - "start": 5015, - "end": 5016, + "start": 5352, + "end": 5353, "loc": { "start": { - "line": 147, + "line": 151, "column": 10 }, "end": { - "line": 147, + "line": 151, "column": 11 } } @@ -18995,15 +19750,15 @@ "postfix": false, "binop": null }, - "start": 5016, - "end": 5017, + "start": 5353, + "end": 5354, "loc": { "start": { - "line": 147, + "line": 151, "column": 11 }, "end": { - "line": 147, + "line": 151, "column": 12 } } @@ -19020,15 +19775,15 @@ "postfix": false, "binop": null }, - "start": 5018, - "end": 5019, + "start": 5355, + "end": 5356, "loc": { "start": { - "line": 147, + "line": 151, "column": 13 }, "end": { - "line": 147, + "line": 151, "column": 14 } } @@ -19048,15 +19803,15 @@ "updateContext": null }, "value": "const", - "start": 5029, - "end": 5034, + "start": 5366, + "end": 5371, "loc": { "start": { - "line": 148, + "line": 152, "column": 8 }, "end": { - "line": 148, + "line": 152, "column": 13 } } @@ -19074,15 +19829,15 @@ "binop": null }, "value": "vyi", - "start": 5035, - "end": 5038, + "start": 5372, + "end": 5375, "loc": { "start": { - "line": 148, + "line": 152, "column": 14 }, "end": { - "line": 148, + "line": 152, "column": 17 } } @@ -19101,15 +19856,15 @@ "updateContext": null }, "value": "=", - "start": 5039, - "end": 5040, + "start": 5376, + "end": 5377, "loc": { "start": { - "line": 148, + "line": 152, "column": 18 }, "end": { - "line": 148, + "line": 152, "column": 19 } } @@ -19126,15 +19881,15 @@ "postfix": false, "binop": null }, - "start": 5041, - "end": 5042, + "start": 5378, + "end": 5379, "loc": { "start": { - "line": 148, + "line": 152, "column": 20 }, "end": { - "line": 148, + "line": 152, "column": 21 } } @@ -19151,15 +19906,15 @@ "postfix": false, "binop": null }, - "start": 5042, - "end": 5043, + "start": 5379, + "end": 5380, "loc": { "start": { - "line": 148, + "line": 152, "column": 21 }, "end": { - "line": 148, + "line": 152, "column": 22 } } @@ -19177,15 +19932,15 @@ "binop": null, "updateContext": null }, - "start": 5043, - "end": 5044, + "start": 5380, + "end": 5381, "loc": { "start": { - "line": 148, + "line": 152, "column": 22 }, "end": { - "line": 148, + "line": 152, "column": 23 } } @@ -19193,15 +19948,15 @@ { "type": "CommentLine", "value": " Set version", - "start": 5054, - "end": 5068, + "start": 5391, + "end": 5405, "loc": { "start": { - "line": 149, + "line": 153, "column": 8 }, "end": { - "line": 149, + "line": 153, "column": 22 } } @@ -19219,15 +19974,15 @@ "binop": null }, "value": "vyi", - "start": 5078, - "end": 5081, + "start": 5415, + "end": 5418, "loc": { "start": { - "line": 150, + "line": 154, "column": 8 }, "end": { - "line": 150, + "line": 154, "column": 11 } } @@ -19245,15 +20000,15 @@ "binop": null, "updateContext": null }, - "start": 5081, - "end": 5082, + "start": 5418, + "end": 5419, "loc": { "start": { - "line": 150, + "line": 154, "column": 11 }, "end": { - "line": 150, + "line": 154, "column": 12 } } @@ -19271,15 +20026,15 @@ "binop": null }, "value": "v", - "start": 5082, - "end": 5083, + "start": 5419, + "end": 5420, "loc": { "start": { - "line": 150, + "line": 154, "column": 12 }, "end": { - "line": 150, + "line": 154, "column": 13 } } @@ -19298,15 +20053,15 @@ "updateContext": null }, "value": "=", - "start": 5084, - "end": 5085, + "start": 5421, + "end": 5422, "loc": { "start": { - "line": 150, + "line": 154, "column": 14 }, "end": { - "line": 150, + "line": 154, "column": 15 } } @@ -19326,15 +20081,15 @@ "updateContext": null }, "value": "this", - "start": 5086, - "end": 5090, + "start": 5423, + "end": 5427, "loc": { "start": { - "line": 150, + "line": 154, "column": 16 }, "end": { - "line": 150, + "line": 154, "column": 20 } } @@ -19352,15 +20107,15 @@ "binop": null, "updateContext": null }, - "start": 5090, - "end": 5091, + "start": 5427, + "end": 5428, "loc": { "start": { - "line": 150, + "line": 154, "column": 20 }, "end": { - "line": 150, + "line": 154, "column": 21 } } @@ -19378,15 +20133,15 @@ "binop": null }, "value": "formatVersion", - "start": 5091, - "end": 5104, + "start": 5428, + "end": 5441, "loc": { "start": { - "line": 150, + "line": 154, "column": 21 }, "end": { - "line": 150, + "line": 154, "column": 34 } } @@ -19404,15 +20159,15 @@ "binop": null, "updateContext": null }, - "start": 5104, - "end": 5105, + "start": 5441, + "end": 5442, "loc": { "start": { - "line": 150, + "line": 154, "column": 34 }, "end": { - "line": 150, + "line": 154, "column": 35 } } @@ -19420,15 +20175,15 @@ { "type": "CommentLine", "value": " Set the icons array", - "start": 5115, - "end": 5137, + "start": 5452, + "end": 5474, "loc": { "start": { - "line": 151, + "line": 155, "column": 8 }, "end": { - "line": 151, + "line": 155, "column": 30 } } @@ -19446,15 +20201,15 @@ "binop": null }, "value": "vyi", - "start": 5147, - "end": 5150, + "start": 5484, + "end": 5487, "loc": { "start": { - "line": 152, + "line": 156, "column": 8 }, "end": { - "line": 152, + "line": 156, "column": 11 } } @@ -19472,15 +20227,15 @@ "binop": null, "updateContext": null }, - "start": 5150, - "end": 5151, + "start": 5487, + "end": 5488, "loc": { "start": { - "line": 152, + "line": 156, "column": 11 }, "end": { - "line": 152, + "line": 156, "column": 12 } } @@ -19498,15 +20253,15 @@ "binop": null }, "value": "i", - "start": 5151, - "end": 5152, + "start": 5488, + "end": 5489, "loc": { "start": { - "line": 152, + "line": 156, "column": 12 }, "end": { - "line": 152, + "line": 156, "column": 13 } } @@ -19525,15 +20280,15 @@ "updateContext": null }, "value": "=", - "start": 5153, - "end": 5154, + "start": 5490, + "end": 5491, "loc": { "start": { - "line": 152, + "line": 156, "column": 14 }, "end": { - "line": 152, + "line": 156, "column": 15 } } @@ -19551,15 +20306,15 @@ "binop": null, "updateContext": null }, - "start": 5155, - "end": 5156, + "start": 5492, + "end": 5493, "loc": { "start": { - "line": 152, + "line": 156, "column": 16 }, "end": { - "line": 152, + "line": 156, "column": 17 } } @@ -19577,15 +20332,15 @@ "binop": null, "updateContext": null }, - "start": 5156, - "end": 5157, + "start": 5493, + "end": 5494, "loc": { "start": { - "line": 152, + "line": 156, "column": 17 }, "end": { - "line": 152, + "line": 156, "column": 18 } } @@ -19603,15 +20358,15 @@ "binop": null, "updateContext": null }, - "start": 5157, - "end": 5158, + "start": 5494, + "end": 5495, "loc": { "start": { - "line": 152, + "line": 156, "column": 18 }, "end": { - "line": 152, + "line": 156, "column": 19 } } @@ -19631,15 +20386,15 @@ "updateContext": null }, "value": "this", - "start": 5168, - "end": 5172, + "start": 5505, + "end": 5509, "loc": { "start": { - "line": 153, + "line": 157, "column": 8 }, "end": { - "line": 153, + "line": 157, "column": 12 } } @@ -19657,15 +20412,15 @@ "binop": null, "updateContext": null }, - "start": 5172, - "end": 5173, + "start": 5509, + "end": 5510, "loc": { "start": { - "line": 153, + "line": 157, "column": 12 }, "end": { - "line": 153, + "line": 157, "column": 13 } } @@ -19683,15 +20438,15 @@ "binop": null }, "value": "icons", - "start": 5173, - "end": 5178, + "start": 5510, + "end": 5515, "loc": { "start": { - "line": 153, + "line": 157, "column": 13 }, "end": { - "line": 153, + "line": 157, "column": 18 } } @@ -19709,15 +20464,15 @@ "binop": null, "updateContext": null }, - "start": 5178, - "end": 5179, + "start": 5515, + "end": 5516, "loc": { "start": { - "line": 153, + "line": 157, "column": 18 }, "end": { - "line": 153, + "line": 157, "column": 19 } } @@ -19735,15 +20490,15 @@ "binop": null }, "value": "forEach", - "start": 5179, - "end": 5186, + "start": 5516, + "end": 5523, "loc": { "start": { - "line": 153, + "line": 157, "column": 19 }, "end": { - "line": 153, + "line": 157, "column": 26 } } @@ -19760,15 +20515,15 @@ "postfix": false, "binop": null }, - "start": 5186, - "end": 5187, + "start": 5523, + "end": 5524, "loc": { "start": { - "line": 153, + "line": 157, "column": 26 }, "end": { - "line": 153, + "line": 157, "column": 27 } } @@ -19785,15 +20540,15 @@ "postfix": false, "binop": null }, - "start": 5187, - "end": 5188, + "start": 5524, + "end": 5525, "loc": { "start": { - "line": 153, + "line": 157, "column": 27 }, "end": { - "line": 153, + "line": 157, "column": 28 } } @@ -19811,15 +20566,15 @@ "binop": null }, "value": "pIcon", - "start": 5188, - "end": 5193, + "start": 5525, + "end": 5530, "loc": { "start": { - "line": 153, + "line": 157, "column": 28 }, "end": { - "line": 153, + "line": 157, "column": 33 } } @@ -19836,15 +20591,15 @@ "postfix": false, "binop": null }, - "start": 5193, - "end": 5194, + "start": 5530, + "end": 5531, "loc": { "start": { - "line": 153, + "line": 157, "column": 33 }, "end": { - "line": 153, + "line": 157, "column": 34 } } @@ -19862,15 +20617,15 @@ "binop": null, "updateContext": null }, - "start": 5195, - "end": 5197, + "start": 5532, + "end": 5534, "loc": { "start": { - "line": 153, + "line": 157, "column": 35 }, "end": { - "line": 153, + "line": 157, "column": 37 } } @@ -19887,15 +20642,15 @@ "postfix": false, "binop": null }, - "start": 5198, - "end": 5199, + "start": 5535, + "end": 5536, "loc": { "start": { - "line": 153, + "line": 157, "column": 38 }, "end": { - "line": 153, + "line": 157, "column": 39 } } @@ -19903,15 +20658,15 @@ { "type": "CommentLine", "value": " Push the icon data to the vyi export object.", - "start": 5213, - "end": 5260, + "start": 5550, + "end": 5597, "loc": { "start": { - "line": 154, + "line": 158, "column": 12 }, "end": { - "line": 154, + "line": 158, "column": 59 } } @@ -19929,15 +20684,15 @@ "binop": null }, "value": "vyi", - "start": 5274, - "end": 5277, + "start": 5611, + "end": 5614, "loc": { "start": { - "line": 155, + "line": 159, "column": 12 }, "end": { - "line": 155, + "line": 159, "column": 15 } } @@ -19955,15 +20710,15 @@ "binop": null, "updateContext": null }, - "start": 5277, - "end": 5278, + "start": 5614, + "end": 5615, "loc": { "start": { - "line": 155, + "line": 159, "column": 15 }, "end": { - "line": 155, + "line": 159, "column": 16 } } @@ -19981,15 +20736,15 @@ "binop": null }, "value": "i", - "start": 5278, - "end": 5279, + "start": 5615, + "end": 5616, "loc": { "start": { - "line": 155, + "line": 159, "column": 16 }, "end": { - "line": 155, + "line": 159, "column": 17 } } @@ -20007,15 +20762,15 @@ "binop": null, "updateContext": null }, - "start": 5279, - "end": 5280, + "start": 5616, + "end": 5617, "loc": { "start": { - "line": 155, + "line": 159, "column": 17 }, "end": { - "line": 155, + "line": 159, "column": 18 } } @@ -20033,15 +20788,15 @@ "binop": null }, "value": "push", - "start": 5280, - "end": 5284, + "start": 5617, + "end": 5621, "loc": { "start": { - "line": 155, + "line": 159, "column": 18 }, "end": { - "line": 155, + "line": 159, "column": 22 } } @@ -20058,15 +20813,15 @@ "postfix": false, "binop": null }, - "start": 5284, - "end": 5285, + "start": 5621, + "end": 5622, "loc": { "start": { - "line": 155, + "line": 159, "column": 22 }, "end": { - "line": 155, + "line": 159, "column": 23 } } @@ -20084,15 +20839,15 @@ "binop": null }, "value": "pIcon", - "start": 5285, - "end": 5290, + "start": 5622, + "end": 5627, "loc": { "start": { - "line": 155, + "line": 159, "column": 23 }, "end": { - "line": 155, + "line": 159, "column": 28 } } @@ -20110,15 +20865,15 @@ "binop": null, "updateContext": null }, - "start": 5290, - "end": 5291, + "start": 5627, + "end": 5628, "loc": { "start": { - "line": 155, + "line": 159, "column": 28 }, "end": { - "line": 155, + "line": 159, "column": 29 } } @@ -20138,15 +20893,15 @@ "updateContext": null }, "value": "export", - "start": 5291, - "end": 5297, + "start": 5628, + "end": 5634, "loc": { "start": { - "line": 155, + "line": 159, "column": 29 }, "end": { - "line": 155, + "line": 159, "column": 35 } } @@ -20163,15 +20918,15 @@ "postfix": false, "binop": null }, - "start": 5297, - "end": 5298, + "start": 5634, + "end": 5635, "loc": { "start": { - "line": 155, + "line": 159, "column": 35 }, "end": { - "line": 155, + "line": 159, "column": 36 } } @@ -20188,15 +20943,15 @@ "postfix": false, "binop": null }, - "start": 5298, - "end": 5299, + "start": 5635, + "end": 5636, "loc": { "start": { - "line": 155, + "line": 159, "column": 36 }, "end": { - "line": 155, + "line": 159, "column": 37 } } @@ -20213,15 +20968,15 @@ "postfix": false, "binop": null }, - "start": 5299, - "end": 5300, + "start": 5636, + "end": 5637, "loc": { "start": { - "line": 155, + "line": 159, "column": 37 }, "end": { - "line": 155, + "line": 159, "column": 38 } } @@ -20239,15 +20994,15 @@ "binop": null, "updateContext": null }, - "start": 5300, - "end": 5301, + "start": 5637, + "end": 5638, "loc": { "start": { - "line": 155, + "line": 159, "column": 38 }, "end": { - "line": 155, + "line": 159, "column": 39 } } @@ -20264,15 +21019,15 @@ "postfix": false, "binop": null }, - "start": 5311, - "end": 5312, + "start": 5648, + "end": 5649, "loc": { "start": { - "line": 156, + "line": 160, "column": 8 }, "end": { - "line": 156, + "line": 160, "column": 9 } } @@ -20289,15 +21044,15 @@ "postfix": false, "binop": null }, - "start": 5312, - "end": 5313, + "start": 5649, + "end": 5650, "loc": { "start": { - "line": 156, + "line": 160, "column": 9 }, "end": { - "line": 156, + "line": 160, "column": 10 } } @@ -20315,15 +21070,15 @@ "binop": null, "updateContext": null }, - "start": 5313, - "end": 5314, + "start": 5650, + "end": 5651, "loc": { "start": { - "line": 156, + "line": 160, "column": 10 }, "end": { - "line": 156, + "line": 160, "column": 11 } } @@ -20343,15 +21098,15 @@ "updateContext": null }, "value": "return", - "start": 5324, - "end": 5330, + "start": 5661, + "end": 5667, "loc": { "start": { - "line": 157, + "line": 161, "column": 8 }, "end": { - "line": 157, + "line": 161, "column": 14 } } @@ -20369,15 +21124,15 @@ "binop": null }, "value": "vyi", - "start": 5331, - "end": 5334, + "start": 5668, + "end": 5671, "loc": { "start": { - "line": 157, + "line": 161, "column": 15 }, "end": { - "line": 157, + "line": 161, "column": 18 } } @@ -20395,15 +21150,15 @@ "binop": null, "updateContext": null }, - "start": 5334, - "end": 5335, + "start": 5671, + "end": 5672, "loc": { "start": { - "line": 157, + "line": 161, "column": 18 }, "end": { - "line": 157, + "line": 161, "column": 19 } } @@ -20420,15 +21175,15 @@ "postfix": false, "binop": null }, - "start": 5341, - "end": 5342, + "start": 5678, + "end": 5679, "loc": { "start": { - "line": 158, + "line": 162, "column": 4 }, "end": { - "line": 158, + "line": 162, "column": 5 } } @@ -20445,15 +21200,15 @@ "postfix": false, "binop": null }, - "start": 5344, - "end": 5345, + "start": 5681, + "end": 5682, "loc": { "start": { - "line": 159, + "line": 163, "column": 0 }, "end": { - "line": 159, + "line": 163, "column": 1 } } @@ -20471,15 +21226,15 @@ "binop": null, "updateContext": null }, - "start": 5345, - "end": 5345, + "start": 5682, + "end": 5682, "loc": { "start": { - "line": 159, + "line": 163, "column": 1 }, "end": { - "line": 159, + "line": 163, "column": 1 } } diff --git a/docs/class/src/icon.mjs~Icon.html b/docs/class/src/icon.mjs~Icon.html index d87d84a..7e78753 100644 --- a/docs/class/src/icon.mjs~Icon.html +++ b/docs/class/src/icon.mjs~Icon.html @@ -637,7 +637,7 @@
Removes the frame from this icon via passed frame reference or via index passed.
+Removes the frame passed or the frame that exists at pIndex.
Removes the state with the name pName.
+Removes the state passed or the state with the name pName.
Removes the frame from this icon via passed frame reference or via index passed.
+Removes the frame passed or the frame that exists at pIndex.
Removes the state with the name pName.
+Removes the state passed or the state with the name pName.
Removes the icon from this VYI.
+Removes the icon passed or the icon with the name pName.
Removes the icon from this VYI.
+Removes the icon passed or the icon with the name pName.
The icon to remove.
+The state to remove from this icon. pName should be not be used in tandem with this method of removing.
+The name of the icon to remove. pIcon must be undefined to use this method for removing.