diff --git a/.gitignore b/.gitignore index 04c01ba..ae438b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ node_modules/ -dist/ \ No newline at end of file +dist/ +test.js +test-vyi/ \ No newline at end of file diff --git a/docs/Frame.html b/docs/Frame.html new file mode 100644 index 0000000..16e92d0 --- /dev/null +++ b/docs/Frame.html @@ -0,0 +1,1015 @@ + + + + + + Frame - Documentation + + + + + + + + + + + + + + + + + +
+ +

Frame

+ + + + + + + +
+ +
+ +

+ Frame +

+ + +
+ +
+
+ + +
+ + + +

new Frame(pFrameData, pParentIcon)

+ + + + + +
+ Create this frame class instance. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pFrameData + + +Array + + + + + The frame data that is used to build this frame. + +
pParentIcon + + +Icon + + + + + The icon that created this frame. + +
+ + + + + + + + + + + + + + + + +
+ +
+ + + + + + +

Classes

+ +
+
Frame
+
+
+ + + + + + + + + +

Methods

+ + + +
+ + + +

getDataURL() → {DataURL}

+ + + + + +
+ Gets the data URL of this frame. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +DataURL + + +
+
+ + +
+ - The base64 data of this image. +
+ + +
+ + + +
+ + +
+ + + +

getDelay() → {number}

+ + + + + +
+ Gets the delay of this frame. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +number + + +
+
+ + +
+ The delay of this frame. +
+ + +
+ + + +
+ + +
+ + + +

getParent() → {Icon}

+ + + + + +
+ Gets the icon this frame belongs to. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Icon + + +
+
+ + +
+ The icon this frame belongs to. +
+ + +
+ + + +
+ + +
+ + + +

getVyi() → {VYI}

+ + + + + +
+ Gets the vyi this frame belongs to. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +VYI + + +
+
+ + +
+ The vyi this frame belongs to. +
+ + +
+ + + +
+ + +
+ + + +

setDataURL(pDataURL) → {self}

+ + + + + +
+ Sets the data url of this frame. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pDataURL + + +DataURL + + + + + The base64 data of this image. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +self + + +
+
+ + +
+ This frame instance. +
+ + +
+ + + +
+ + +
+ + + +

setDelay(pDelay) → {self}

+ + + + + +
+ Sets the delay of this frame in ms. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pDelay + + +number + + + + + The delay in ms to set this frame to. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +self + + +
+
+ + +
+ This frame instance. +
+ + +
+ + + +
+ + + + + + +
+ +
+ + + + +
+ +
+ + + + + + + \ No newline at end of file diff --git a/docs/Icon.html b/docs/Icon.html new file mode 100644 index 0000000..5119e24 --- /dev/null +++ b/docs/Icon.html @@ -0,0 +1,3271 @@ + + + + + + Icon - Documentation + + + + + + + + + + + + + + + + + +
+ +

Icon

+ + + + + + + +
+ +
+ +

+ Icon +

+ + +
+ +
+
+ + +
+ + + +

new Icon(pIconData, pVYI)

+ + + + + +
+ Creates this icon instance. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pIconData + + +Object + + + + + The icon data that is used to build this icon. + +
pVYI + + +VYI + + + + + The vyi this icon | state belongs to. + +
+ + + + + + + + + + + + + + + + +
+ +
+ + + + + + +

Classes

+ +
+
Icon
+
+
+ + + + + + + + + +

Methods

+ + + +
+ + + +

addFrame(pFrameData) → {Frame|undefined}

+ + + + + +
+ Adds a new frame to this icon. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pFrameData + + +Array + + + + + The frame data to give this frame. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Frame +| + +undefined + + +
+
+ + +
+ The frame that was added or undefined. +
+ + +
+ + + +
+ + +
+ + + +

addState(pIconData) → {Icon|undefined}

+ + + + + +
+ Adds this icon data as a state. A state is also an icon. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pIconData + + +Object + + + + + The data used to create this state icon. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Icon +| + +undefined + + +
+
+ + +
+ The state that was added or undefined. +
+ + +
+ + + +
+ + +
+ + + +

getDataURL() → {DataURL}

+ + + + + +
+ Gets the data URL of this icon. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +DataURL + + +
+
+ + +
+ - The base64 data of this image. +
+ + +
+ + + +
+ + +
+ + + +

getDelay() → {number}

+ + + + + +
+ Gets the delay of this icon. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +number + + +
+
+ + +
+ The delay of this icon. +
+ + +
+ + + +
+ + +
+ + + +

getFrame(pIndex) → {Frame|undefined}

+ + + + + +
+ Gets the frame existing at pIndex. Frame 0 will actually be frame "1" in the animation. As this icon will actually be frame 0. If you are trying to get "frame" 1. Then you will need to use the icon's delay and data url. As that is frame 0. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pIndex + + +number + + + + + The index of the frame to get. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Frame +| + +undefined + + +
+
+ + +
+ The frame found at pIndex. +
+ + +
+ + + +
+ + +
+ + + +

getFrames() → {Array}

+ + + + + +
+ Returns an array of all the frames this icons has. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Array + + +
+
+ + +
+ An array of frames this icon has. +
+ + +
+ + + +
+ + +
+ + + +

getID() → {string}

+ + + + + +
+ Gets the id of this icon. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + +
+ The id of this icon. +
+ + +
+ + + +
+ + +
+ + + +

getName() → {string}

+ + + + + +
+ Returns the name of this icon. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + +
+ The name of this icon. +
+ + +
+ + + +
+ + +
+ + + +

getParent() → {Icon|undefined}

+ + + + + +
+ Gets the icon this state belongs to. If this icon is not a state, it will return undefined. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Icon +| + +undefined + + +
+
+ + +
+ The icon this state belongs to. +
+ + +
+ + + +
+ + +
+ + + +

getSize() → {Object}

+ + + + + +
+ Gets the width and height of this icon and returns it. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Object + + +
+
+ + +
+ An object with the width and height of this icon. +
+ + +
+ + + +
+ + +
+ + + +

getState(pName) → {Icon}

+ + + + + +
+ Gets the state that has the name pName. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pName + + +string + + + + + The name of the state to get. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Icon + + +
+
+ + +
+ The state that has the name of pName. +
+ + +
+ + + +
+ + +
+ + + +

getStates() → {Array}

+ + + + + +
+ Returns an array of all the states this icons has. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Array + + +
+
+ + +
+ An array of states this icon has. +
+ + +
+ + + +
+ + +
+ + + +

getVyi() → {VYI}

+ + + + + +
+ Gets the vyi this icon belongs to. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +VYI + + +
+
+ + +
+ The vyi this icon belongs to. +
+ + +
+ + + +
+ + +
+ + + +

removeFrame(pFrame, pIndex) → {self}

+ + + + + +
+ Removes the frame passed or the frame that exists at pIndex. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pFrame + + +Frame + + + + + The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing. + +
pIndex + + +number + + + + + The index of the frame to remove. pFrame must be undefined to use this method for removing. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +self + + +
+
+ + +
+ This icon instance. +
+ + +
+ + + +
+ + +
+ + + +

removeState(pState, pName) → {self}

+ + + + + +
+ Removes the state passed or the state with the name pName. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pState + + +Icon + + + + + The state to remove from this icon. pName should be not be used in tandem with this method of removing. + +
pName + + +string + + + + + The name of the state to remove. pState must be undefined to use this method for removing. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +self + + +
+
+ + +
+ This icon instance. +
+ + +
+ + + +
+ + +
+ + + +

rename(pName) → {self}

+ + + + + +
+ Changes the name of this icon. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pName + + +string + + + + + The new name of the icon. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +self + + +
+
+ + +
+ This icon instance. +
+ + +
+ + + +
+ + +
+ + + +

reorderFrame(pCurrentIndex, pIndex) → {self}

+ + + + + +
+ Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex. The "first" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame. pCurrentIndex must be set to -1 to match this icon. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pCurrentIndex + + +number + + + + + The current index of the frame. + +
pIndex + + +number + + + + + The index the frame will be moving to. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +self + + +
+
+ + +
+ This icon instance. +
+ + +
+ + + +
+ + +
+ + + +

setAllFrameDelays(pDelay) → {self}

+ + + + + +
+ Sets all the frames belonging to this icon to the same delay. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pDelay + + +number + + + + + The delay to set all frames to. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +self + + +
+
+ + +
+ This icon instance. +
+ + +
+ + + +
+ + +
+ + + +

setDataURL(pDataURL) → {self}

+ + + + + +
+ Sets the data url of this icon. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pDataURL + + +DataURL + + + + + The base64 data of this image. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +self + + +
+
+ + +
+ This icon instance. +
+ + +
+ + + +
+ + +
+ + + +

setDelay(pDelay) → {self}

+ + + + + +
+ Sets the frame delay of this icon. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pDelay + + +number + + + + + The delay to set this frame to. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +self + + +
+
+ + +
+ This icon instance. +
+ + +
+ + + +
+ + +
+ + + +

setSize(pWidth, pHeight) → {self}

+ + + + + +
+ Sets the size of this icon. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pWidth + + +number + + + + + The width of this icon. + +
pHeight + + +number + + + + + THe height of this icon. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +self + + +
+
+ + +
+ This icon instance. +
+ + +
+ + + +
+ + + + + + +
+ +
+ + + + +
+ +
+ + + + + + + \ No newline at end of file diff --git a/docs/VYI.html b/docs/VYI.html new file mode 100644 index 0000000..5fa1845 --- /dev/null +++ b/docs/VYI.html @@ -0,0 +1,1556 @@ + + + + + + VYI - Documentation + + + + + + + + + + + + + + + + + +
+ +

VYI

+ + + + + + + +
+ +
+ +

+ VYI +

+ + +
+ +
+
+ + +
+ + + +

new VYI(pVyiData)

+ + + + + +
+ Initializes this module with the information from the VYI passed. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pVyiData + + +Object + + + + + A JSON / Javascript object containing the vyi information.this.ogger + +
+ + + + + + + + + + + + + + + + +
+ +
+ + + + + + +

Classes

+ +
+
VYI
+
+
+ + + + + + + +

Members

+ + + +
+

version

+ + + + +
+ The version of the module. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + +
+ + + + + +

Methods

+ + + +
+ + + +

addIcon(pIconData) → {Icon|undefined}

+ + + + + +
+ Adds an icon to this VYI. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pIconData + + +Object + + + + + The icon data to use. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Icon +| + +undefined + + +
+
+ + +
+ - The Icon added or undefined. +
+ + +
+ + + +
+ + +
+ + + +

export() → {Object}

+ + + + + +
+ Exports this VYI into VYI format. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Object + + +
+
+ + +
+ Returns the vyi data. +
+ + +
+ + + +
+ + +
+ + + +

getIcon(pName) → {Icon|undefined}

+ + + + + +
+ Gets the icon that has the name pName. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pName + + +string + + + + + The name of the icon to get. + +
+ + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Icon +| + +undefined + + +
+
+ + +
+ The icon that has the name pName or undefined. +
+ + +
+ + + +
+ + +
+ + + +

getIconNames() → {Array}

+ + + + + +
+ Returns all the icon names in this vyi. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Array + + +
+
+ + +
+ An array of icon names in this vyi. +
+ + +
+ + + +
+ + +
+ + + +

getIcons() → {Array.<Icon>}

+ + + + + +
+ Gets all the icons in this vyi. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Array.<Icon> + + +
+
+ + + +
+ + + +
+ + +
+ + + +

getName() → {string}

+ + + + + +
+ Gets the name of the vyi. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +string + + +
+
+ + +
+ The name of the vyi. +
+ + +
+ + + +
+ + +
+ + + +

(async) parse(pVyiData) → {Promise.<void>}

+ + + + + +
+ Parses the provided VYI data (either a URL, a JSON object, or binary data) and processes it. If the data is a URL (string), it fetches/reads the data and parses it as JSON. If the data is binary, it attempts to inflate it using pako or decode it as plain text. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pVyiData + + +string +| + +Object +| + +Uint8Array +| + +ArrayBuffer + + + + + The VYI data to parse. Or a path to a VYI file. + +
+ + + + + + + + + + + + +
+
Throws:
+ + + +
+
+
+ - Throws an error if fetching, inflating, or decoding fails. +
+
+
+
+
+
+ Type +
+
+ +Error + + +
+
+
+
+
+ + + +
+ + + +
+
Returns:
+ + + +
+
+ Type: +
+
+ +Promise.<void> + + +
+
+ + +
+ - A promise that resolves when the parsing is completed. +
+ + +
+ + + +
+ + +
+ + + +

removeIcon(pIcon, pName)

+ + + + + +
+ Removes the icon passed or the icon with the name pName. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pIcon + + +Icon + + + + + The state to remove from this icon. pName should be not be used in tandem with this method of removing. + +
pName + + +string + + + + + The name of the icon to remove. pIcon must be undefined to use this method for removing. + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + + +

rename(pName)

+ + + + + +
+ Renames the vyi. +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
Source:
+
+ + + + + + + +
+ + + + + + + + + +
Parameters:
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
pName + + +string + + + + + The name to give this vyi. + +
+ + + + + + + + + + + + + + + + +
+ + + + + + +
+ +
+ + + + +
+ +
+ + + + + + + \ No newline at end of file diff --git a/docs/ast/source/.external-ecmascript.js.json b/docs/ast/source/.external-ecmascript.js.json deleted file mode 100644 index 21893b9..0000000 --- a/docs/ast/source/.external-ecmascript.js.json +++ /dev/null @@ -1,2802 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 6058, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 193, - "column": 0 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 6058, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 193, - "column": 0 - } - }, - "sourceType": "module", - "body": [], - "directives": [], - "leadingComments": null, - "innerComments": [ - { - "type": "CommentLine", - "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", - "start": 0, - "end": 83, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 83 - } - } - }, - { - "type": "CommentLine", - "value": " Value properties", - "start": 85, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", - "start": 105, - "end": 226, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", - "start": 228, - "end": 339, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 10, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", - "start": 341, - "end": 464, - "loc": { - "start": { - "line": 12, - "column": 0 - }, - "end": { - "line": 14, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", - "start": 466, - "end": 579, - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 18, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Fundamental objects", - "start": 581, - "end": 603, - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 20, - "column": 22 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", - "start": 604, - "end": 721, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 23, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", - "start": 722, - "end": 839, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", - "start": 841, - "end": 962, - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 30, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", - "start": 963, - "end": 1084, - "loc": { - "start": { - "line": 31, - "column": 0 - }, - "end": { - "line": 33, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", - "start": 1086, - "end": 1205, - "loc": { - "start": { - "line": 35, - "column": 0 - }, - "end": { - "line": 37, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", - "start": 1206, - "end": 1325, - "loc": { - "start": { - "line": 38, - "column": 0 - }, - "end": { - "line": 40, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", - "start": 1327, - "end": 1444, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 44, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", - "start": 1446, - "end": 1561, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 48, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", - "start": 1563, - "end": 1686, - "loc": { - "start": { - "line": 50, - "column": 0 - }, - "end": { - "line": 52, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", - "start": 1688, - "end": 1819, - "loc": { - "start": { - "line": 54, - "column": 0 - }, - "end": { - "line": 56, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", - "start": 1821, - "end": 1946, - "loc": { - "start": { - "line": 58, - "column": 0 - }, - "end": { - "line": 60, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", - "start": 1948, - "end": 2081, - "loc": { - "start": { - "line": 62, - "column": 0 - }, - "end": { - "line": 64, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", - "start": 2083, - "end": 2210, - "loc": { - "start": { - "line": 66, - "column": 0 - }, - "end": { - "line": 68, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", - "start": 2212, - "end": 2335, - "loc": { - "start": { - "line": 70, - "column": 0 - }, - "end": { - "line": 72, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", - "start": 2337, - "end": 2458, - "loc": { - "start": { - "line": 74, - "column": 0 - }, - "end": { - "line": 76, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Numbers and dates", - "start": 2460, - "end": 2480, - "loc": { - "start": { - "line": 78, - "column": 0 - }, - "end": { - "line": 78, - "column": 20 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", - "start": 2481, - "end": 2598, - "loc": { - "start": { - "line": 79, - "column": 0 - }, - "end": { - "line": 81, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", - "start": 2599, - "end": 2716, - "loc": { - "start": { - "line": 82, - "column": 0 - }, - "end": { - "line": 84, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", - "start": 2718, - "end": 2831, - "loc": { - "start": { - "line": 86, - "column": 0 - }, - "end": { - "line": 88, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Text processing", - "start": 2833, - "end": 2851, - "loc": { - "start": { - "line": 90, - "column": 0 - }, - "end": { - "line": 90, - "column": 18 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", - "start": 2852, - "end": 2969, - "loc": { - "start": { - "line": 91, - "column": 0 - }, - "end": { - "line": 93, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", - "start": 2970, - "end": 3087, - "loc": { - "start": { - "line": 94, - "column": 0 - }, - "end": { - "line": 96, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", - "start": 3089, - "end": 3206, - "loc": { - "start": { - "line": 98, - "column": 0 - }, - "end": { - "line": 100, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Indexed collections", - "start": 3208, - "end": 3230, - "loc": { - "start": { - "line": 102, - "column": 0 - }, - "end": { - "line": 102, - "column": 22 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", - "start": 3231, - "end": 3346, - "loc": { - "start": { - "line": 103, - "column": 0 - }, - "end": { - "line": 105, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", - "start": 3348, - "end": 3471, - "loc": { - "start": { - "line": 107, - "column": 0 - }, - "end": { - "line": 109, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", - "start": 3472, - "end": 3597, - "loc": { - "start": { - "line": 110, - "column": 0 - }, - "end": { - "line": 112, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", - "start": 3599, - "end": 3738, - "loc": { - "start": { - "line": 114, - "column": 0 - }, - "end": { - "line": 116, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", - "start": 3740, - "end": 3865, - "loc": { - "start": { - "line": 118, - "column": 0 - }, - "end": { - "line": 120, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", - "start": 3867, - "end": 3994, - "loc": { - "start": { - "line": 122, - "column": 0 - }, - "end": { - "line": 124, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", - "start": 3996, - "end": 4121, - "loc": { - "start": { - "line": 126, - "column": 0 - }, - "end": { - "line": 128, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", - "start": 4123, - "end": 4250, - "loc": { - "start": { - "line": 130, - "column": 0 - }, - "end": { - "line": 132, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", - "start": 4252, - "end": 4381, - "loc": { - "start": { - "line": 134, - "column": 0 - }, - "end": { - "line": 136, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", - "start": 4383, - "end": 4512, - "loc": { - "start": { - "line": 138, - "column": 0 - }, - "end": { - "line": 140, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Keyed collections", - "start": 4514, - "end": 4534, - "loc": { - "start": { - "line": 142, - "column": 0 - }, - "end": { - "line": 142, - "column": 20 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", - "start": 4535, - "end": 4646, - "loc": { - "start": { - "line": 143, - "column": 0 - }, - "end": { - "line": 145, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", - "start": 4648, - "end": 4759, - "loc": { - "start": { - "line": 147, - "column": 0 - }, - "end": { - "line": 149, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", - "start": 4761, - "end": 4880, - "loc": { - "start": { - "line": 151, - "column": 0 - }, - "end": { - "line": 153, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", - "start": 4882, - "end": 5001, - "loc": { - "start": { - "line": 155, - "column": 0 - }, - "end": { - "line": 157, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Structured data", - "start": 5003, - "end": 5021, - "loc": { - "start": { - "line": 159, - "column": 0 - }, - "end": { - "line": 159, - "column": 18 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", - "start": 5022, - "end": 5149, - "loc": { - "start": { - "line": 160, - "column": 0 - }, - "end": { - "line": 162, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", - "start": 5151, - "end": 5272, - "loc": { - "start": { - "line": 164, - "column": 0 - }, - "end": { - "line": 166, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", - "start": 5274, - "end": 5387, - "loc": { - "start": { - "line": 168, - "column": 0 - }, - "end": { - "line": 170, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Control abstraction objects", - "start": 5389, - "end": 5419, - "loc": { - "start": { - "line": 172, - "column": 0 - }, - "end": { - "line": 172, - "column": 30 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", - "start": 5420, - "end": 5539, - "loc": { - "start": { - "line": 173, - "column": 0 - }, - "end": { - "line": 175, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", - "start": 5541, - "end": 5664, - "loc": { - "start": { - "line": 177, - "column": 0 - }, - "end": { - "line": 179, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", - "start": 5666, - "end": 5805, - "loc": { - "start": { - "line": 181, - "column": 0 - }, - "end": { - "line": 183, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Reflection", - "start": 5807, - "end": 5820, - "loc": { - "start": { - "line": 185, - "column": 0 - }, - "end": { - "line": 185, - "column": 13 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", - "start": 5821, - "end": 5940, - "loc": { - "start": { - "line": 186, - "column": 0 - }, - "end": { - "line": 188, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", - "start": 5942, - "end": 6057, - "loc": { - "start": { - "line": 190, - "column": 0 - }, - "end": { - "line": 192, - "column": 3 - } - } - } - ] - }, - "comments": [ - { - "type": "CommentLine", - "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", - "start": 0, - "end": 83, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 83 - } - } - }, - { - "type": "CommentLine", - "value": " Value properties", - "start": 85, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", - "start": 105, - "end": 226, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", - "start": 228, - "end": 339, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 10, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", - "start": 341, - "end": 464, - "loc": { - "start": { - "line": 12, - "column": 0 - }, - "end": { - "line": 14, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", - "start": 466, - "end": 579, - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 18, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Fundamental objects", - "start": 581, - "end": 603, - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 20, - "column": 22 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", - "start": 604, - "end": 721, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 23, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", - "start": 722, - "end": 839, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", - "start": 841, - "end": 962, - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 30, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", - "start": 963, - "end": 1084, - "loc": { - "start": { - "line": 31, - "column": 0 - }, - "end": { - "line": 33, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", - "start": 1086, - "end": 1205, - "loc": { - "start": { - "line": 35, - "column": 0 - }, - "end": { - "line": 37, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", - "start": 1206, - "end": 1325, - "loc": { - "start": { - "line": 38, - "column": 0 - }, - "end": { - "line": 40, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", - "start": 1327, - "end": 1444, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 44, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", - "start": 1446, - "end": 1561, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 48, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", - "start": 1563, - "end": 1686, - "loc": { - "start": { - "line": 50, - "column": 0 - }, - "end": { - "line": 52, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", - "start": 1688, - "end": 1819, - "loc": { - "start": { - "line": 54, - "column": 0 - }, - "end": { - "line": 56, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", - "start": 1821, - "end": 1946, - "loc": { - "start": { - "line": 58, - "column": 0 - }, - "end": { - "line": 60, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", - "start": 1948, - "end": 2081, - "loc": { - "start": { - "line": 62, - "column": 0 - }, - "end": { - "line": 64, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", - "start": 2083, - "end": 2210, - "loc": { - "start": { - "line": 66, - "column": 0 - }, - "end": { - "line": 68, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", - "start": 2212, - "end": 2335, - "loc": { - "start": { - "line": 70, - "column": 0 - }, - "end": { - "line": 72, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", - "start": 2337, - "end": 2458, - "loc": { - "start": { - "line": 74, - "column": 0 - }, - "end": { - "line": 76, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Numbers and dates", - "start": 2460, - "end": 2480, - "loc": { - "start": { - "line": 78, - "column": 0 - }, - "end": { - "line": 78, - "column": 20 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", - "start": 2481, - "end": 2598, - "loc": { - "start": { - "line": 79, - "column": 0 - }, - "end": { - "line": 81, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", - "start": 2599, - "end": 2716, - "loc": { - "start": { - "line": 82, - "column": 0 - }, - "end": { - "line": 84, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", - "start": 2718, - "end": 2831, - "loc": { - "start": { - "line": 86, - "column": 0 - }, - "end": { - "line": 88, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Text processing", - "start": 2833, - "end": 2851, - "loc": { - "start": { - "line": 90, - "column": 0 - }, - "end": { - "line": 90, - "column": 18 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", - "start": 2852, - "end": 2969, - "loc": { - "start": { - "line": 91, - "column": 0 - }, - "end": { - "line": 93, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", - "start": 2970, - "end": 3087, - "loc": { - "start": { - "line": 94, - "column": 0 - }, - "end": { - "line": 96, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", - "start": 3089, - "end": 3206, - "loc": { - "start": { - "line": 98, - "column": 0 - }, - "end": { - "line": 100, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Indexed collections", - "start": 3208, - "end": 3230, - "loc": { - "start": { - "line": 102, - "column": 0 - }, - "end": { - "line": 102, - "column": 22 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", - "start": 3231, - "end": 3346, - "loc": { - "start": { - "line": 103, - "column": 0 - }, - "end": { - "line": 105, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", - "start": 3348, - "end": 3471, - "loc": { - "start": { - "line": 107, - "column": 0 - }, - "end": { - "line": 109, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", - "start": 3472, - "end": 3597, - "loc": { - "start": { - "line": 110, - "column": 0 - }, - "end": { - "line": 112, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", - "start": 3599, - "end": 3738, - "loc": { - "start": { - "line": 114, - "column": 0 - }, - "end": { - "line": 116, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", - "start": 3740, - "end": 3865, - "loc": { - "start": { - "line": 118, - "column": 0 - }, - "end": { - "line": 120, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", - "start": 3867, - "end": 3994, - "loc": { - "start": { - "line": 122, - "column": 0 - }, - "end": { - "line": 124, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", - "start": 3996, - "end": 4121, - "loc": { - "start": { - "line": 126, - "column": 0 - }, - "end": { - "line": 128, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", - "start": 4123, - "end": 4250, - "loc": { - "start": { - "line": 130, - "column": 0 - }, - "end": { - "line": 132, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", - "start": 4252, - "end": 4381, - "loc": { - "start": { - "line": 134, - "column": 0 - }, - "end": { - "line": 136, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", - "start": 4383, - "end": 4512, - "loc": { - "start": { - "line": 138, - "column": 0 - }, - "end": { - "line": 140, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Keyed collections", - "start": 4514, - "end": 4534, - "loc": { - "start": { - "line": 142, - "column": 0 - }, - "end": { - "line": 142, - "column": 20 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", - "start": 4535, - "end": 4646, - "loc": { - "start": { - "line": 143, - "column": 0 - }, - "end": { - "line": 145, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", - "start": 4648, - "end": 4759, - "loc": { - "start": { - "line": 147, - "column": 0 - }, - "end": { - "line": 149, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", - "start": 4761, - "end": 4880, - "loc": { - "start": { - "line": 151, - "column": 0 - }, - "end": { - "line": 153, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", - "start": 4882, - "end": 5001, - "loc": { - "start": { - "line": 155, - "column": 0 - }, - "end": { - "line": 157, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Structured data", - "start": 5003, - "end": 5021, - "loc": { - "start": { - "line": 159, - "column": 0 - }, - "end": { - "line": 159, - "column": 18 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", - "start": 5022, - "end": 5149, - "loc": { - "start": { - "line": 160, - "column": 0 - }, - "end": { - "line": 162, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", - "start": 5151, - "end": 5272, - "loc": { - "start": { - "line": 164, - "column": 0 - }, - "end": { - "line": 166, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", - "start": 5274, - "end": 5387, - "loc": { - "start": { - "line": 168, - "column": 0 - }, - "end": { - "line": 170, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Control abstraction objects", - "start": 5389, - "end": 5419, - "loc": { - "start": { - "line": 172, - "column": 0 - }, - "end": { - "line": 172, - "column": 30 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", - "start": 5420, - "end": 5539, - "loc": { - "start": { - "line": 173, - "column": 0 - }, - "end": { - "line": 175, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", - "start": 5541, - "end": 5664, - "loc": { - "start": { - "line": 177, - "column": 0 - }, - "end": { - "line": 179, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", - "start": 5666, - "end": 5805, - "loc": { - "start": { - "line": 181, - "column": 0 - }, - "end": { - "line": 183, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Reflection", - "start": 5807, - "end": 5820, - "loc": { - "start": { - "line": 185, - "column": 0 - }, - "end": { - "line": 185, - "column": 13 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", - "start": 5821, - "end": 5940, - "loc": { - "start": { - "line": 186, - "column": 0 - }, - "end": { - "line": 188, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", - "start": 5942, - "end": 6057, - "loc": { - "start": { - "line": 190, - "column": 0 - }, - "end": { - "line": 192, - "column": 3 - } - } - } - ], - "tokens": [ - { - "type": "CommentLine", - "value": " https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects", - "start": 0, - "end": 83, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 83 - } - } - }, - { - "type": "CommentLine", - "value": " Value properties", - "start": 85, - "end": 104, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 19 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Infinity} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity\n ", - "start": 105, - "end": 226, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 6, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {NaN} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN\n ", - "start": 228, - "end": 339, - "loc": { - "start": { - "line": 8, - "column": 0 - }, - "end": { - "line": 10, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {undefined} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined\n ", - "start": 341, - "end": 464, - "loc": { - "start": { - "line": 12, - "column": 0 - }, - "end": { - "line": 14, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {null} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null\n ", - "start": 466, - "end": 579, - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 18, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Fundamental objects", - "start": 581, - "end": 603, - "loc": { - "start": { - "line": 20, - "column": 0 - }, - "end": { - "line": 20, - "column": 22 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", - "start": 604, - "end": 721, - "loc": { - "start": { - "line": 21, - "column": 0 - }, - "end": { - "line": 23, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {object} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object\n ", - "start": 722, - "end": 839, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", - "start": 841, - "end": 962, - "loc": { - "start": { - "line": 28, - "column": 0 - }, - "end": { - "line": 30, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {function} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function\n ", - "start": 963, - "end": 1084, - "loc": { - "start": { - "line": 31, - "column": 0 - }, - "end": { - "line": 33, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", - "start": 1086, - "end": 1205, - "loc": { - "start": { - "line": 35, - "column": 0 - }, - "end": { - "line": 37, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {boolean} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean\n ", - "start": 1206, - "end": 1325, - "loc": { - "start": { - "line": 38, - "column": 0 - }, - "end": { - "line": 40, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Symbol} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol\n ", - "start": 1327, - "end": 1444, - "loc": { - "start": { - "line": 42, - "column": 0 - }, - "end": { - "line": 44, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Error} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error\n ", - "start": 1446, - "end": 1561, - "loc": { - "start": { - "line": 46, - "column": 0 - }, - "end": { - "line": 48, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {EvalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError\n ", - "start": 1563, - "end": 1686, - "loc": { - "start": { - "line": 50, - "column": 0 - }, - "end": { - "line": 52, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {InternalError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError\n ", - "start": 1688, - "end": 1819, - "loc": { - "start": { - "line": 54, - "column": 0 - }, - "end": { - "line": 56, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {RangeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError\n ", - "start": 1821, - "end": 1946, - "loc": { - "start": { - "line": 58, - "column": 0 - }, - "end": { - "line": 60, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {ReferenceError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError\n ", - "start": 1948, - "end": 2081, - "loc": { - "start": { - "line": 62, - "column": 0 - }, - "end": { - "line": 64, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {SyntaxError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError\n ", - "start": 2083, - "end": 2210, - "loc": { - "start": { - "line": 66, - "column": 0 - }, - "end": { - "line": 68, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {TypeError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError\n ", - "start": 2212, - "end": 2335, - "loc": { - "start": { - "line": 70, - "column": 0 - }, - "end": { - "line": 72, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {URIError} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError\n ", - "start": 2337, - "end": 2458, - "loc": { - "start": { - "line": 74, - "column": 0 - }, - "end": { - "line": 76, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Numbers and dates", - "start": 2460, - "end": 2480, - "loc": { - "start": { - "line": 78, - "column": 0 - }, - "end": { - "line": 78, - "column": 20 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", - "start": 2481, - "end": 2598, - "loc": { - "start": { - "line": 79, - "column": 0 - }, - "end": { - "line": 81, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {number} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number\n ", - "start": 2599, - "end": 2716, - "loc": { - "start": { - "line": 82, - "column": 0 - }, - "end": { - "line": 84, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Date} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date\n ", - "start": 2718, - "end": 2831, - "loc": { - "start": { - "line": 86, - "column": 0 - }, - "end": { - "line": 88, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Text processing", - "start": 2833, - "end": 2851, - "loc": { - "start": { - "line": 90, - "column": 0 - }, - "end": { - "line": 90, - "column": 18 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {String} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", - "start": 2852, - "end": 2969, - "loc": { - "start": { - "line": 91, - "column": 0 - }, - "end": { - "line": 93, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {string} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String\n ", - "start": 2970, - "end": 3087, - "loc": { - "start": { - "line": 94, - "column": 0 - }, - "end": { - "line": 96, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {RegExp} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp\n ", - "start": 3089, - "end": 3206, - "loc": { - "start": { - "line": 98, - "column": 0 - }, - "end": { - "line": 100, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Indexed collections", - "start": 3208, - "end": 3230, - "loc": { - "start": { - "line": 102, - "column": 0 - }, - "end": { - "line": 102, - "column": 22 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array\n ", - "start": 3231, - "end": 3346, - "loc": { - "start": { - "line": 103, - "column": 0 - }, - "end": { - "line": 105, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Int8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array\n ", - "start": 3348, - "end": 3471, - "loc": { - "start": { - "line": 107, - "column": 0 - }, - "end": { - "line": 109, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Uint8Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array\n ", - "start": 3472, - "end": 3597, - "loc": { - "start": { - "line": 110, - "column": 0 - }, - "end": { - "line": 112, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Uint8ClampedArray} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray\n ", - "start": 3599, - "end": 3738, - "loc": { - "start": { - "line": 114, - "column": 0 - }, - "end": { - "line": 116, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Int16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array\n ", - "start": 3740, - "end": 3865, - "loc": { - "start": { - "line": 118, - "column": 0 - }, - "end": { - "line": 120, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Uint16Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array\n ", - "start": 3867, - "end": 3994, - "loc": { - "start": { - "line": 122, - "column": 0 - }, - "end": { - "line": 124, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Int32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array\n ", - "start": 3996, - "end": 4121, - "loc": { - "start": { - "line": 126, - "column": 0 - }, - "end": { - "line": 128, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Uint32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array\n ", - "start": 4123, - "end": 4250, - "loc": { - "start": { - "line": 130, - "column": 0 - }, - "end": { - "line": 132, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Float32Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array\n ", - "start": 4252, - "end": 4381, - "loc": { - "start": { - "line": 134, - "column": 0 - }, - "end": { - "line": 136, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Float64Array} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array\n ", - "start": 4383, - "end": 4512, - "loc": { - "start": { - "line": 138, - "column": 0 - }, - "end": { - "line": 140, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Keyed collections", - "start": 4514, - "end": 4534, - "loc": { - "start": { - "line": 142, - "column": 0 - }, - "end": { - "line": 142, - "column": 20 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Map} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n ", - "start": 4535, - "end": 4646, - "loc": { - "start": { - "line": 143, - "column": 0 - }, - "end": { - "line": 145, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Set} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set\n ", - "start": 4648, - "end": 4759, - "loc": { - "start": { - "line": 147, - "column": 0 - }, - "end": { - "line": 149, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {WeakMap} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap\n ", - "start": 4761, - "end": 4880, - "loc": { - "start": { - "line": 151, - "column": 0 - }, - "end": { - "line": 153, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {WeakSet} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet\n ", - "start": 4882, - "end": 5001, - "loc": { - "start": { - "line": 155, - "column": 0 - }, - "end": { - "line": 157, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Structured data", - "start": 5003, - "end": 5021, - "loc": { - "start": { - "line": 159, - "column": 0 - }, - "end": { - "line": 159, - "column": 18 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {ArrayBuffer} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer\n ", - "start": 5022, - "end": 5149, - "loc": { - "start": { - "line": 160, - "column": 0 - }, - "end": { - "line": 162, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {DataView} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView\n ", - "start": 5151, - "end": 5272, - "loc": { - "start": { - "line": 164, - "column": 0 - }, - "end": { - "line": 166, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {JSON} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON\n ", - "start": 5274, - "end": 5387, - "loc": { - "start": { - "line": 168, - "column": 0 - }, - "end": { - "line": 170, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Control abstraction objects", - "start": 5389, - "end": 5419, - "loc": { - "start": { - "line": 172, - "column": 0 - }, - "end": { - "line": 172, - "column": 30 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Promise} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise\n ", - "start": 5420, - "end": 5539, - "loc": { - "start": { - "line": 173, - "column": 0 - }, - "end": { - "line": 175, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Generator} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator\n ", - "start": 5541, - "end": 5664, - "loc": { - "start": { - "line": 177, - "column": 0 - }, - "end": { - "line": 179, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {GeneratorFunction} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction\n ", - "start": 5666, - "end": 5805, - "loc": { - "start": { - "line": 181, - "column": 0 - }, - "end": { - "line": 183, - "column": 3 - } - } - }, - { - "type": "CommentLine", - "value": " Reflection", - "start": 5807, - "end": 5820, - "loc": { - "start": { - "line": 185, - "column": 0 - }, - "end": { - "line": 185, - "column": 13 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Reflect} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect\n ", - "start": 5821, - "end": 5940, - "loc": { - "start": { - "line": 186, - "column": 0 - }, - "end": { - "line": 188, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * @external {Proxy} https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n ", - "start": 5942, - "end": 6057, - "loc": { - "start": { - "line": 190, - "column": 0 - }, - "end": { - "line": 192, - "column": 3 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6058, - "end": 6058, - "loc": { - "start": { - "line": 193, - "column": 0 - }, - "end": { - "line": 193, - "column": 0 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/frame.mjs.json b/docs/ast/source/frame.mjs.json deleted file mode 100644 index d48a6b5..0000000 --- a/docs/ast/source/frame.mjs.json +++ /dev/null @@ -1,12309 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 3622, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 127, - "column": 1 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 3622, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 127, - "column": 1 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 12 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 12 - }, - "identifierName": "VYI" - }, - "name": "VYI" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 20, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "extra": { - "rawValue": "./vyi.mjs", - "raw": "'./vyi.mjs'" - }, - "value": "./vyi.mjs" - } - }, - { - "type": "ExportNamedDeclaration", - "start": 36, - "end": 3622, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 127, - "column": 1 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "ClassDeclaration", - "start": 43, - "end": 3622, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 127, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 49, - "end": 54, - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 18 - }, - "identifierName": "Frame" - }, - "name": "Frame" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 55, - "end": 3622, - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 127, - "column": 1 - } - }, - "body": [ - { - "type": "ClassProperty", - "start": 153, - "end": 165, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 9, - "column": 16 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 153, - "end": 158, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 9, - "column": 9 - }, - "identifierName": "delay" - }, - "name": "delay", - "leadingComments": null - }, - "value": { - "type": "NumericLiteral", - "start": 161, - "end": 164, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 15 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", - "start": 62, - "end": 147, - "loc": { - "start": { - "line": 4, - "column": 4 - }, - "end": { - "line": 8, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", - "start": 171, - "end": 273, - "loc": { - "start": { - "line": 10, - "column": 4 - }, - "end": { - "line": 14, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 279, - "end": 287, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 15, - "column": 12 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 279, - "end": 286, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 15, - "column": 11 - }, - "identifierName": "dataURL" - }, - "name": "dataURL", - "leadingComments": null - }, - "value": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", - "start": 171, - "end": 273, - "loc": { - "start": { - "line": 10, - "column": 4 - }, - "end": { - "line": 14, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The index of this frame. This indicates the order of the frame. 0 - Infinity.\r\n * @private\r\n * @type {number}\r\n ", - "start": 293, - "end": 431, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 20, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 437, - "end": 447, - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 21, - "column": 14 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 437, - "end": 442, - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 21, - "column": 9 - }, - "identifierName": "index" - }, - "name": "index", - "leadingComments": null - }, - "value": { - "type": "NumericLiteral", - "start": 445, - "end": 446, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 13 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The index of this frame. This indicates the order of the frame. 0 - Infinity.\r\n * @private\r\n * @type {number}\r\n ", - "start": 293, - "end": 431, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 20, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n ", - "start": 453, - "end": 543, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 26, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 549, - "end": 556, - "loc": { - "start": { - "line": 27, - "column": 4 - }, - "end": { - "line": 27, - "column": 11 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 549, - "end": 555, - "loc": { - "start": { - "line": 27, - "column": 4 - }, - "end": { - "line": 27, - "column": 10 - }, - "identifierName": "parent" - }, - "name": "parent", - "leadingComments": null - }, - "value": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n ", - "start": 453, - "end": 543, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 26, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The default delay in ms of frames.\r\n * @private\r\n * @type {number}\r\n ", - "start": 562, - "end": 657, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 32, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The vyi this frame belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", - "start": 663, - "end": 760, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 38, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 766, - "end": 770, - "loc": { - "start": { - "line": 39, - "column": 4 - }, - "end": { - "line": 39, - "column": 8 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 766, - "end": 769, - "loc": { - "start": { - "line": 39, - "column": 4 - }, - "end": { - "line": 39, - "column": 7 - }, - "identifierName": "vyi" - }, - "name": "vyi", - "leadingComments": null - }, - "value": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The default delay in ms of frames.\r\n * @private\r\n * @type {number}\r\n ", - "start": 562, - "end": 657, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 32, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The vyi this frame belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", - "start": 663, - "end": 760, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 38, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 776, - "end": 802, - "loc": { - "start": { - "line": 40, - "column": 4 - }, - "end": { - "line": 40, - "column": 30 - } - }, - "static": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 783, - "end": 795, - "loc": { - "start": { - "line": 40, - "column": 11 - }, - "end": { - "line": 40, - "column": 23 - }, - "identifierName": "defaultDelay" - }, - "name": "defaultDelay" - }, - "value": { - "type": "NumericLiteral", - "start": 798, - "end": 801, - "loc": { - "start": { - "line": 40, - "column": 26 - }, - "end": { - "line": 40, - "column": 29 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Create this frame class instance.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n ", - "start": 808, - "end": 1034, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 46, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 1040, - "end": 1191, - "loc": { - "start": { - "line": 47, - "column": 4 - }, - "end": { - "line": 51, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1040, - "end": 1051, - "loc": { - "start": { - "line": 47, - "column": 4 - }, - "end": { - "line": 47, - "column": 15 - }, - "identifierName": "constructor" - }, - "name": "constructor", - "leadingComments": null - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1052, - "end": 1062, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 26 - }, - "identifierName": "pFrameData" - }, - "name": "pFrameData" - }, - { - "type": "Identifier", - "start": 1064, - "end": 1075, - "loc": { - "start": { - "line": 47, - "column": 28 - }, - "end": { - "line": 47, - "column": 39 - }, - "identifierName": "pParentIcon" - }, - "name": "pParentIcon" - } - ], - "body": { - "type": "BlockStatement", - "start": 1077, - "end": 1191, - "loc": { - "start": { - "line": 47, - "column": 41 - }, - "end": { - "line": 51, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1088, - "end": 1115, - "loc": { - "start": { - "line": 48, - "column": 8 - }, - "end": { - "line": 48, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1088, - "end": 1114, - "loc": { - "start": { - "line": 48, - "column": 8 - }, - "end": { - "line": 48, - "column": 34 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1088, - "end": 1096, - "loc": { - "start": { - "line": 48, - "column": 8 - }, - "end": { - "line": 48, - "column": 16 - } - }, - "object": { - "type": "ThisExpression", - "start": 1088, - "end": 1092, - "loc": { - "start": { - "line": 48, - "column": 8 - }, - "end": { - "line": 48, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 1093, - "end": 1096, - "loc": { - "start": { - "line": 48, - "column": 13 - }, - "end": { - "line": 48, - "column": 16 - }, - "identifierName": "vyi" - }, - "name": "vyi" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 1099, - "end": 1114, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 48, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 1099, - "end": 1110, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 48, - "column": 30 - }, - "identifierName": "pParentIcon" - }, - "name": "pParentIcon" - }, - "property": { - "type": "Identifier", - "start": 1111, - "end": 1114, - "loc": { - "start": { - "line": 48, - "column": 31 - }, - "end": { - "line": 48, - "column": 34 - }, - "identifierName": "vyi" - }, - "name": "vyi" - }, - "computed": false - } - } - }, - { - "type": "ExpressionStatement", - "start": 1125, - "end": 1151, - "loc": { - "start": { - "line": 49, - "column": 8 - }, - "end": { - "line": 49, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1125, - "end": 1150, - "loc": { - "start": { - "line": 49, - "column": 8 - }, - "end": { - "line": 49, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1125, - "end": 1136, - "loc": { - "start": { - "line": 49, - "column": 8 - }, - "end": { - "line": 49, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 1125, - "end": 1129, - "loc": { - "start": { - "line": 49, - "column": 8 - }, - "end": { - "line": 49, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 1130, - "end": 1136, - "loc": { - "start": { - "line": 49, - "column": 13 - }, - "end": { - "line": 49, - "column": 19 - }, - "identifierName": "parent" - }, - "name": "parent" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 1139, - "end": 1150, - "loc": { - "start": { - "line": 49, - "column": 22 - }, - "end": { - "line": 49, - "column": 33 - }, - "identifierName": "pParentIcon" - }, - "name": "pParentIcon" - } - } - }, - { - "type": "ExpressionStatement", - "start": 1161, - "end": 1184, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 31 - } - }, - "expression": { - "type": "CallExpression", - "start": 1161, - "end": 1183, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 30 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1161, - "end": 1171, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 18 - } - }, - "object": { - "type": "ThisExpression", - "start": 1161, - "end": 1165, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 1166, - "end": 1171, - "loc": { - "start": { - "line": 50, - "column": 13 - }, - "end": { - "line": 50, - "column": 18 - }, - "identifierName": "parse" - }, - "name": "parse" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1172, - "end": 1182, - "loc": { - "start": { - "line": 50, - "column": 19 - }, - "end": { - "line": 50, - "column": 29 - }, - "identifierName": "pFrameData" - }, - "name": "pFrameData" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Create this frame class instance.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n ", - "start": 808, - "end": 1034, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 46, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", - "start": 1197, - "end": 1377, - "loc": { - "start": { - "line": 52, - "column": 4 - }, - "end": { - "line": 56, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 1383, - "end": 1718, - "loc": { - "start": { - "line": 57, - "column": 4 - }, - "end": { - "line": 65, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1383, - "end": 1388, - "loc": { - "start": { - "line": 57, - "column": 4 - }, - "end": { - "line": 57, - "column": 9 - }, - "identifierName": "parse" - }, - "name": "parse", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1389, - "end": 1399, - "loc": { - "start": { - "line": 57, - "column": 10 - }, - "end": { - "line": 57, - "column": 20 - }, - "identifierName": "pFrameData" - }, - "name": "pFrameData" - } - ], - "body": { - "type": "BlockStatement", - "start": 1401, - "end": 1718, - "loc": { - "start": { - "line": 57, - "column": 22 - }, - "end": { - "line": 65, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1465, - "end": 1495, - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1471, - "end": 1494, - "loc": { - "start": { - "line": 59, - "column": 14 - }, - "end": { - "line": 59, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 1471, - "end": 1478, - "loc": { - "start": { - "line": 59, - "column": 14 - }, - "end": { - "line": 59, - "column": 21 - }, - "identifierName": "dataURL" - }, - "name": "dataURL", - "leadingComments": null - }, - "init": { - "type": "MemberExpression", - "start": 1481, - "end": 1494, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 1481, - "end": 1491, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 34 - }, - "identifierName": "pFrameData" - }, - "name": "pFrameData" - }, - "property": { - "type": "NumericLiteral", - "start": 1492, - "end": 1493, - "loc": { - "start": { - "line": 59, - "column": 35 - }, - "end": { - "line": 59, - "column": 36 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": " Loop through frame data and build frame.", - "start": 1412, - "end": 1455, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 51 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 1505, - "end": 1579, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 60, - "column": 82 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1511, - "end": 1578, - "loc": { - "start": { - "line": 60, - "column": 14 - }, - "end": { - "line": 60, - "column": 81 - } - }, - "id": { - "type": "Identifier", - "start": 1511, - "end": 1521, - "loc": { - "start": { - "line": 60, - "column": 14 - }, - "end": { - "line": 60, - "column": 24 - }, - "identifierName": "frameDelay" - }, - "name": "frameDelay" - }, - "init": { - "type": "ConditionalExpression", - "start": 1524, - "end": 1578, - "loc": { - "start": { - "line": 60, - "column": 27 - }, - "end": { - "line": 60, - "column": 81 - } - }, - "test": { - "type": "MemberExpression", - "start": 1524, - "end": 1537, - "loc": { - "start": { - "line": 60, - "column": 27 - }, - "end": { - "line": 60, - "column": 40 - } - }, - "object": { - "type": "Identifier", - "start": 1524, - "end": 1534, - "loc": { - "start": { - "line": 60, - "column": 27 - }, - "end": { - "line": 60, - "column": 37 - }, - "identifierName": "pFrameData" - }, - "name": "pFrameData" - }, - "property": { - "type": "NumericLiteral", - "start": 1535, - "end": 1536, - "loc": { - "start": { - "line": 60, - "column": 38 - }, - "end": { - "line": 60, - "column": 39 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true - }, - "consequent": { - "type": "MemberExpression", - "start": 1540, - "end": 1553, - "loc": { - "start": { - "line": 60, - "column": 43 - }, - "end": { - "line": 60, - "column": 56 - } - }, - "object": { - "type": "Identifier", - "start": 1540, - "end": 1550, - "loc": { - "start": { - "line": 60, - "column": 43 - }, - "end": { - "line": 60, - "column": 53 - }, - "identifierName": "pFrameData" - }, - "name": "pFrameData" - }, - "property": { - "type": "NumericLiteral", - "start": 1551, - "end": 1552, - "loc": { - "start": { - "line": 60, - "column": 54 - }, - "end": { - "line": 60, - "column": 55 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true - }, - "alternate": { - "type": "CallExpression", - "start": 1556, - "end": 1578, - "loc": { - "start": { - "line": 60, - "column": 59 - }, - "end": { - "line": 60, - "column": 81 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1556, - "end": 1576, - "loc": { - "start": { - "line": 60, - "column": 59 - }, - "end": { - "line": 60, - "column": 79 - } - }, - "object": { - "type": "MemberExpression", - "start": 1556, - "end": 1567, - "loc": { - "start": { - "line": 60, - "column": 59 - }, - "end": { - "line": 60, - "column": 70 - } - }, - "object": { - "type": "ThisExpression", - "start": 1556, - "end": 1560, - "loc": { - "start": { - "line": 60, - "column": 59 - }, - "end": { - "line": 60, - "column": 63 - } - } - }, - "property": { - "type": "Identifier", - "start": 1561, - "end": 1567, - "loc": { - "start": { - "line": 60, - "column": 64 - }, - "end": { - "line": 60, - "column": 70 - }, - "identifierName": "parent" - }, - "name": "parent" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1568, - "end": 1576, - "loc": { - "start": { - "line": 60, - "column": 71 - }, - "end": { - "line": 60, - "column": 79 - }, - "identifierName": "getDelay" - }, - "name": "getDelay" - }, - "computed": false - }, - "arguments": [] - } - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set the data url", - "start": 1589, - "end": 1608, - "loc": { - "start": { - "line": 61, - "column": 8 - }, - "end": { - "line": 61, - "column": 27 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 1618, - "end": 1643, - "loc": { - "start": { - "line": 62, - "column": 8 - }, - "end": { - "line": 62, - "column": 33 - } - }, - "expression": { - "type": "CallExpression", - "start": 1618, - "end": 1642, - "loc": { - "start": { - "line": 62, - "column": 8 - }, - "end": { - "line": 62, - "column": 32 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1618, - "end": 1633, - "loc": { - "start": { - "line": 62, - "column": 8 - }, - "end": { - "line": 62, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 1618, - "end": 1622, - "loc": { - "start": { - "line": 62, - "column": 8 - }, - "end": { - "line": 62, - "column": 12 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 1623, - "end": 1633, - "loc": { - "start": { - "line": 62, - "column": 13 - }, - "end": { - "line": 62, - "column": 23 - }, - "identifierName": "setDataURL" - }, - "name": "setDataURL" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 1634, - "end": 1641, - "loc": { - "start": { - "line": 62, - "column": 24 - }, - "end": { - "line": 62, - "column": 31 - }, - "identifierName": "dataURL" - }, - "name": "dataURL" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set the data url", - "start": 1589, - "end": 1608, - "loc": { - "start": { - "line": 61, - "column": 8 - }, - "end": { - "line": 61, - "column": 27 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set the frame delay", - "start": 1653, - "end": 1675, - "loc": { - "start": { - "line": 63, - "column": 8 - }, - "end": { - "line": 63, - "column": 30 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 1685, - "end": 1711, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 34 - } - }, - "expression": { - "type": "CallExpression", - "start": 1685, - "end": 1710, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 33 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1685, - "end": 1698, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 21 - } - }, - "object": { - "type": "ThisExpression", - "start": 1685, - "end": 1689, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 12 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 1690, - "end": 1698, - "loc": { - "start": { - "line": 64, - "column": 13 - }, - "end": { - "line": 64, - "column": 21 - }, - "identifierName": "setDelay" - }, - "name": "setDelay" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 1699, - "end": 1709, - "loc": { - "start": { - "line": 64, - "column": 22 - }, - "end": { - "line": 64, - "column": 32 - }, - "identifierName": "frameDelay" - }, - "name": "frameDelay" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set the frame delay", - "start": 1653, - "end": 1675, - "loc": { - "start": { - "line": 63, - "column": 8 - }, - "end": { - "line": 63, - "column": 30 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", - "start": 1197, - "end": 1377, - "loc": { - "start": { - "line": 52, - "column": 4 - }, - "end": { - "line": 56, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n ", - "start": 1724, - "end": 1896, - "loc": { - "start": { - "line": 66, - "column": 4 - }, - "end": { - "line": 70, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 1902, - "end": 2185, - "loc": { - "start": { - "line": 71, - "column": 4 - }, - "end": { - "line": 80, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1902, - "end": 1910, - "loc": { - "start": { - "line": 71, - "column": 4 - }, - "end": { - "line": 71, - "column": 12 - }, - "identifierName": "setDelay" - }, - "name": "setDelay", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1911, - "end": 1917, - "loc": { - "start": { - "line": 71, - "column": 13 - }, - "end": { - "line": 71, - "column": 19 - }, - "identifierName": "pDelay" - }, - "name": "pDelay" - } - ], - "body": { - "type": "BlockStatement", - "start": 1919, - "end": 2185, - "loc": { - "start": { - "line": 71, - "column": 21 - }, - "end": { - "line": 80, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 1930, - "end": 2156, - "loc": { - "start": { - "line": 72, - "column": 8 - }, - "end": { - "line": 78, - "column": 9 - } - }, - "test": { - "type": "Identifier", - "start": 1934, - "end": 1940, - "loc": { - "start": { - "line": 72, - "column": 12 - }, - "end": { - "line": 72, - "column": 18 - }, - "identifierName": "pDelay" - }, - "name": "pDelay" - }, - "consequent": { - "type": "BlockStatement", - "start": 1942, - "end": 2156, - "loc": { - "start": { - "line": 72, - "column": 20 - }, - "end": { - "line": 78, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 1957, - "end": 2145, - "loc": { - "start": { - "line": 73, - "column": 12 - }, - "end": { - "line": 77, - "column": 13 - } - }, - "test": { - "type": "BinaryExpression", - "start": 1961, - "end": 1988, - "loc": { - "start": { - "line": 73, - "column": 16 - }, - "end": { - "line": 73, - "column": 43 - } - }, - "left": { - "type": "UnaryExpression", - "start": 1961, - "end": 1975, - "loc": { - "start": { - "line": 73, - "column": 16 - }, - "end": { - "line": 73, - "column": 30 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 1968, - "end": 1974, - "loc": { - "start": { - "line": 73, - "column": 23 - }, - "end": { - "line": 73, - "column": 29 - }, - "identifierName": "pDelay" - }, - "name": "pDelay", - "extra": { - "parenthesized": true, - "parenStart": 1967 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 1980, - "end": 1988, - "loc": { - "start": { - "line": 73, - "column": 35 - }, - "end": { - "line": 73, - "column": 43 - } - }, - "extra": { - "rawValue": "number", - "raw": "'number'" - }, - "value": "number" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 1990, - "end": 2044, - "loc": { - "start": { - "line": 73, - "column": 45 - }, - "end": { - "line": 75, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2009, - "end": 2029, - "loc": { - "start": { - "line": 74, - "column": 16 - }, - "end": { - "line": 74, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2009, - "end": 2028, - "loc": { - "start": { - "line": 74, - "column": 16 - }, - "end": { - "line": 74, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 2009, - "end": 2019, - "loc": { - "start": { - "line": 74, - "column": 16 - }, - "end": { - "line": 74, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 2009, - "end": 2013, - "loc": { - "start": { - "line": 74, - "column": 16 - }, - "end": { - "line": 74, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 2014, - "end": 2019, - "loc": { - "start": { - "line": 74, - "column": 21 - }, - "end": { - "line": 74, - "column": 26 - }, - "identifierName": "delay" - }, - "name": "delay" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 2022, - "end": 2028, - "loc": { - "start": { - "line": 74, - "column": 29 - }, - "end": { - "line": 74, - "column": 35 - }, - "identifierName": "pDelay" - }, - "name": "pDelay" - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 2050, - "end": 2145, - "loc": { - "start": { - "line": 75, - "column": 19 - }, - "end": { - "line": 77, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2069, - "end": 2130, - "loc": { - "start": { - "line": 76, - "column": 16 - }, - "end": { - "line": 76, - "column": 77 - } - }, - "expression": { - "type": "CallExpression", - "start": 2069, - "end": 2129, - "loc": { - "start": { - "line": 76, - "column": 16 - }, - "end": { - "line": 76, - "column": 76 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2069, - "end": 2106, - "loc": { - "start": { - "line": 76, - "column": 16 - }, - "end": { - "line": 76, - "column": 53 - } - }, - "object": { - "type": "CallExpression", - "start": 2069, - "end": 2100, - "loc": { - "start": { - "line": 76, - "column": 16 - }, - "end": { - "line": 76, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2069, - "end": 2086, - "loc": { - "start": { - "line": 76, - "column": 16 - }, - "end": { - "line": 76, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 2069, - "end": 2079, - "loc": { - "start": { - "line": 76, - "column": 16 - }, - "end": { - "line": 76, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 2069, - "end": 2072, - "loc": { - "start": { - "line": 76, - "column": 16 - }, - "end": { - "line": 76, - "column": 19 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 2073, - "end": 2079, - "loc": { - "start": { - "line": 76, - "column": 20 - }, - "end": { - "line": 76, - "column": 26 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2080, - "end": 2086, - "loc": { - "start": { - "line": 76, - "column": 27 - }, - "end": { - "line": 76, - "column": 33 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 2087, - "end": 2099, - "loc": { - "start": { - "line": 76, - "column": 34 - }, - "end": { - "line": 76, - "column": 46 - } - }, - "extra": { - "rawValue": "VYI-module", - "raw": "'VYI-module'" - }, - "value": "VYI-module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 2101, - "end": 2106, - "loc": { - "start": { - "line": 76, - "column": 48 - }, - "end": { - "line": 76, - "column": 53 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 2107, - "end": 2128, - "loc": { - "start": { - "line": 76, - "column": 54 - }, - "end": { - "line": 76, - "column": 75 - } - }, - "extra": { - "rawValue": "Invalid delay type!", - "raw": "'Invalid delay type!'" - }, - "value": "Invalid delay type!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 2166, - "end": 2178, - "loc": { - "start": { - "line": 79, - "column": 8 - }, - "end": { - "line": 79, - "column": 20 - } - }, - "argument": { - "type": "ThisExpression", - "start": 2173, - "end": 2177, - "loc": { - "start": { - "line": 79, - "column": 15 - }, - "end": { - "line": 79, - "column": 19 - } - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n ", - "start": 1724, - "end": 1896, - "loc": { - "start": { - "line": 66, - "column": 4 - }, - "end": { - "line": 70, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n ", - "start": 2191, - "end": 2292, - "loc": { - "start": { - "line": 81, - "column": 4 - }, - "end": { - "line": 84, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 2298, - "end": 2345, - "loc": { - "start": { - "line": 85, - "column": 4 - }, - "end": { - "line": 87, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2298, - "end": 2306, - "loc": { - "start": { - "line": 85, - "column": 4 - }, - "end": { - "line": 85, - "column": 12 - }, - "identifierName": "getDelay" - }, - "name": "getDelay", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 2309, - "end": 2345, - "loc": { - "start": { - "line": 85, - "column": 15 - }, - "end": { - "line": 87, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 2320, - "end": 2338, - "loc": { - "start": { - "line": 86, - "column": 8 - }, - "end": { - "line": 86, - "column": 26 - } - }, - "argument": { - "type": "MemberExpression", - "start": 2327, - "end": 2337, - "loc": { - "start": { - "line": 86, - "column": 15 - }, - "end": { - "line": 86, - "column": 25 - } - }, - "object": { - "type": "ThisExpression", - "start": 2327, - "end": 2331, - "loc": { - "start": { - "line": 86, - "column": 15 - }, - "end": { - "line": 86, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 2332, - "end": 2337, - "loc": { - "start": { - "line": 86, - "column": 20 - }, - "end": { - "line": 86, - "column": 25 - }, - "identifierName": "delay" - }, - "name": "delay" - }, - "computed": false - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n ", - "start": 2191, - "end": 2292, - "loc": { - "start": { - "line": 81, - "column": 4 - }, - "end": { - "line": 84, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n ", - "start": 2351, - "end": 2516, - "loc": { - "start": { - "line": 88, - "column": 4 - }, - "end": { - "line": 92, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 2522, - "end": 2820, - "loc": { - "start": { - "line": 93, - "column": 4 - }, - "end": { - "line": 102, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2522, - "end": 2532, - "loc": { - "start": { - "line": 93, - "column": 4 - }, - "end": { - "line": 93, - "column": 14 - }, - "identifierName": "setDataURL" - }, - "name": "setDataURL", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2533, - "end": 2541, - "loc": { - "start": { - "line": 93, - "column": 15 - }, - "end": { - "line": 93, - "column": 23 - }, - "identifierName": "pDataURL" - }, - "name": "pDataURL" - } - ], - "body": { - "type": "BlockStatement", - "start": 2543, - "end": 2820, - "loc": { - "start": { - "line": 93, - "column": 25 - }, - "end": { - "line": 102, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 2554, - "end": 2791, - "loc": { - "start": { - "line": 94, - "column": 8 - }, - "end": { - "line": 100, - "column": 9 - } - }, - "test": { - "type": "Identifier", - "start": 2558, - "end": 2566, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 20 - }, - "identifierName": "pDataURL" - }, - "name": "pDataURL" - }, - "consequent": { - "type": "BlockStatement", - "start": 2568, - "end": 2791, - "loc": { - "start": { - "line": 94, - "column": 22 - }, - "end": { - "line": 100, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 2583, - "end": 2780, - "loc": { - "start": { - "line": 95, - "column": 12 - }, - "end": { - "line": 99, - "column": 13 - } - }, - "test": { - "type": "BinaryExpression", - "start": 2587, - "end": 2616, - "loc": { - "start": { - "line": 95, - "column": 16 - }, - "end": { - "line": 95, - "column": 45 - } - }, - "left": { - "type": "UnaryExpression", - "start": 2587, - "end": 2603, - "loc": { - "start": { - "line": 95, - "column": 16 - }, - "end": { - "line": 95, - "column": 32 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 2594, - "end": 2602, - "loc": { - "start": { - "line": 95, - "column": 23 - }, - "end": { - "line": 95, - "column": 31 - }, - "identifierName": "pDataURL" - }, - "name": "pDataURL", - "extra": { - "parenthesized": true, - "parenStart": 2593 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 2608, - "end": 2616, - "loc": { - "start": { - "line": 95, - "column": 37 - }, - "end": { - "line": 95, - "column": 45 - } - }, - "extra": { - "rawValue": "string", - "raw": "'string'" - }, - "value": "string" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 2618, - "end": 2676, - "loc": { - "start": { - "line": 95, - "column": 47 - }, - "end": { - "line": 97, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2637, - "end": 2661, - "loc": { - "start": { - "line": 96, - "column": 16 - }, - "end": { - "line": 96, - "column": 40 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2637, - "end": 2660, - "loc": { - "start": { - "line": 96, - "column": 16 - }, - "end": { - "line": 96, - "column": 39 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 2637, - "end": 2649, - "loc": { - "start": { - "line": 96, - "column": 16 - }, - "end": { - "line": 96, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 2637, - "end": 2641, - "loc": { - "start": { - "line": 96, - "column": 16 - }, - "end": { - "line": 96, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 2642, - "end": 2649, - "loc": { - "start": { - "line": 96, - "column": 21 - }, - "end": { - "line": 96, - "column": 28 - }, - "identifierName": "dataURL" - }, - "name": "dataURL" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 2652, - "end": 2660, - "loc": { - "start": { - "line": 96, - "column": 31 - }, - "end": { - "line": 96, - "column": 39 - }, - "identifierName": "pDataURL" - }, - "name": "pDataURL" - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 2682, - "end": 2780, - "loc": { - "start": { - "line": 97, - "column": 19 - }, - "end": { - "line": 99, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2701, - "end": 2765, - "loc": { - "start": { - "line": 98, - "column": 16 - }, - "end": { - "line": 98, - "column": 80 - } - }, - "expression": { - "type": "CallExpression", - "start": 2701, - "end": 2764, - "loc": { - "start": { - "line": 98, - "column": 16 - }, - "end": { - "line": 98, - "column": 79 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2701, - "end": 2738, - "loc": { - "start": { - "line": 98, - "column": 16 - }, - "end": { - "line": 98, - "column": 53 - } - }, - "object": { - "type": "CallExpression", - "start": 2701, - "end": 2732, - "loc": { - "start": { - "line": 98, - "column": 16 - }, - "end": { - "line": 98, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2701, - "end": 2718, - "loc": { - "start": { - "line": 98, - "column": 16 - }, - "end": { - "line": 98, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 2701, - "end": 2711, - "loc": { - "start": { - "line": 98, - "column": 16 - }, - "end": { - "line": 98, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 2701, - "end": 2704, - "loc": { - "start": { - "line": 98, - "column": 16 - }, - "end": { - "line": 98, - "column": 19 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 2705, - "end": 2711, - "loc": { - "start": { - "line": 98, - "column": 20 - }, - "end": { - "line": 98, - "column": 26 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2712, - "end": 2718, - "loc": { - "start": { - "line": 98, - "column": 27 - }, - "end": { - "line": 98, - "column": 33 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 2719, - "end": 2731, - "loc": { - "start": { - "line": 98, - "column": 34 - }, - "end": { - "line": 98, - "column": 46 - } - }, - "extra": { - "rawValue": "VYI-module", - "raw": "'VYI-module'" - }, - "value": "VYI-module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 2733, - "end": 2738, - "loc": { - "start": { - "line": 98, - "column": 48 - }, - "end": { - "line": 98, - "column": 53 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 2739, - "end": 2763, - "loc": { - "start": { - "line": 98, - "column": 54 - }, - "end": { - "line": 98, - "column": 78 - } - }, - "extra": { - "rawValue": "Invalid data url type!", - "raw": "'Invalid data url type!'" - }, - "value": "Invalid data url type!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 2801, - "end": 2813, - "loc": { - "start": { - "line": 101, - "column": 8 - }, - "end": { - "line": 101, - "column": 20 - } - }, - "argument": { - "type": "ThisExpression", - "start": 2808, - "end": 2812, - "loc": { - "start": { - "line": 101, - "column": 15 - }, - "end": { - "line": 101, - "column": 19 - } - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n ", - "start": 2351, - "end": 2516, - "loc": { - "start": { - "line": 88, - "column": 4 - }, - "end": { - "line": 92, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 2826, - "end": 2939, - "loc": { - "start": { - "line": 103, - "column": 4 - }, - "end": { - "line": 106, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 2945, - "end": 2996, - "loc": { - "start": { - "line": 107, - "column": 4 - }, - "end": { - "line": 109, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2945, - "end": 2955, - "loc": { - "start": { - "line": 107, - "column": 4 - }, - "end": { - "line": 107, - "column": 14 - }, - "identifierName": "getDataURL" - }, - "name": "getDataURL", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 2958, - "end": 2996, - "loc": { - "start": { - "line": 107, - "column": 17 - }, - "end": { - "line": 109, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 2969, - "end": 2989, - "loc": { - "start": { - "line": 108, - "column": 8 - }, - "end": { - "line": 108, - "column": 28 - } - }, - "argument": { - "type": "MemberExpression", - "start": 2976, - "end": 2988, - "loc": { - "start": { - "line": 108, - "column": 15 - }, - "end": { - "line": 108, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 2976, - "end": 2980, - "loc": { - "start": { - "line": 108, - "column": 15 - }, - "end": { - "line": 108, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 2981, - "end": 2988, - "loc": { - "start": { - "line": 108, - "column": 20 - }, - "end": { - "line": 108, - "column": 27 - }, - "identifierName": "dataURL" - }, - "name": "dataURL" - }, - "computed": false - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 2826, - "end": 2939, - "loc": { - "start": { - "line": 103, - "column": 4 - }, - "end": { - "line": 106, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n ", - "start": 3002, - "end": 3179, - "loc": { - "start": { - "line": 110, - "column": 4 - }, - "end": { - "line": 114, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 3185, - "end": 3619, - "loc": { - "start": { - "line": 115, - "column": 4 - }, - "end": { - "line": 126, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3185, - "end": 3191, - "loc": { - "start": { - "line": 115, - "column": 4 - }, - "end": { - "line": 115, - "column": 10 - }, - "identifierName": "export" - }, - "name": "export", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 3194, - "end": 3619, - "loc": { - "start": { - "line": 115, - "column": 13 - }, - "end": { - "line": 126, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 3205, - "end": 3226, - "loc": { - "start": { - "line": 116, - "column": 8 - }, - "end": { - "line": 116, - "column": 29 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3211, - "end": 3225, - "loc": { - "start": { - "line": 116, - "column": 14 - }, - "end": { - "line": 116, - "column": 28 - } - }, - "id": { - "type": "Identifier", - "start": 3211, - "end": 3220, - "loc": { - "start": { - "line": 116, - "column": 14 - }, - "end": { - "line": 116, - "column": 23 - }, - "identifierName": "frameData" - }, - "name": "frameData" - }, - "init": { - "type": "ArrayExpression", - "start": 3223, - "end": 3225, - "loc": { - "start": { - "line": 116, - "column": 26 - }, - "end": { - "line": 116, - "column": 28 - } - }, - "elements": [] - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " frame dataURL", - "start": 3236, - "end": 3252, - "loc": { - "start": { - "line": 117, - "column": 8 - }, - "end": { - "line": 117, - "column": 24 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 3262, - "end": 3295, - "loc": { - "start": { - "line": 118, - "column": 8 - }, - "end": { - "line": 118, - "column": 41 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 3262, - "end": 3294, - "loc": { - "start": { - "line": 118, - "column": 8 - }, - "end": { - "line": 118, - "column": 40 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 3262, - "end": 3274, - "loc": { - "start": { - "line": 118, - "column": 8 - }, - "end": { - "line": 118, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 3262, - "end": 3271, - "loc": { - "start": { - "line": 118, - "column": 8 - }, - "end": { - "line": 118, - "column": 17 - }, - "identifierName": "frameData" - }, - "name": "frameData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 3272, - "end": 3273, - "loc": { - "start": { - "line": 118, - "column": 18 - }, - "end": { - "line": 118, - "column": 19 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 3277, - "end": 3294, - "loc": { - "start": { - "line": 118, - "column": 23 - }, - "end": { - "line": 118, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3277, - "end": 3292, - "loc": { - "start": { - "line": 118, - "column": 23 - }, - "end": { - "line": 118, - "column": 38 - } - }, - "object": { - "type": "ThisExpression", - "start": 3277, - "end": 3281, - "loc": { - "start": { - "line": 118, - "column": 23 - }, - "end": { - "line": 118, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 3282, - "end": 3292, - "loc": { - "start": { - "line": 118, - "column": 28 - }, - "end": { - "line": 118, - "column": 38 - }, - "identifierName": "getDataURL" - }, - "name": "getDataURL" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " frame dataURL", - "start": 3236, - "end": 3252, - "loc": { - "start": { - "line": 117, - "column": 8 - }, - "end": { - "line": 117, - "column": 24 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " We do not have to store the delay if it is the default value of 100. This will save data.", - "start": 3305, - "end": 3397, - "loc": { - "start": { - "line": 119, - "column": 8 - }, - "end": { - "line": 119, - "column": 100 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 3407, - "end": 3469, - "loc": { - "start": { - "line": 120, - "column": 8 - }, - "end": { - "line": 120, - "column": 70 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3413, - "end": 3468, - "loc": { - "start": { - "line": 120, - "column": 14 - }, - "end": { - "line": 120, - "column": 69 - } - }, - "id": { - "type": "Identifier", - "start": 3413, - "end": 3427, - "loc": { - "start": { - "line": 120, - "column": 14 - }, - "end": { - "line": 120, - "column": 28 - }, - "identifierName": "delayIsDefault" - }, - "name": "delayIsDefault", - "leadingComments": null - }, - "init": { - "type": "BinaryExpression", - "start": 3430, - "end": 3468, - "loc": { - "start": { - "line": 120, - "column": 31 - }, - "end": { - "line": 120, - "column": 69 - } - }, - "left": { - "type": "CallExpression", - "start": 3430, - "end": 3445, - "loc": { - "start": { - "line": 120, - "column": 31 - }, - "end": { - "line": 120, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3430, - "end": 3443, - "loc": { - "start": { - "line": 120, - "column": 31 - }, - "end": { - "line": 120, - "column": 44 - } - }, - "object": { - "type": "ThisExpression", - "start": 3430, - "end": 3434, - "loc": { - "start": { - "line": 120, - "column": 31 - }, - "end": { - "line": 120, - "column": 35 - } - } - }, - "property": { - "type": "Identifier", - "start": 3435, - "end": 3443, - "loc": { - "start": { - "line": 120, - "column": 36 - }, - "end": { - "line": 120, - "column": 44 - }, - "identifierName": "getDelay" - }, - "name": "getDelay" - }, - "computed": false - }, - "arguments": [] - }, - "operator": "===", - "right": { - "type": "MemberExpression", - "start": 3450, - "end": 3468, - "loc": { - "start": { - "line": 120, - "column": 51 - }, - "end": { - "line": 120, - "column": 69 - } - }, - "object": { - "type": "Identifier", - "start": 3450, - "end": 3455, - "loc": { - "start": { - "line": 120, - "column": 51 - }, - "end": { - "line": 120, - "column": 56 - }, - "identifierName": "Frame" - }, - "name": "Frame" - }, - "property": { - "type": "Identifier", - "start": 3456, - "end": 3468, - "loc": { - "start": { - "line": 120, - "column": 57 - }, - "end": { - "line": 120, - "column": 69 - }, - "identifierName": "defaultDelay" - }, - "name": "defaultDelay" - }, - "computed": false - } - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": " We do not have to store the delay if it is the default value of 100. This will save data.", - "start": 3305, - "end": 3397, - "loc": { - "start": { - "line": 119, - "column": 8 - }, - "end": { - "line": 119, - "column": 100 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 3479, - "end": 3585, - "loc": { - "start": { - "line": 121, - "column": 8 - }, - "end": { - "line": 124, - "column": 9 - } - }, - "test": { - "type": "UnaryExpression", - "start": 3483, - "end": 3498, - "loc": { - "start": { - "line": 121, - "column": 12 - }, - "end": { - "line": 121, - "column": 27 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 3484, - "end": 3498, - "loc": { - "start": { - "line": 121, - "column": 13 - }, - "end": { - "line": 121, - "column": 27 - }, - "identifierName": "delayIsDefault" - }, - "name": "delayIsDefault" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "BlockStatement", - "start": 3500, - "end": 3585, - "loc": { - "start": { - "line": 121, - "column": 29 - }, - "end": { - "line": 124, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3543, - "end": 3574, - "loc": { - "start": { - "line": 123, - "column": 12 - }, - "end": { - "line": 123, - "column": 43 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 3543, - "end": 3573, - "loc": { - "start": { - "line": 123, - "column": 12 - }, - "end": { - "line": 123, - "column": 42 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 3543, - "end": 3555, - "loc": { - "start": { - "line": 123, - "column": 12 - }, - "end": { - "line": 123, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 3543, - "end": 3552, - "loc": { - "start": { - "line": 123, - "column": 12 - }, - "end": { - "line": 123, - "column": 21 - }, - "identifierName": "frameData" - }, - "name": "frameData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 3553, - "end": 3554, - "loc": { - "start": { - "line": 123, - "column": 22 - }, - "end": { - "line": 123, - "column": 23 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 3558, - "end": 3573, - "loc": { - "start": { - "line": 123, - "column": 27 - }, - "end": { - "line": 123, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3558, - "end": 3571, - "loc": { - "start": { - "line": 123, - "column": 27 - }, - "end": { - "line": 123, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 3558, - "end": 3562, - "loc": { - "start": { - "line": 123, - "column": 27 - }, - "end": { - "line": 123, - "column": 31 - } - } - }, - "property": { - "type": "Identifier", - "start": 3563, - "end": 3571, - "loc": { - "start": { - "line": 123, - "column": 32 - }, - "end": { - "line": 123, - "column": 40 - }, - "identifierName": "getDelay" - }, - "name": "getDelay" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " frame delay", - "start": 3515, - "end": 3529, - "loc": { - "start": { - "line": 122, - "column": 12 - }, - "end": { - "line": 122, - "column": 26 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 3595, - "end": 3612, - "loc": { - "start": { - "line": 125, - "column": 8 - }, - "end": { - "line": 125, - "column": 25 - } - }, - "argument": { - "type": "Identifier", - "start": 3602, - "end": 3611, - "loc": { - "start": { - "line": 125, - "column": 15 - }, - "end": { - "line": 125, - "column": 24 - }, - "identifierName": "frameData" - }, - "name": "frameData" - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n ", - "start": 3002, - "end": 3179, - "loc": { - "start": { - "line": 110, - "column": 4 - }, - "end": { - "line": 114, - "column": 7 - } - } - } - ] - } - ] - }, - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", - "start": 62, - "end": 147, - "loc": { - "start": { - "line": 4, - "column": 4 - }, - "end": { - "line": 8, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", - "start": 171, - "end": 273, - "loc": { - "start": { - "line": 10, - "column": 4 - }, - "end": { - "line": 14, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The index of this frame. This indicates the order of the frame. 0 - Infinity.\r\n * @private\r\n * @type {number}\r\n ", - "start": 293, - "end": 431, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 20, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n ", - "start": 453, - "end": 543, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 26, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The default delay in ms of frames.\r\n * @private\r\n * @type {number}\r\n ", - "start": 562, - "end": 657, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 32, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The vyi this frame belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", - "start": 663, - "end": 760, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 38, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Create this frame class instance.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n ", - "start": 808, - "end": 1034, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 46, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", - "start": 1197, - "end": 1377, - "loc": { - "start": { - "line": 52, - "column": 4 - }, - "end": { - "line": 56, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " Loop through frame data and build frame.", - "start": 1412, - "end": 1455, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 51 - } - } - }, - { - "type": "CommentLine", - "value": " Set the data url", - "start": 1589, - "end": 1608, - "loc": { - "start": { - "line": 61, - "column": 8 - }, - "end": { - "line": 61, - "column": 27 - } - } - }, - { - "type": "CommentLine", - "value": " Set the frame delay", - "start": 1653, - "end": 1675, - "loc": { - "start": { - "line": 63, - "column": 8 - }, - "end": { - "line": 63, - "column": 30 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n ", - "start": 1724, - "end": 1896, - "loc": { - "start": { - "line": 66, - "column": 4 - }, - "end": { - "line": 70, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n ", - "start": 2191, - "end": 2292, - "loc": { - "start": { - "line": 81, - "column": 4 - }, - "end": { - "line": 84, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n ", - "start": 2351, - "end": 2516, - "loc": { - "start": { - "line": 88, - "column": 4 - }, - "end": { - "line": 92, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 2826, - "end": 2939, - "loc": { - "start": { - "line": 103, - "column": 4 - }, - "end": { - "line": 106, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n ", - "start": 3002, - "end": 3179, - "loc": { - "start": { - "line": 110, - "column": 4 - }, - "end": { - "line": 114, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " frame dataURL", - "start": 3236, - "end": 3252, - "loc": { - "start": { - "line": 117, - "column": 8 - }, - "end": { - "line": 117, - "column": 24 - } - } - }, - { - "type": "CommentLine", - "value": " We do not have to store the delay if it is the default value of 100. This will save data.", - "start": 3305, - "end": 3397, - "loc": { - "start": { - "line": 119, - "column": 8 - }, - "end": { - "line": 119, - "column": 100 - } - } - }, - { - "type": "CommentLine", - "value": " frame delay", - "start": 3515, - "end": 3529, - "loc": { - "start": { - "line": 122, - "column": 12 - }, - "end": { - "line": 122, - "column": 26 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 9, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 12 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 15, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./vyi.mjs", - "start": 20, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 31, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 31 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 36, - "end": 42, - "loc": { - "start": { - "line": 3, - "column": 0 - }, - "end": { - "line": 3, - "column": 6 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 43, - "end": 48, - "loc": { - "start": { - "line": 3, - "column": 7 - }, - "end": { - "line": 3, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Frame", - "start": 49, - "end": 54, - "loc": { - "start": { - "line": 3, - "column": 13 - }, - "end": { - "line": 3, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 55, - "end": 56, - "loc": { - "start": { - "line": 3, - "column": 19 - }, - "end": { - "line": 3, - "column": 20 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", - "start": 62, - "end": 147, - "loc": { - "start": { - "line": 4, - "column": 4 - }, - "end": { - "line": 8, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "delay", - "start": 153, - "end": 158, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 9, - "column": 9 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 159, - "end": 160, - "loc": { - "start": { - "line": 9, - "column": 10 - }, - "end": { - "line": 9, - "column": 11 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 100, - "start": 161, - "end": 164, - "loc": { - "start": { - "line": 9, - "column": 12 - }, - "end": { - "line": 9, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 164, - "end": 165, - "loc": { - "start": { - "line": 9, - "column": 15 - }, - "end": { - "line": 9, - "column": 16 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", - "start": 171, - "end": 273, - "loc": { - "start": { - "line": 10, - "column": 4 - }, - "end": { - "line": 14, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "dataURL", - "start": 279, - "end": 286, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 15, - "column": 11 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 286, - "end": 287, - "loc": { - "start": { - "line": 15, - "column": 11 - }, - "end": { - "line": 15, - "column": 12 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The index of this frame. This indicates the order of the frame. 0 - Infinity.\r\n * @private\r\n * @type {number}\r\n ", - "start": 293, - "end": 431, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 20, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 437, - "end": 442, - "loc": { - "start": { - "line": 21, - "column": 4 - }, - "end": { - "line": 21, - "column": 9 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 443, - "end": 444, - "loc": { - "start": { - "line": 21, - "column": 10 - }, - "end": { - "line": 21, - "column": 11 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 445, - "end": 446, - "loc": { - "start": { - "line": 21, - "column": 12 - }, - "end": { - "line": 21, - "column": 13 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 446, - "end": 447, - "loc": { - "start": { - "line": 21, - "column": 13 - }, - "end": { - "line": 21, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The icon that owns this frame. \r\n * @private\r\n * @type {Icon}\r\n ", - "start": 453, - "end": 543, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 26, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parent", - "start": 549, - "end": 555, - "loc": { - "start": { - "line": 27, - "column": 4 - }, - "end": { - "line": 27, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 555, - "end": 556, - "loc": { - "start": { - "line": 27, - "column": 10 - }, - "end": { - "line": 27, - "column": 11 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The default delay in ms of frames.\r\n * @private\r\n * @type {number}\r\n ", - "start": 562, - "end": 657, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 32, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The vyi this frame belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", - "start": 663, - "end": 760, - "loc": { - "start": { - "line": 33, - "column": 4 - }, - "end": { - "line": 38, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 766, - "end": 769, - "loc": { - "start": { - "line": 39, - "column": 4 - }, - "end": { - "line": 39, - "column": 7 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 769, - "end": 770, - "loc": { - "start": { - "line": 39, - "column": 7 - }, - "end": { - "line": 39, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "static", - "start": 776, - "end": 782, - "loc": { - "start": { - "line": 40, - "column": 4 - }, - "end": { - "line": 40, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "defaultDelay", - "start": 783, - "end": 795, - "loc": { - "start": { - "line": 40, - "column": 11 - }, - "end": { - "line": 40, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 796, - "end": 797, - "loc": { - "start": { - "line": 40, - "column": 24 - }, - "end": { - "line": 40, - "column": 25 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 100, - "start": 798, - "end": 801, - "loc": { - "start": { - "line": 40, - "column": 26 - }, - "end": { - "line": 40, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 801, - "end": 802, - "loc": { - "start": { - "line": 40, - "column": 29 - }, - "end": { - "line": 40, - "column": 30 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Create this frame class instance.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @param {Icon} pParentIcon - The icon that created this frame.\r\n * @private\r\n ", - "start": 808, - "end": 1034, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 46, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 1040, - "end": 1051, - "loc": { - "start": { - "line": 47, - "column": 4 - }, - "end": { - "line": 47, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1051, - "end": 1052, - "loc": { - "start": { - "line": 47, - "column": 15 - }, - "end": { - "line": 47, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrameData", - "start": 1052, - "end": 1062, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 26 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1062, - "end": 1063, - "loc": { - "start": { - "line": 47, - "column": 26 - }, - "end": { - "line": 47, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pParentIcon", - "start": 1064, - "end": 1075, - "loc": { - "start": { - "line": 47, - "column": 28 - }, - "end": { - "line": 47, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1075, - "end": 1076, - "loc": { - "start": { - "line": 47, - "column": 39 - }, - "end": { - "line": 47, - "column": 40 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1077, - "end": 1078, - "loc": { - "start": { - "line": 47, - "column": 41 - }, - "end": { - "line": 47, - "column": 42 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1088, - "end": 1092, - "loc": { - "start": { - "line": 48, - "column": 8 - }, - "end": { - "line": 48, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1092, - "end": 1093, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 1093, - "end": 1096, - "loc": { - "start": { - "line": 48, - "column": 13 - }, - "end": { - "line": 48, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1097, - "end": 1098, - "loc": { - "start": { - "line": 48, - "column": 17 - }, - "end": { - "line": 48, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pParentIcon", - "start": 1099, - "end": 1110, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 48, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1110, - "end": 1111, - "loc": { - "start": { - "line": 48, - "column": 30 - }, - "end": { - "line": 48, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 1111, - "end": 1114, - "loc": { - "start": { - "line": 48, - "column": 31 - }, - "end": { - "line": 48, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1114, - "end": 1115, - "loc": { - "start": { - "line": 48, - "column": 34 - }, - "end": { - "line": 48, - "column": 35 - } - } - }, - { - "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": 1125, - "end": 1129, - "loc": { - "start": { - "line": 49, - "column": 8 - }, - "end": { - "line": 49, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1129, - "end": 1130, - "loc": { - "start": { - "line": 49, - "column": 12 - }, - "end": { - "line": 49, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parent", - "start": 1130, - "end": 1136, - "loc": { - "start": { - "line": 49, - "column": 13 - }, - "end": { - "line": 49, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1137, - "end": 1138, - "loc": { - "start": { - "line": 49, - "column": 20 - }, - "end": { - "line": 49, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pParentIcon", - "start": 1139, - "end": 1150, - "loc": { - "start": { - "line": 49, - "column": 22 - }, - "end": { - "line": 49, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1150, - "end": 1151, - "loc": { - "start": { - "line": 49, - "column": 33 - }, - "end": { - "line": 49, - "column": 34 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1161, - "end": 1165, - "loc": { - "start": { - "line": 50, - "column": 8 - }, - "end": { - "line": 50, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1165, - "end": 1166, - "loc": { - "start": { - "line": 50, - "column": 12 - }, - "end": { - "line": 50, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parse", - "start": 1166, - "end": 1171, - "loc": { - "start": { - "line": 50, - "column": 13 - }, - "end": { - "line": 50, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1171, - "end": 1172, - "loc": { - "start": { - "line": 50, - "column": 18 - }, - "end": { - "line": 50, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrameData", - "start": 1172, - "end": 1182, - "loc": { - "start": { - "line": 50, - "column": 19 - }, - "end": { - "line": 50, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1182, - "end": 1183, - "loc": { - "start": { - "line": 50, - "column": 29 - }, - "end": { - "line": 50, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1183, - "end": 1184, - "loc": { - "start": { - "line": 50, - "column": 30 - }, - "end": { - "line": 50, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1190, - "end": 1191, - "loc": { - "start": { - "line": 51, - "column": 4 - }, - "end": { - "line": 51, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this frame.\r\n * @param {Array} pFrameData - The frame data that is used to build this frame.\r\n * @private\r\n ", - "start": 1197, - "end": 1377, - "loc": { - "start": { - "line": 52, - "column": 4 - }, - "end": { - "line": 56, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parse", - "start": 1383, - "end": 1388, - "loc": { - "start": { - "line": 57, - "column": 4 - }, - "end": { - "line": 57, - "column": 9 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1388, - "end": 1389, - "loc": { - "start": { - "line": 57, - "column": 9 - }, - "end": { - "line": 57, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrameData", - "start": 1389, - "end": 1399, - "loc": { - "start": { - "line": 57, - "column": 10 - }, - "end": { - "line": 57, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1399, - "end": 1400, - "loc": { - "start": { - "line": 57, - "column": 20 - }, - "end": { - "line": 57, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1401, - "end": 1402, - "loc": { - "start": { - "line": 57, - "column": 22 - }, - "end": { - "line": 57, - "column": 23 - } - } - }, - { - "type": "CommentLine", - "value": " Loop through frame data and build frame.", - "start": 1412, - "end": 1455, - "loc": { - "start": { - "line": 58, - "column": 8 - }, - "end": { - "line": 58, - "column": 51 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1465, - "end": 1470, - "loc": { - "start": { - "line": 59, - "column": 8 - }, - "end": { - "line": 59, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "dataURL", - "start": 1471, - "end": 1478, - "loc": { - "start": { - "line": 59, - "column": 14 - }, - "end": { - "line": 59, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1479, - "end": 1480, - "loc": { - "start": { - "line": 59, - "column": 22 - }, - "end": { - "line": 59, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrameData", - "start": 1481, - "end": 1491, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 34 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1491, - "end": 1492, - "loc": { - "start": { - "line": 59, - "column": 34 - }, - "end": { - "line": 59, - "column": 35 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 1492, - "end": 1493, - "loc": { - "start": { - "line": 59, - "column": 35 - }, - "end": { - "line": 59, - "column": 36 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1493, - "end": 1494, - "loc": { - "start": { - "line": 59, - "column": 36 - }, - "end": { - "line": 59, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1494, - "end": 1495, - "loc": { - "start": { - "line": 59, - "column": 37 - }, - "end": { - "line": 59, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1505, - "end": 1510, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 60, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameDelay", - "start": 1511, - "end": 1521, - "loc": { - "start": { - "line": 60, - "column": 14 - }, - "end": { - "line": 60, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1522, - "end": 1523, - "loc": { - "start": { - "line": 60, - "column": 25 - }, - "end": { - "line": 60, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrameData", - "start": 1524, - "end": 1534, - "loc": { - "start": { - "line": 60, - "column": 27 - }, - "end": { - "line": 60, - "column": 37 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1534, - "end": 1535, - "loc": { - "start": { - "line": 60, - "column": 37 - }, - "end": { - "line": 60, - "column": 38 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1535, - "end": 1536, - "loc": { - "start": { - "line": 60, - "column": 38 - }, - "end": { - "line": 60, - "column": 39 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1536, - "end": 1537, - "loc": { - "start": { - "line": 60, - "column": 39 - }, - "end": { - "line": 60, - "column": 40 - } - } - }, - { - "type": { - "label": "?", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1538, - "end": 1539, - "loc": { - "start": { - "line": 60, - "column": 41 - }, - "end": { - "line": 60, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrameData", - "start": 1540, - "end": 1550, - "loc": { - "start": { - "line": 60, - "column": 43 - }, - "end": { - "line": 60, - "column": 53 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1550, - "end": 1551, - "loc": { - "start": { - "line": 60, - "column": 53 - }, - "end": { - "line": 60, - "column": 54 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 1551, - "end": 1552, - "loc": { - "start": { - "line": 60, - "column": 54 - }, - "end": { - "line": 60, - "column": 55 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1552, - "end": 1553, - "loc": { - "start": { - "line": 60, - "column": 55 - }, - "end": { - "line": 60, - "column": 56 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1554, - "end": 1555, - "loc": { - "start": { - "line": 60, - "column": 57 - }, - "end": { - "line": 60, - "column": 58 - } - } - }, - { - "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": 1556, - "end": 1560, - "loc": { - "start": { - "line": 60, - "column": 59 - }, - "end": { - "line": 60, - "column": 63 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1560, - "end": 1561, - "loc": { - "start": { - "line": 60, - "column": 63 - }, - "end": { - "line": 60, - "column": 64 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parent", - "start": 1561, - "end": 1567, - "loc": { - "start": { - "line": 60, - "column": 64 - }, - "end": { - "line": 60, - "column": 70 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1567, - "end": 1568, - "loc": { - "start": { - "line": 60, - "column": 70 - }, - "end": { - "line": 60, - "column": 71 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDelay", - "start": 1568, - "end": 1576, - "loc": { - "start": { - "line": 60, - "column": 71 - }, - "end": { - "line": 60, - "column": 79 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1576, - "end": 1577, - "loc": { - "start": { - "line": 60, - "column": 79 - }, - "end": { - "line": 60, - "column": 80 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1577, - "end": 1578, - "loc": { - "start": { - "line": 60, - "column": 80 - }, - "end": { - "line": 60, - "column": 81 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1578, - "end": 1579, - "loc": { - "start": { - "line": 60, - "column": 81 - }, - "end": { - "line": 60, - "column": 82 - } - } - }, - { - "type": "CommentLine", - "value": " Set the data url", - "start": 1589, - "end": 1608, - "loc": { - "start": { - "line": 61, - "column": 8 - }, - "end": { - "line": 61, - "column": 27 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1618, - "end": 1622, - "loc": { - "start": { - "line": 62, - "column": 8 - }, - "end": { - "line": 62, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1622, - "end": 1623, - "loc": { - "start": { - "line": 62, - "column": 12 - }, - "end": { - "line": 62, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDataURL", - "start": 1623, - "end": 1633, - "loc": { - "start": { - "line": 62, - "column": 13 - }, - "end": { - "line": 62, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1633, - "end": 1634, - "loc": { - "start": { - "line": 62, - "column": 23 - }, - "end": { - "line": 62, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "dataURL", - "start": 1634, - "end": 1641, - "loc": { - "start": { - "line": 62, - "column": 24 - }, - "end": { - "line": 62, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1641, - "end": 1642, - "loc": { - "start": { - "line": 62, - "column": 31 - }, - "end": { - "line": 62, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1642, - "end": 1643, - "loc": { - "start": { - "line": 62, - "column": 32 - }, - "end": { - "line": 62, - "column": 33 - } - } - }, - { - "type": "CommentLine", - "value": " Set the frame delay", - "start": 1653, - "end": 1675, - "loc": { - "start": { - "line": 63, - "column": 8 - }, - "end": { - "line": 63, - "column": 30 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 1685, - "end": 1689, - "loc": { - "start": { - "line": 64, - "column": 8 - }, - "end": { - "line": 64, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1689, - "end": 1690, - "loc": { - "start": { - "line": 64, - "column": 12 - }, - "end": { - "line": 64, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDelay", - "start": 1690, - "end": 1698, - "loc": { - "start": { - "line": 64, - "column": 13 - }, - "end": { - "line": 64, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1698, - "end": 1699, - "loc": { - "start": { - "line": 64, - "column": 21 - }, - "end": { - "line": 64, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameDelay", - "start": 1699, - "end": 1709, - "loc": { - "start": { - "line": 64, - "column": 22 - }, - "end": { - "line": 64, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1709, - "end": 1710, - "loc": { - "start": { - "line": 64, - "column": 32 - }, - "end": { - "line": 64, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1710, - "end": 1711, - "loc": { - "start": { - "line": 64, - "column": 33 - }, - "end": { - "line": 64, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1717, - "end": 1718, - "loc": { - "start": { - "line": 65, - "column": 4 - }, - "end": { - "line": 65, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Sets the delay of this frame in ms.\r\n * @param {number} pDelay - The delay in ms to set this frame to.\r\n * @returns {self} This frame instance.\r\n ", - "start": 1724, - "end": 1896, - "loc": { - "start": { - "line": 66, - "column": 4 - }, - "end": { - "line": 70, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDelay", - "start": 1902, - "end": 1910, - "loc": { - "start": { - "line": 71, - "column": 4 - }, - "end": { - "line": 71, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1910, - "end": 1911, - "loc": { - "start": { - "line": 71, - "column": 12 - }, - "end": { - "line": 71, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 1911, - "end": 1917, - "loc": { - "start": { - "line": 71, - "column": 13 - }, - "end": { - "line": 71, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1917, - "end": 1918, - "loc": { - "start": { - "line": 71, - "column": 19 - }, - "end": { - "line": 71, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1919, - "end": 1920, - "loc": { - "start": { - "line": 71, - "column": 21 - }, - "end": { - "line": 71, - "column": 22 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 1930, - "end": 1932, - "loc": { - "start": { - "line": 72, - "column": 8 - }, - "end": { - "line": 72, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1933, - "end": 1934, - "loc": { - "start": { - "line": 72, - "column": 11 - }, - "end": { - "line": 72, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 1934, - "end": 1940, - "loc": { - "start": { - "line": 72, - "column": 12 - }, - "end": { - "line": 72, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1940, - "end": 1941, - "loc": { - "start": { - "line": 72, - "column": 18 - }, - "end": { - "line": 72, - "column": 19 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1942, - "end": 1943, - "loc": { - "start": { - "line": 72, - "column": 20 - }, - "end": { - "line": 72, - "column": 21 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 1957, - "end": 1959, - "loc": { - "start": { - "line": 73, - "column": 12 - }, - "end": { - "line": 73, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1960, - "end": 1961, - "loc": { - "start": { - "line": 73, - "column": 15 - }, - "end": { - "line": 73, - "column": 16 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 1961, - "end": 1967, - "loc": { - "start": { - "line": 73, - "column": 16 - }, - "end": { - "line": 73, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1967, - "end": 1968, - "loc": { - "start": { - "line": 73, - "column": 22 - }, - "end": { - "line": 73, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 1968, - "end": 1974, - "loc": { - "start": { - "line": 73, - "column": 23 - }, - "end": { - "line": 73, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1974, - "end": 1975, - "loc": { - "start": { - "line": 73, - "column": 29 - }, - "end": { - "line": 73, - "column": 30 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 1976, - "end": 1979, - "loc": { - "start": { - "line": 73, - "column": 31 - }, - "end": { - "line": 73, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "number", - "start": 1980, - "end": 1988, - "loc": { - "start": { - "line": 73, - "column": 35 - }, - "end": { - "line": 73, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1988, - "end": 1989, - "loc": { - "start": { - "line": 73, - "column": 43 - }, - "end": { - "line": 73, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1990, - "end": 1991, - "loc": { - "start": { - "line": 73, - "column": 45 - }, - "end": { - "line": 73, - "column": 46 - } - } - }, - { - "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": 2009, - "end": 2013, - "loc": { - "start": { - "line": 74, - "column": 16 - }, - "end": { - "line": 74, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2013, - "end": 2014, - "loc": { - "start": { - "line": 74, - "column": 20 - }, - "end": { - "line": 74, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "delay", - "start": 2014, - "end": 2019, - "loc": { - "start": { - "line": 74, - "column": 21 - }, - "end": { - "line": 74, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2020, - "end": 2021, - "loc": { - "start": { - "line": 74, - "column": 27 - }, - "end": { - "line": 74, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 2022, - "end": 2028, - "loc": { - "start": { - "line": 74, - "column": 29 - }, - "end": { - "line": 74, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2028, - "end": 2029, - "loc": { - "start": { - "line": 74, - "column": 35 - }, - "end": { - "line": 74, - "column": 36 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2043, - "end": 2044, - "loc": { - "start": { - "line": 75, - "column": 12 - }, - "end": { - "line": 75, - "column": 13 - } - } - }, - { - "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": 2045, - "end": 2049, - "loc": { - "start": { - "line": 75, - "column": 14 - }, - "end": { - "line": 75, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2050, - "end": 2051, - "loc": { - "start": { - "line": 75, - "column": 19 - }, - "end": { - "line": 75, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 2069, - "end": 2072, - "loc": { - "start": { - "line": 76, - "column": 16 - }, - "end": { - "line": 76, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2072, - "end": 2073, - "loc": { - "start": { - "line": 76, - "column": 19 - }, - "end": { - "line": 76, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 2073, - "end": 2079, - "loc": { - "start": { - "line": 76, - "column": 20 - }, - "end": { - "line": 76, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2079, - "end": 2080, - "loc": { - "start": { - "line": 76, - "column": 26 - }, - "end": { - "line": 76, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 2080, - "end": 2086, - "loc": { - "start": { - "line": 76, - "column": 27 - }, - "end": { - "line": 76, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2086, - "end": 2087, - "loc": { - "start": { - "line": 76, - "column": 33 - }, - "end": { - "line": 76, - "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": 2087, - "end": 2099, - "loc": { - "start": { - "line": 76, - "column": 34 - }, - "end": { - "line": 76, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2099, - "end": 2100, - "loc": { - "start": { - "line": 76, - "column": 46 - }, - "end": { - "line": 76, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2100, - "end": 2101, - "loc": { - "start": { - "line": 76, - "column": 47 - }, - "end": { - "line": 76, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 2101, - "end": 2106, - "loc": { - "start": { - "line": 76, - "column": 48 - }, - "end": { - "line": 76, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2106, - "end": 2107, - "loc": { - "start": { - "line": 76, - "column": 53 - }, - "end": { - "line": 76, - "column": 54 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid delay type!", - "start": 2107, - "end": 2128, - "loc": { - "start": { - "line": 76, - "column": 54 - }, - "end": { - "line": 76, - "column": 75 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2128, - "end": 2129, - "loc": { - "start": { - "line": 76, - "column": 75 - }, - "end": { - "line": 76, - "column": 76 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2129, - "end": 2130, - "loc": { - "start": { - "line": 76, - "column": 76 - }, - "end": { - "line": 76, - "column": 77 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2144, - "end": 2145, - "loc": { - "start": { - "line": 77, - "column": 12 - }, - "end": { - "line": 77, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2155, - "end": 2156, - "loc": { - "start": { - "line": 78, - "column": 8 - }, - "end": { - "line": 78, - "column": 9 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 2166, - "end": 2172, - "loc": { - "start": { - "line": 79, - "column": 8 - }, - "end": { - "line": 79, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 2173, - "end": 2177, - "loc": { - "start": { - "line": 79, - "column": 15 - }, - "end": { - "line": 79, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2177, - "end": 2178, - "loc": { - "start": { - "line": 79, - "column": 19 - }, - "end": { - "line": 79, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2184, - "end": 2185, - "loc": { - "start": { - "line": 80, - "column": 4 - }, - "end": { - "line": 80, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the delay of this frame.\r\n * @returns {number} The delay of this frame.\r\n ", - "start": 2191, - "end": 2292, - "loc": { - "start": { - "line": 81, - "column": 4 - }, - "end": { - "line": 84, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDelay", - "start": 2298, - "end": 2306, - "loc": { - "start": { - "line": 85, - "column": 4 - }, - "end": { - "line": 85, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2306, - "end": 2307, - "loc": { - "start": { - "line": 85, - "column": 12 - }, - "end": { - "line": 85, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2307, - "end": 2308, - "loc": { - "start": { - "line": 85, - "column": 13 - }, - "end": { - "line": 85, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2309, - "end": 2310, - "loc": { - "start": { - "line": 85, - "column": 15 - }, - "end": { - "line": 85, - "column": 16 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 2320, - "end": 2326, - "loc": { - "start": { - "line": 86, - "column": 8 - }, - "end": { - "line": 86, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 2327, - "end": 2331, - "loc": { - "start": { - "line": 86, - "column": 15 - }, - "end": { - "line": 86, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2331, - "end": 2332, - "loc": { - "start": { - "line": 86, - "column": 19 - }, - "end": { - "line": 86, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "delay", - "start": 2332, - "end": 2337, - "loc": { - "start": { - "line": 86, - "column": 20 - }, - "end": { - "line": 86, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2337, - "end": 2338, - "loc": { - "start": { - "line": 86, - "column": 25 - }, - "end": { - "line": 86, - "column": 26 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2344, - "end": 2345, - "loc": { - "start": { - "line": 87, - "column": 4 - }, - "end": { - "line": 87, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Sets the data url of this frame.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This frame instance.\r\n ", - "start": 2351, - "end": 2516, - "loc": { - "start": { - "line": 88, - "column": 4 - }, - "end": { - "line": 92, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDataURL", - "start": 2522, - "end": 2532, - "loc": { - "start": { - "line": 93, - "column": 4 - }, - "end": { - "line": 93, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2532, - "end": 2533, - "loc": { - "start": { - "line": 93, - "column": 14 - }, - "end": { - "line": 93, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDataURL", - "start": 2533, - "end": 2541, - "loc": { - "start": { - "line": 93, - "column": 15 - }, - "end": { - "line": 93, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2541, - "end": 2542, - "loc": { - "start": { - "line": 93, - "column": 23 - }, - "end": { - "line": 93, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2543, - "end": 2544, - "loc": { - "start": { - "line": 93, - "column": 25 - }, - "end": { - "line": 93, - "column": 26 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 2554, - "end": 2556, - "loc": { - "start": { - "line": 94, - "column": 8 - }, - "end": { - "line": 94, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2557, - "end": 2558, - "loc": { - "start": { - "line": 94, - "column": 11 - }, - "end": { - "line": 94, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDataURL", - "start": 2558, - "end": 2566, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2566, - "end": 2567, - "loc": { - "start": { - "line": 94, - "column": 20 - }, - "end": { - "line": 94, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2568, - "end": 2569, - "loc": { - "start": { - "line": 94, - "column": 22 - }, - "end": { - "line": 94, - "column": 23 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 2583, - "end": 2585, - "loc": { - "start": { - "line": 95, - "column": 12 - }, - "end": { - "line": 95, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2586, - "end": 2587, - "loc": { - "start": { - "line": 95, - "column": 15 - }, - "end": { - "line": 95, - "column": 16 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 2587, - "end": 2593, - "loc": { - "start": { - "line": 95, - "column": 16 - }, - "end": { - "line": 95, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2593, - "end": 2594, - "loc": { - "start": { - "line": 95, - "column": 22 - }, - "end": { - "line": 95, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDataURL", - "start": 2594, - "end": 2602, - "loc": { - "start": { - "line": 95, - "column": 23 - }, - "end": { - "line": 95, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2602, - "end": 2603, - "loc": { - "start": { - "line": 95, - "column": 31 - }, - "end": { - "line": 95, - "column": 32 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 2604, - "end": 2607, - "loc": { - "start": { - "line": 95, - "column": 33 - }, - "end": { - "line": 95, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "string", - "start": 2608, - "end": 2616, - "loc": { - "start": { - "line": 95, - "column": 37 - }, - "end": { - "line": 95, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2616, - "end": 2617, - "loc": { - "start": { - "line": 95, - "column": 45 - }, - "end": { - "line": 95, - "column": 46 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2618, - "end": 2619, - "loc": { - "start": { - "line": 95, - "column": 47 - }, - "end": { - "line": 95, - "column": 48 - } - } - }, - { - "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": 2637, - "end": 2641, - "loc": { - "start": { - "line": 96, - "column": 16 - }, - "end": { - "line": 96, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2641, - "end": 2642, - "loc": { - "start": { - "line": 96, - "column": 20 - }, - "end": { - "line": 96, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "dataURL", - "start": 2642, - "end": 2649, - "loc": { - "start": { - "line": 96, - "column": 21 - }, - "end": { - "line": 96, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2650, - "end": 2651, - "loc": { - "start": { - "line": 96, - "column": 29 - }, - "end": { - "line": 96, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDataURL", - "start": 2652, - "end": 2660, - "loc": { - "start": { - "line": 96, - "column": 31 - }, - "end": { - "line": 96, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2660, - "end": 2661, - "loc": { - "start": { - "line": 96, - "column": 39 - }, - "end": { - "line": 96, - "column": 40 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2675, - "end": 2676, - "loc": { - "start": { - "line": 97, - "column": 12 - }, - "end": { - "line": 97, - "column": 13 - } - } - }, - { - "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": 2677, - "end": 2681, - "loc": { - "start": { - "line": 97, - "column": 14 - }, - "end": { - "line": 97, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2682, - "end": 2683, - "loc": { - "start": { - "line": 97, - "column": 19 - }, - "end": { - "line": 97, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 2701, - "end": 2704, - "loc": { - "start": { - "line": 98, - "column": 16 - }, - "end": { - "line": 98, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2704, - "end": 2705, - "loc": { - "start": { - "line": 98, - "column": 19 - }, - "end": { - "line": 98, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 2705, - "end": 2711, - "loc": { - "start": { - "line": 98, - "column": 20 - }, - "end": { - "line": 98, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2711, - "end": 2712, - "loc": { - "start": { - "line": 98, - "column": 26 - }, - "end": { - "line": 98, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 2712, - "end": 2718, - "loc": { - "start": { - "line": 98, - "column": 27 - }, - "end": { - "line": 98, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2718, - "end": 2719, - "loc": { - "start": { - "line": 98, - "column": 33 - }, - "end": { - "line": 98, - "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": 2719, - "end": 2731, - "loc": { - "start": { - "line": 98, - "column": 34 - }, - "end": { - "line": 98, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2731, - "end": 2732, - "loc": { - "start": { - "line": 98, - "column": 46 - }, - "end": { - "line": 98, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2732, - "end": 2733, - "loc": { - "start": { - "line": 98, - "column": 47 - }, - "end": { - "line": 98, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 2733, - "end": 2738, - "loc": { - "start": { - "line": 98, - "column": 48 - }, - "end": { - "line": 98, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2738, - "end": 2739, - "loc": { - "start": { - "line": 98, - "column": 53 - }, - "end": { - "line": 98, - "column": 54 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid data url type!", - "start": 2739, - "end": 2763, - "loc": { - "start": { - "line": 98, - "column": 54 - }, - "end": { - "line": 98, - "column": 78 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2763, - "end": 2764, - "loc": { - "start": { - "line": 98, - "column": 78 - }, - "end": { - "line": 98, - "column": 79 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2764, - "end": 2765, - "loc": { - "start": { - "line": 98, - "column": 79 - }, - "end": { - "line": 98, - "column": 80 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2779, - "end": 2780, - "loc": { - "start": { - "line": 99, - "column": 12 - }, - "end": { - "line": 99, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2790, - "end": 2791, - "loc": { - "start": { - "line": 100, - "column": 8 - }, - "end": { - "line": 100, - "column": 9 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 2801, - "end": 2807, - "loc": { - "start": { - "line": 101, - "column": 8 - }, - "end": { - "line": 101, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 2808, - "end": 2812, - "loc": { - "start": { - "line": 101, - "column": 15 - }, - "end": { - "line": 101, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2812, - "end": 2813, - "loc": { - "start": { - "line": 101, - "column": 19 - }, - "end": { - "line": 101, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2819, - "end": 2820, - "loc": { - "start": { - "line": 102, - "column": 4 - }, - "end": { - "line": 102, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the data URL of this frame.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 2826, - "end": 2939, - "loc": { - "start": { - "line": 103, - "column": 4 - }, - "end": { - "line": 106, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDataURL", - "start": 2945, - "end": 2955, - "loc": { - "start": { - "line": 107, - "column": 4 - }, - "end": { - "line": 107, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2955, - "end": 2956, - "loc": { - "start": { - "line": 107, - "column": 14 - }, - "end": { - "line": 107, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2956, - "end": 2957, - "loc": { - "start": { - "line": 107, - "column": 15 - }, - "end": { - "line": 107, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2958, - "end": 2959, - "loc": { - "start": { - "line": 107, - "column": 17 - }, - "end": { - "line": 107, - "column": 18 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 2969, - "end": 2975, - "loc": { - "start": { - "line": 108, - "column": 8 - }, - "end": { - "line": 108, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 2976, - "end": 2980, - "loc": { - "start": { - "line": 108, - "column": 15 - }, - "end": { - "line": 108, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2980, - "end": 2981, - "loc": { - "start": { - "line": 108, - "column": 19 - }, - "end": { - "line": 108, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "dataURL", - "start": 2981, - "end": 2988, - "loc": { - "start": { - "line": 108, - "column": 20 - }, - "end": { - "line": 108, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2988, - "end": 2989, - "loc": { - "start": { - "line": 108, - "column": 27 - }, - "end": { - "line": 108, - "column": 28 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2995, - "end": 2996, - "loc": { - "start": { - "line": 109, - "column": 4 - }, - "end": { - "line": 109, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Exports this frame's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this frame in the proper vyi format.\r\n ", - "start": 3002, - "end": 3179, - "loc": { - "start": { - "line": 110, - "column": 4 - }, - "end": { - "line": 114, - "column": 7 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 3185, - "end": 3191, - "loc": { - "start": { - "line": 115, - "column": 4 - }, - "end": { - "line": 115, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3191, - "end": 3192, - "loc": { - "start": { - "line": 115, - "column": 10 - }, - "end": { - "line": 115, - "column": 11 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3192, - "end": 3193, - "loc": { - "start": { - "line": 115, - "column": 11 - }, - "end": { - "line": 115, - "column": 12 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3194, - "end": 3195, - "loc": { - "start": { - "line": 115, - "column": 13 - }, - "end": { - "line": 115, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3205, - "end": 3210, - "loc": { - "start": { - "line": 116, - "column": 8 - }, - "end": { - "line": 116, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameData", - "start": 3211, - "end": 3220, - "loc": { - "start": { - "line": 116, - "column": 14 - }, - "end": { - "line": 116, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3221, - "end": 3222, - "loc": { - "start": { - "line": 116, - "column": 24 - }, - "end": { - "line": 116, - "column": 25 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3223, - "end": 3224, - "loc": { - "start": { - "line": 116, - "column": 26 - }, - "end": { - "line": 116, - "column": 27 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3224, - "end": 3225, - "loc": { - "start": { - "line": 116, - "column": 27 - }, - "end": { - "line": 116, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3225, - "end": 3226, - "loc": { - "start": { - "line": 116, - "column": 28 - }, - "end": { - "line": 116, - "column": 29 - } - } - }, - { - "type": "CommentLine", - "value": " frame dataURL", - "start": 3236, - "end": 3252, - "loc": { - "start": { - "line": 117, - "column": 8 - }, - "end": { - "line": 117, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameData", - "start": 3262, - "end": 3271, - "loc": { - "start": { - "line": 118, - "column": 8 - }, - "end": { - "line": 118, - "column": 17 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3271, - "end": 3272, - "loc": { - "start": { - "line": 118, - "column": 17 - }, - "end": { - "line": 118, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 3272, - "end": 3273, - "loc": { - "start": { - "line": 118, - "column": 18 - }, - "end": { - "line": 118, - "column": 19 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3273, - "end": 3274, - "loc": { - "start": { - "line": 118, - "column": 19 - }, - "end": { - "line": 118, - "column": 20 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3275, - "end": 3276, - "loc": { - "start": { - "line": 118, - "column": 21 - }, - "end": { - "line": 118, - "column": 22 - } - } - }, - { - "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": 3277, - "end": 3281, - "loc": { - "start": { - "line": 118, - "column": 23 - }, - "end": { - "line": 118, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3281, - "end": 3282, - "loc": { - "start": { - "line": 118, - "column": 27 - }, - "end": { - "line": 118, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDataURL", - "start": 3282, - "end": 3292, - "loc": { - "start": { - "line": 118, - "column": 28 - }, - "end": { - "line": 118, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3292, - "end": 3293, - "loc": { - "start": { - "line": 118, - "column": 38 - }, - "end": { - "line": 118, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3293, - "end": 3294, - "loc": { - "start": { - "line": 118, - "column": 39 - }, - "end": { - "line": 118, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3294, - "end": 3295, - "loc": { - "start": { - "line": 118, - "column": 40 - }, - "end": { - "line": 118, - "column": 41 - } - } - }, - { - "type": "CommentLine", - "value": " We do not have to store the delay if it is the default value of 100. This will save data.", - "start": 3305, - "end": 3397, - "loc": { - "start": { - "line": 119, - "column": 8 - }, - "end": { - "line": 119, - "column": 100 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3407, - "end": 3412, - "loc": { - "start": { - "line": 120, - "column": 8 - }, - "end": { - "line": 120, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "delayIsDefault", - "start": 3413, - "end": 3427, - "loc": { - "start": { - "line": 120, - "column": 14 - }, - "end": { - "line": 120, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3428, - "end": 3429, - "loc": { - "start": { - "line": 120, - "column": 29 - }, - "end": { - "line": 120, - "column": 30 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 3430, - "end": 3434, - "loc": { - "start": { - "line": 120, - "column": 31 - }, - "end": { - "line": 120, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3434, - "end": 3435, - "loc": { - "start": { - "line": 120, - "column": 35 - }, - "end": { - "line": 120, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDelay", - "start": 3435, - "end": 3443, - "loc": { - "start": { - "line": 120, - "column": 36 - }, - "end": { - "line": 120, - "column": 44 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3443, - "end": 3444, - "loc": { - "start": { - "line": 120, - "column": 44 - }, - "end": { - "line": 120, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3444, - "end": 3445, - "loc": { - "start": { - "line": 120, - "column": 45 - }, - "end": { - "line": 120, - "column": 46 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 3446, - "end": 3449, - "loc": { - "start": { - "line": 120, - "column": 47 - }, - "end": { - "line": 120, - "column": 50 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Frame", - "start": 3450, - "end": 3455, - "loc": { - "start": { - "line": 120, - "column": 51 - }, - "end": { - "line": 120, - "column": 56 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3455, - "end": 3456, - "loc": { - "start": { - "line": 120, - "column": 56 - }, - "end": { - "line": 120, - "column": 57 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "defaultDelay", - "start": 3456, - "end": 3468, - "loc": { - "start": { - "line": 120, - "column": 57 - }, - "end": { - "line": 120, - "column": 69 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3468, - "end": 3469, - "loc": { - "start": { - "line": 120, - "column": 69 - }, - "end": { - "line": 120, - "column": 70 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 3479, - "end": 3481, - "loc": { - "start": { - "line": 121, - "column": 8 - }, - "end": { - "line": 121, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3482, - "end": 3483, - "loc": { - "start": { - "line": 121, - "column": 11 - }, - "end": { - "line": 121, - "column": 12 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 3483, - "end": 3484, - "loc": { - "start": { - "line": 121, - "column": 12 - }, - "end": { - "line": 121, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "delayIsDefault", - "start": 3484, - "end": 3498, - "loc": { - "start": { - "line": 121, - "column": 13 - }, - "end": { - "line": 121, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3498, - "end": 3499, - "loc": { - "start": { - "line": 121, - "column": 27 - }, - "end": { - "line": 121, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3500, - "end": 3501, - "loc": { - "start": { - "line": 121, - "column": 29 - }, - "end": { - "line": 121, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " frame delay", - "start": 3515, - "end": 3529, - "loc": { - "start": { - "line": 122, - "column": 12 - }, - "end": { - "line": 122, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameData", - "start": 3543, - "end": 3552, - "loc": { - "start": { - "line": 123, - "column": 12 - }, - "end": { - "line": 123, - "column": 21 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3552, - "end": 3553, - "loc": { - "start": { - "line": 123, - "column": 21 - }, - "end": { - "line": 123, - "column": 22 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 3553, - "end": 3554, - "loc": { - "start": { - "line": 123, - "column": 22 - }, - "end": { - "line": 123, - "column": 23 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3554, - "end": 3555, - "loc": { - "start": { - "line": 123, - "column": 23 - }, - "end": { - "line": 123, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3556, - "end": 3557, - "loc": { - "start": { - "line": 123, - "column": 25 - }, - "end": { - "line": 123, - "column": 26 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 3558, - "end": 3562, - "loc": { - "start": { - "line": 123, - "column": 27 - }, - "end": { - "line": 123, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3562, - "end": 3563, - "loc": { - "start": { - "line": 123, - "column": 31 - }, - "end": { - "line": 123, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDelay", - "start": 3563, - "end": 3571, - "loc": { - "start": { - "line": 123, - "column": 32 - }, - "end": { - "line": 123, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3571, - "end": 3572, - "loc": { - "start": { - "line": 123, - "column": 40 - }, - "end": { - "line": 123, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3572, - "end": 3573, - "loc": { - "start": { - "line": 123, - "column": 41 - }, - "end": { - "line": 123, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3573, - "end": 3574, - "loc": { - "start": { - "line": 123, - "column": 42 - }, - "end": { - "line": 123, - "column": 43 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3584, - "end": 3585, - "loc": { - "start": { - "line": 124, - "column": 8 - }, - "end": { - "line": 124, - "column": 9 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 3595, - "end": 3601, - "loc": { - "start": { - "line": 125, - "column": 8 - }, - "end": { - "line": 125, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameData", - "start": 3602, - "end": 3611, - "loc": { - "start": { - "line": 125, - "column": 15 - }, - "end": { - "line": 125, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3611, - "end": 3612, - "loc": { - "start": { - "line": 125, - "column": 24 - }, - "end": { - "line": 125, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3618, - "end": 3619, - "loc": { - "start": { - "line": 126, - "column": 4 - }, - "end": { - "line": 126, - "column": 5 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3621, - "end": 3622, - "loc": { - "start": { - "line": 127, - "column": 0 - }, - "end": { - "line": 127, - "column": 1 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3622, - "end": 3622, - "loc": { - "start": { - "line": 127, - "column": 1 - }, - "end": { - "line": 127, - "column": 1 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/icon.mjs.json b/docs/ast/source/icon.mjs.json deleted file mode 100644 index 5cbe529..0000000 --- a/docs/ast/source/icon.mjs.json +++ /dev/null @@ -1,74085 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 19269, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 554, - "column": 1 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 19269, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 554, - "column": 1 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 32 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 12 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 12 - }, - "identifierName": "VYI" - }, - "name": "VYI" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 20, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 31 - } - }, - "extra": { - "rawValue": "./vyi.mjs", - "raw": "'./vyi.mjs'" - }, - "value": "./vyi.mjs" - } - }, - { - "type": "ImportDeclaration", - "start": 34, - "end": 70, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 36 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 43, - "end": 48, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 14 - } - }, - "imported": { - "type": "Identifier", - "start": 43, - "end": 48, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 14 - }, - "identifierName": "Frame" - }, - "name": "Frame" - }, - "local": { - "type": "Identifier", - "start": 43, - "end": 48, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 14 - }, - "identifierName": "Frame" - }, - "name": "Frame" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 56, - "end": 69, - "loc": { - "start": { - "line": 2, - "column": 22 - }, - "end": { - "line": 2, - "column": 35 - } - }, - "extra": { - "rawValue": "./frame.mjs", - "raw": "'./frame.mjs'" - }, - "value": "./frame.mjs" - } - }, - { - "type": "ExportNamedDeclaration", - "start": 74, - "end": 19269, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 554, - "column": 1 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "ClassDeclaration", - "start": 81, - "end": 19269, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 554, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 87, - "end": 91, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 17 - }, - "identifierName": "Icon" - }, - "name": "Icon" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 92, - "end": 19269, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 554, - "column": 1 - } - }, - "body": [ - { - "type": "ClassProperty", - "start": 212, - "end": 224, - "loc": { - "start": { - "line": 10, - "column": 4 - }, - "end": { - "line": 10, - "column": 16 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 212, - "end": 218, - "loc": { - "start": { - "line": 10, - "column": 4 - }, - "end": { - "line": 10, - "column": 10 - }, - "identifierName": "states" - }, - "name": "states", - "leadingComments": null - }, - "value": { - "type": "ArrayExpression", - "start": 221, - "end": 223, - "loc": { - "start": { - "line": 10, - "column": 13 - }, - "end": { - "line": 10, - "column": 15 - } - }, - "elements": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n ", - "start": 99, - "end": 206, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 9, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * An arary of Frame's that are the frames of this icon.\r\n * @private\r\n * @type {Array}\r\n ", - "start": 230, - "end": 343, - "loc": { - "start": { - "line": 11, - "column": 4 - }, - "end": { - "line": 15, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 349, - "end": 361, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 16, - "column": 16 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 349, - "end": 355, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 16, - "column": 10 - }, - "identifierName": "frames" - }, - "name": "frames", - "leadingComments": null - }, - "value": { - "type": "ArrayExpression", - "start": 358, - "end": 360, - "loc": { - "start": { - "line": 16, - "column": 13 - }, - "end": { - "line": 16, - "column": 15 - } - }, - "elements": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * An arary of Frame's that are the frames of this icon.\r\n * @private\r\n * @type {Array}\r\n ", - "start": 230, - "end": 343, - "loc": { - "start": { - "line": 11, - "column": 4 - }, - "end": { - "line": 15, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The width of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", - "start": 367, - "end": 508, - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 21, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 514, - "end": 525, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 22, - "column": 15 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 514, - "end": 519, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 22, - "column": 9 - }, - "identifierName": "width" - }, - "name": "width", - "leadingComments": null - }, - "value": { - "type": "NumericLiteral", - "start": 522, - "end": 524, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 14 - } - }, - "extra": { - "rawValue": 32, - "raw": "32" - }, - "value": 32 - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The width of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", - "start": 367, - "end": 508, - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 21, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The height of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", - "start": 531, - "end": 673, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 27, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 679, - "end": 691, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 28, - "column": 16 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 679, - "end": 685, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 28, - "column": 10 - }, - "identifierName": "height" - }, - "name": "height", - "leadingComments": null - }, - "value": { - "type": "NumericLiteral", - "start": 688, - "end": 690, - "loc": { - "start": { - "line": 28, - "column": 13 - }, - "end": { - "line": 28, - "column": 15 - } - }, - "extra": { - "rawValue": 32, - "raw": "32" - }, - "value": 32 - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The height of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", - "start": 531, - "end": 673, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 27, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", - "start": 697, - "end": 799, - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 33, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 805, - "end": 813, - "loc": { - "start": { - "line": 34, - "column": 4 - }, - "end": { - "line": 34, - "column": 12 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 805, - "end": 812, - "loc": { - "start": { - "line": 34, - "column": 4 - }, - "end": { - "line": 34, - "column": 11 - }, - "identifierName": "dataURL" - }, - "name": "dataURL", - "leadingComments": null - }, - "value": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", - "start": 697, - "end": 799, - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 33, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", - "start": 819, - "end": 904, - "loc": { - "start": { - "line": 35, - "column": 4 - }, - "end": { - "line": 39, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 910, - "end": 922, - "loc": { - "start": { - "line": 40, - "column": 4 - }, - "end": { - "line": 40, - "column": 16 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 910, - "end": 915, - "loc": { - "start": { - "line": 40, - "column": 4 - }, - "end": { - "line": 40, - "column": 9 - }, - "identifierName": "delay" - }, - "name": "delay", - "leadingComments": null - }, - "value": { - "type": "NumericLiteral", - "start": 918, - "end": 921, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 15 - } - }, - "extra": { - "rawValue": 100, - "raw": "100" - }, - "value": 100 - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", - "start": 819, - "end": 904, - "loc": { - "start": { - "line": 35, - "column": 4 - }, - "end": { - "line": 39, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n ", - "start": 928, - "end": 1011, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 45, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 1017, - "end": 1027, - "loc": { - "start": { - "line": 46, - "column": 4 - }, - "end": { - "line": 46, - "column": 14 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1017, - "end": 1021, - "loc": { - "start": { - "line": 46, - "column": 4 - }, - "end": { - "line": 46, - "column": 8 - }, - "identifierName": "name" - }, - "name": "name", - "leadingComments": null - }, - "value": { - "type": "StringLiteral", - "start": 1024, - "end": 1026, - "loc": { - "start": { - "line": 46, - "column": 11 - }, - "end": { - "line": 46, - "column": 13 - } - }, - "extra": { - "rawValue": "", - "raw": "''" - }, - "value": "" - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n ", - "start": 928, - "end": 1011, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 45, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The icon that owns this icon. This means this icon is state. \r\n * @private\r\n * @type {Icon}\r\n ", - "start": 1033, - "end": 1153, - "loc": { - "start": { - "line": 47, - "column": 4 - }, - "end": { - "line": 51, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 1159, - "end": 1166, - "loc": { - "start": { - "line": 52, - "column": 4 - }, - "end": { - "line": 52, - "column": 11 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1159, - "end": 1165, - "loc": { - "start": { - "line": 52, - "column": 4 - }, - "end": { - "line": 52, - "column": 10 - }, - "identifierName": "parent" - }, - "name": "parent", - "leadingComments": null - }, - "value": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The icon that owns this icon. This means this icon is state. \r\n * @private\r\n * @type {Icon}\r\n ", - "start": 1033, - "end": 1153, - "loc": { - "start": { - "line": 47, - "column": 4 - }, - "end": { - "line": 51, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", - "start": 1172, - "end": 1268, - "loc": { - "start": { - "line": 53, - "column": 4 - }, - "end": { - "line": 58, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 1274, - "end": 1278, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 8 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1274, - "end": 1277, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 7 - }, - "identifierName": "vyi" - }, - "name": "vyi", - "leadingComments": null - }, - "value": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", - "start": 1172, - "end": 1268, - "loc": { - "start": { - "line": 53, - "column": 4 - }, - "end": { - "line": 58, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.\r\n * \r\n * @private\r\n * @type {string}\r\n ", - "start": 1284, - "end": 1474, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 65, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 1480, - "end": 1483, - "loc": { - "start": { - "line": 66, - "column": 4 - }, - "end": { - "line": 66, - "column": 7 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1480, - "end": 1482, - "loc": { - "start": { - "line": 66, - "column": 4 - }, - "end": { - "line": 66, - "column": 6 - }, - "identifierName": "id" - }, - "name": "id", - "leadingComments": null - }, - "value": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.\r\n * \r\n * @private\r\n * @type {string}\r\n ", - "start": 1284, - "end": 1474, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 65, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Generates a UUID (Universally Unique Identifier) version 4.\r\n * \r\n * @private\r\n * @param {VYI} pVYI - The vyi that will reserve this ID.\r\n * @returns {string} The generated UUID.\r\n ", - "start": 1489, - "end": 1698, - "loc": { - "start": { - "line": 67, - "column": 4 - }, - "end": { - "line": 73, - "column": 6 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 1704, - "end": 2130, - "loc": { - "start": { - "line": 74, - "column": 4 - }, - "end": { - "line": 85, - "column": 4 - } - }, - "static": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 1711, - "end": 1721, - "loc": { - "start": { - "line": 74, - "column": 11 - }, - "end": { - "line": 74, - "column": 21 - }, - "identifierName": "generateID" - }, - "name": "generateID" - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1722, - "end": 1726, - "loc": { - "start": { - "line": 74, - "column": 22 - }, - "end": { - "line": 74, - "column": 26 - }, - "identifierName": "pVYI" - }, - "name": "pVYI" - } - ], - "body": { - "type": "BlockStatement", - "start": 1728, - "end": 2130, - "loc": { - "start": { - "line": 74, - "column": 28 - }, - "end": { - "line": 85, - "column": 4 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1738, - "end": 1858, - "loc": { - "start": { - "line": 75, - "column": 7 - }, - "end": { - "line": 77, - "column": 8 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1744, - "end": 1858, - "loc": { - "start": { - "line": 75, - "column": 13 - }, - "end": { - "line": 77, - "column": 8 - } - }, - "id": { - "type": "Identifier", - "start": 1744, - "end": 1749, - "loc": { - "start": { - "line": 75, - "column": 13 - }, - "end": { - "line": 75, - "column": 18 - }, - "identifierName": "genID" - }, - "name": "genID" - }, - "init": { - "type": "ArrowFunctionExpression", - "start": 1752, - "end": 1858, - "loc": { - "start": { - "line": 75, - "column": 21 - }, - "end": { - "line": 77, - "column": 8 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1758, - "end": 1858, - "loc": { - "start": { - "line": 75, - "column": 27 - }, - "end": { - "line": 77, - "column": 8 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1772, - "end": 1848, - "loc": { - "start": { - "line": 76, - "column": 11 - }, - "end": { - "line": 76, - "column": 87 - } - }, - "argument": { - "type": "CallExpression", - "start": 1779, - "end": 1847, - "loc": { - "start": { - "line": 76, - "column": 18 - }, - "end": { - "line": 76, - "column": 86 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1779, - "end": 1839, - "loc": { - "start": { - "line": 76, - "column": 18 - }, - "end": { - "line": 76, - "column": 78 - } - }, - "object": { - "type": "CallExpression", - "start": 1779, - "end": 1830, - "loc": { - "start": { - "line": 76, - "column": 18 - }, - "end": { - "line": 76, - "column": 69 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1779, - "end": 1826, - "loc": { - "start": { - "line": 76, - "column": 18 - }, - "end": { - "line": 76, - "column": 65 - } - }, - "object": { - "type": "CallExpression", - "start": 1779, - "end": 1817, - "loc": { - "start": { - "line": 76, - "column": 18 - }, - "end": { - "line": 76, - "column": 56 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1779, - "end": 1789, - "loc": { - "start": { - "line": 76, - "column": 18 - }, - "end": { - "line": 76, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 1779, - "end": 1783, - "loc": { - "start": { - "line": 76, - "column": 18 - }, - "end": { - "line": 76, - "column": 22 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 1784, - "end": 1789, - "loc": { - "start": { - "line": 76, - "column": 23 - }, - "end": { - "line": 76, - "column": 28 - }, - "identifierName": "floor" - }, - "name": "floor" - }, - "computed": false - }, - "arguments": [ - { - "type": "BinaryExpression", - "start": 1790, - "end": 1816, - "loc": { - "start": { - "line": 76, - "column": 29 - }, - "end": { - "line": 76, - "column": 55 - } - }, - "left": { - "type": "CallExpression", - "start": 1790, - "end": 1803, - "loc": { - "start": { - "line": 76, - "column": 29 - }, - "end": { - "line": 76, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1790, - "end": 1801, - "loc": { - "start": { - "line": 76, - "column": 29 - }, - "end": { - "line": 76, - "column": 40 - } - }, - "object": { - "type": "Identifier", - "start": 1790, - "end": 1794, - "loc": { - "start": { - "line": 76, - "column": 29 - }, - "end": { - "line": 76, - "column": 33 - }, - "identifierName": "Math" - }, - "name": "Math" - }, - "property": { - "type": "Identifier", - "start": 1795, - "end": 1801, - "loc": { - "start": { - "line": 76, - "column": 34 - }, - "end": { - "line": 76, - "column": 40 - }, - "identifierName": "random" - }, - "name": "random" - }, - "computed": false - }, - "arguments": [] - }, - "operator": "*", - "right": { - "type": "NumericLiteral", - "start": 1806, - "end": 1816, - "loc": { - "start": { - "line": 76, - "column": 45 - }, - "end": { - "line": 76, - "column": 55 - } - }, - "extra": { - "rawValue": 4294967295, - "raw": "0xFFFFFFFF" - }, - "value": 4294967295 - } - } - ] - }, - "property": { - "type": "Identifier", - "start": 1818, - "end": 1826, - "loc": { - "start": { - "line": 76, - "column": 57 - }, - "end": { - "line": 76, - "column": 65 - }, - "identifierName": "toString" - }, - "name": "toString" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1827, - "end": 1829, - "loc": { - "start": { - "line": 76, - "column": 66 - }, - "end": { - "line": 76, - "column": 68 - } - }, - "extra": { - "rawValue": 16, - "raw": "16" - }, - "value": 16 - } - ] - }, - "property": { - "type": "Identifier", - "start": 1831, - "end": 1839, - "loc": { - "start": { - "line": 76, - "column": 70 - }, - "end": { - "line": 76, - "column": 78 - }, - "identifierName": "padStart" - }, - "name": "padStart" - }, - "computed": false - }, - "arguments": [ - { - "type": "NumericLiteral", - "start": 1840, - "end": 1841, - "loc": { - "start": { - "line": 76, - "column": 79 - }, - "end": { - "line": 76, - "column": 80 - } - }, - "extra": { - "rawValue": 8, - "raw": "8" - }, - "value": 8 - }, - { - "type": "StringLiteral", - "start": 1843, - "end": 1846, - "loc": { - "start": { - "line": 76, - "column": 82 - }, - "end": { - "line": 76, - "column": 85 - } - }, - "extra": { - "rawValue": "0", - "raw": "'0'" - }, - "value": "0" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "trailingComments": null - }, - "trailingComments": null - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " Generate a random number in the range of 0 to 0xFFFFFFFF (8 hex digits) and convert to hex", - "start": 1867, - "end": 1960, - "loc": { - "start": { - "line": 78, - "column": 7 - }, - "end": { - "line": 78, - "column": 100 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 1969, - "end": 1986, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 24 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1973, - "end": 1985, - "loc": { - "start": { - "line": 79, - "column": 11 - }, - "end": { - "line": 79, - "column": 23 - } - }, - "id": { - "type": "Identifier", - "start": 1973, - "end": 1975, - "loc": { - "start": { - "line": 79, - "column": 11 - }, - "end": { - "line": 79, - "column": 13 - }, - "identifierName": "id" - }, - "name": "id", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 1978, - "end": 1985, - "loc": { - "start": { - "line": 79, - "column": 16 - }, - "end": { - "line": 79, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 1978, - "end": 1983, - "loc": { - "start": { - "line": 79, - "column": 16 - }, - "end": { - "line": 79, - "column": 21 - }, - "identifierName": "genID" - }, - "name": "genID" - }, - "arguments": [] - }, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [ - { - "type": "CommentLine", - "value": " Generate a random number in the range of 0 to 0xFFFFFFFF (8 hex digits) and convert to hex", - "start": 1867, - "end": 1960, - "loc": { - "start": { - "line": 78, - "column": 7 - }, - "end": { - "line": 78, - "column": 100 - } - } - } - ] - }, - { - "type": "WhileStatement", - "start": 1995, - "end": 2070, - "loc": { - "start": { - "line": 80, - "column": 7 - }, - "end": { - "line": 82, - "column": 8 - } - }, - "test": { - "type": "CallExpression", - "start": 2002, - "end": 2031, - "loc": { - "start": { - "line": 80, - "column": 14 - }, - "end": { - "line": 80, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2002, - "end": 2027, - "loc": { - "start": { - "line": 80, - "column": 14 - }, - "end": { - "line": 80, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 2002, - "end": 2018, - "loc": { - "start": { - "line": 80, - "column": 14 - }, - "end": { - "line": 80, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 2002, - "end": 2006, - "loc": { - "start": { - "line": 80, - "column": 14 - }, - "end": { - "line": 80, - "column": 18 - }, - "identifierName": "pVYI" - }, - "name": "pVYI" - }, - "property": { - "type": "Identifier", - "start": 2007, - "end": 2018, - "loc": { - "start": { - "line": 80, - "column": 19 - }, - "end": { - "line": 80, - "column": 30 - }, - "identifierName": "reservedIDs" - }, - "name": "reservedIDs" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2019, - "end": 2027, - "loc": { - "start": { - "line": 80, - "column": 31 - }, - "end": { - "line": 80, - "column": 39 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2028, - "end": 2030, - "loc": { - "start": { - "line": 80, - "column": 40 - }, - "end": { - "line": 80, - "column": 42 - }, - "identifierName": "id" - }, - "name": "id" - } - ] - }, - "body": { - "type": "BlockStatement", - "start": 2033, - "end": 2070, - "loc": { - "start": { - "line": 80, - "column": 45 - }, - "end": { - "line": 82, - "column": 8 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2047, - "end": 2060, - "loc": { - "start": { - "line": 81, - "column": 11 - }, - "end": { - "line": 81, - "column": 24 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2047, - "end": 2059, - "loc": { - "start": { - "line": 81, - "column": 11 - }, - "end": { - "line": 81, - "column": 23 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 2047, - "end": 2049, - "loc": { - "start": { - "line": 81, - "column": 11 - }, - "end": { - "line": 81, - "column": 13 - }, - "identifierName": "id" - }, - "name": "id" - }, - "right": { - "type": "CallExpression", - "start": 2052, - "end": 2059, - "loc": { - "start": { - "line": 81, - "column": 16 - }, - "end": { - "line": 81, - "column": 23 - } - }, - "callee": { - "type": "Identifier", - "start": 2052, - "end": 2057, - "loc": { - "start": { - "line": 81, - "column": 16 - }, - "end": { - "line": 81, - "column": 21 - }, - "identifierName": "genID" - }, - "name": "genID" - }, - "arguments": [] - } - } - } - ], - "directives": [] - } - }, - { - "type": "ExpressionStatement", - "start": 2079, - "end": 2105, - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 33 - } - }, - "expression": { - "type": "CallExpression", - "start": 2079, - "end": 2104, - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 32 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2079, - "end": 2100, - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 28 - } - }, - "object": { - "type": "MemberExpression", - "start": 2079, - "end": 2095, - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 2079, - "end": 2083, - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 11 - }, - "identifierName": "pVYI" - }, - "name": "pVYI" - }, - "property": { - "type": "Identifier", - "start": 2084, - "end": 2095, - "loc": { - "start": { - "line": 83, - "column": 12 - }, - "end": { - "line": 83, - "column": 23 - }, - "identifierName": "reservedIDs" - }, - "name": "reservedIDs" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 2096, - "end": 2100, - "loc": { - "start": { - "line": 83, - "column": 24 - }, - "end": { - "line": 83, - "column": 28 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2101, - "end": 2103, - "loc": { - "start": { - "line": 83, - "column": 29 - }, - "end": { - "line": 83, - "column": 31 - }, - "identifierName": "id" - }, - "name": "id" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 2114, - "end": 2124, - "loc": { - "start": { - "line": 84, - "column": 7 - }, - "end": { - "line": 84, - "column": 17 - } - }, - "argument": { - "type": "Identifier", - "start": 2121, - "end": 2123, - "loc": { - "start": { - "line": 84, - "column": 14 - }, - "end": { - "line": 84, - "column": 16 - }, - "identifierName": "id" - }, - "name": "id" - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Generates a UUID (Universally Unique Identifier) version 4.\r\n * \r\n * @private\r\n * @param {VYI} pVYI - The vyi that will reserve this ID.\r\n * @returns {string} The generated UUID.\r\n ", - "start": 1489, - "end": 1698, - "loc": { - "start": { - "line": 67, - "column": 4 - }, - "end": { - "line": 73, - "column": 6 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n ", - "start": 2136, - "end": 2350, - "loc": { - "start": { - "line": 86, - "column": 4 - }, - "end": { - "line": 91, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 2356, - "end": 2481, - "loc": { - "start": { - "line": 92, - "column": 4 - }, - "end": { - "line": 96, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2356, - "end": 2367, - "loc": { - "start": { - "line": 92, - "column": 4 - }, - "end": { - "line": 92, - "column": 15 - }, - "identifierName": "constructor" - }, - "name": "constructor", - "leadingComments": null - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2368, - "end": 2377, - "loc": { - "start": { - "line": 92, - "column": 16 - }, - "end": { - "line": 92, - "column": 25 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - { - "type": "Identifier", - "start": 2379, - "end": 2383, - "loc": { - "start": { - "line": 92, - "column": 27 - }, - "end": { - "line": 92, - "column": 31 - }, - "identifierName": "pVYI" - }, - "name": "pVYI" - } - ], - "body": { - "type": "BlockStatement", - "start": 2385, - "end": 2481, - "loc": { - "start": { - "line": 92, - "column": 33 - }, - "end": { - "line": 96, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2396, - "end": 2412, - "loc": { - "start": { - "line": 93, - "column": 8 - }, - "end": { - "line": 93, - "column": 24 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2396, - "end": 2411, - "loc": { - "start": { - "line": 93, - "column": 8 - }, - "end": { - "line": 93, - "column": 23 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 2396, - "end": 2404, - "loc": { - "start": { - "line": 93, - "column": 8 - }, - "end": { - "line": 93, - "column": 16 - } - }, - "object": { - "type": "ThisExpression", - "start": 2396, - "end": 2400, - "loc": { - "start": { - "line": 93, - "column": 8 - }, - "end": { - "line": 93, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 2401, - "end": 2404, - "loc": { - "start": { - "line": 93, - "column": 13 - }, - "end": { - "line": 93, - "column": 16 - }, - "identifierName": "vyi" - }, - "name": "vyi" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 2407, - "end": 2411, - "loc": { - "start": { - "line": 93, - "column": 19 - }, - "end": { - "line": 93, - "column": 23 - }, - "identifierName": "pVYI" - }, - "name": "pVYI" - } - } - }, - { - "type": "ExpressionStatement", - "start": 2422, - "end": 2442, - "loc": { - "start": { - "line": 94, - "column": 8 - }, - "end": { - "line": 94, - "column": 28 - } - }, - "expression": { - "type": "CallExpression", - "start": 2422, - "end": 2441, - "loc": { - "start": { - "line": 94, - "column": 8 - }, - "end": { - "line": 94, - "column": 27 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2422, - "end": 2435, - "loc": { - "start": { - "line": 94, - "column": 8 - }, - "end": { - "line": 94, - "column": 21 - } - }, - "object": { - "type": "ThisExpression", - "start": 2422, - "end": 2426, - "loc": { - "start": { - "line": 94, - "column": 8 - }, - "end": { - "line": 94, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 2427, - "end": 2435, - "loc": { - "start": { - "line": 94, - "column": 13 - }, - "end": { - "line": 94, - "column": 21 - }, - "identifierName": "assignID" - }, - "name": "assignID" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2436, - "end": 2440, - "loc": { - "start": { - "line": 94, - "column": 22 - }, - "end": { - "line": 94, - "column": 26 - }, - "identifierName": "pVYI" - }, - "name": "pVYI" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 2452, - "end": 2474, - "loc": { - "start": { - "line": 95, - "column": 8 - }, - "end": { - "line": 95, - "column": 30 - } - }, - "expression": { - "type": "CallExpression", - "start": 2452, - "end": 2473, - "loc": { - "start": { - "line": 95, - "column": 8 - }, - "end": { - "line": 95, - "column": 29 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2452, - "end": 2462, - "loc": { - "start": { - "line": 95, - "column": 8 - }, - "end": { - "line": 95, - "column": 18 - } - }, - "object": { - "type": "ThisExpression", - "start": 2452, - "end": 2456, - "loc": { - "start": { - "line": 95, - "column": 8 - }, - "end": { - "line": 95, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 2457, - "end": 2462, - "loc": { - "start": { - "line": 95, - "column": 13 - }, - "end": { - "line": 95, - "column": 18 - }, - "identifierName": "parse" - }, - "name": "parse" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2463, - "end": 2472, - "loc": { - "start": { - "line": 95, - "column": 19 - }, - "end": { - "line": 95, - "column": 28 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n ", - "start": 2136, - "end": 2350, - "loc": { - "start": { - "line": 86, - "column": 4 - }, - "end": { - "line": 91, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Assigns an ID to this icon.\r\n * \r\n * @param {VYI} pVYI - The vyi that holds this ID.\r\n * @private\r\n ", - "start": 2487, - "end": 2617, - "loc": { - "start": { - "line": 97, - "column": 4 - }, - "end": { - "line": 102, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 2623, - "end": 2688, - "loc": { - "start": { - "line": 103, - "column": 4 - }, - "end": { - "line": 105, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2623, - "end": 2631, - "loc": { - "start": { - "line": 103, - "column": 4 - }, - "end": { - "line": 103, - "column": 12 - }, - "identifierName": "assignID" - }, - "name": "assignID", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2632, - "end": 2636, - "loc": { - "start": { - "line": 103, - "column": 13 - }, - "end": { - "line": 103, - "column": 17 - }, - "identifierName": "pVYI" - }, - "name": "pVYI" - } - ], - "body": { - "type": "BlockStatement", - "start": 2638, - "end": 2688, - "loc": { - "start": { - "line": 103, - "column": 19 - }, - "end": { - "line": 105, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2649, - "end": 2681, - "loc": { - "start": { - "line": 104, - "column": 8 - }, - "end": { - "line": 104, - "column": 40 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2649, - "end": 2680, - "loc": { - "start": { - "line": 104, - "column": 8 - }, - "end": { - "line": 104, - "column": 39 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 2649, - "end": 2656, - "loc": { - "start": { - "line": 104, - "column": 8 - }, - "end": { - "line": 104, - "column": 15 - } - }, - "object": { - "type": "ThisExpression", - "start": 2649, - "end": 2653, - "loc": { - "start": { - "line": 104, - "column": 8 - }, - "end": { - "line": 104, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 2654, - "end": 2656, - "loc": { - "start": { - "line": 104, - "column": 13 - }, - "end": { - "line": 104, - "column": 15 - }, - "identifierName": "id" - }, - "name": "id" - }, - "computed": false - }, - "right": { - "type": "CallExpression", - "start": 2659, - "end": 2680, - "loc": { - "start": { - "line": 104, - "column": 18 - }, - "end": { - "line": 104, - "column": 39 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2659, - "end": 2674, - "loc": { - "start": { - "line": 104, - "column": 18 - }, - "end": { - "line": 104, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 2659, - "end": 2663, - "loc": { - "start": { - "line": 104, - "column": 18 - }, - "end": { - "line": 104, - "column": 22 - }, - "identifierName": "Icon" - }, - "name": "Icon" - }, - "property": { - "type": "Identifier", - "start": 2664, - "end": 2674, - "loc": { - "start": { - "line": 104, - "column": 23 - }, - "end": { - "line": 104, - "column": 33 - }, - "identifierName": "generateID" - }, - "name": "generateID" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2675, - "end": 2679, - "loc": { - "start": { - "line": 104, - "column": 34 - }, - "end": { - "line": 104, - "column": 38 - }, - "identifierName": "pVYI" - }, - "name": "pVYI" - } - ] - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Assigns an ID to this icon.\r\n * \r\n * @param {VYI} pVYI - The vyi that holds this ID.\r\n * @private\r\n ", - "start": 2487, - "end": 2617, - "loc": { - "start": { - "line": 97, - "column": 4 - }, - "end": { - "line": 102, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the id of this icon.\r\n * \r\n * @returns {string} The id of this icon.\r\n ", - "start": 2694, - "end": 2796, - "loc": { - "start": { - "line": 106, - "column": 4 - }, - "end": { - "line": 110, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 2802, - "end": 2843, - "loc": { - "start": { - "line": 111, - "column": 4 - }, - "end": { - "line": 113, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2802, - "end": 2807, - "loc": { - "start": { - "line": 111, - "column": 4 - }, - "end": { - "line": 111, - "column": 9 - }, - "identifierName": "getID" - }, - "name": "getID", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 2810, - "end": 2843, - "loc": { - "start": { - "line": 111, - "column": 12 - }, - "end": { - "line": 113, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 2821, - "end": 2836, - "loc": { - "start": { - "line": 112, - "column": 8 - }, - "end": { - "line": 112, - "column": 23 - } - }, - "argument": { - "type": "MemberExpression", - "start": 2828, - "end": 2835, - "loc": { - "start": { - "line": 112, - "column": 15 - }, - "end": { - "line": 112, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 2828, - "end": 2832, - "loc": { - "start": { - "line": 112, - "column": 15 - }, - "end": { - "line": 112, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 2833, - "end": 2835, - "loc": { - "start": { - "line": 112, - "column": 20 - }, - "end": { - "line": 112, - "column": 22 - }, - "identifierName": "id" - }, - "name": "id" - }, - "computed": false - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the id of this icon.\r\n * \r\n * @returns {string} The id of this icon.\r\n ", - "start": 2694, - "end": 2796, - "loc": { - "start": { - "line": 106, - "column": 4 - }, - "end": { - "line": 110, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n ", - "start": 2849, - "end": 3026, - "loc": { - "start": { - "line": 114, - "column": 4 - }, - "end": { - "line": 118, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 3032, - "end": 5344, - "loc": { - "start": { - "line": 119, - "column": 4 - }, - "end": { - "line": 171, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3032, - "end": 3037, - "loc": { - "start": { - "line": 119, - "column": 4 - }, - "end": { - "line": 119, - "column": 9 - }, - "identifierName": "parse" - }, - "name": "parse", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 3038, - "end": 3047, - "loc": { - "start": { - "line": 119, - "column": 10 - }, - "end": { - "line": 119, - "column": 19 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - } - ], - "body": { - "type": "BlockStatement", - "start": 3049, - "end": 5344, - "loc": { - "start": { - "line": 119, - "column": 21 - }, - "end": { - "line": 171, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 3116, - "end": 3146, - "loc": { - "start": { - "line": 121, - "column": 8 - }, - "end": { - "line": 121, - "column": 38 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3122, - "end": 3145, - "loc": { - "start": { - "line": 121, - "column": 14 - }, - "end": { - "line": 121, - "column": 37 - } - }, - "id": { - "type": "Identifier", - "start": 3122, - "end": 3130, - "loc": { - "start": { - "line": 121, - "column": 14 - }, - "end": { - "line": 121, - "column": 22 - }, - "identifierName": "iconName" - }, - "name": "iconName", - "leadingComments": null - }, - "init": { - "type": "MemberExpression", - "start": 3133, - "end": 3145, - "loc": { - "start": { - "line": 121, - "column": 25 - }, - "end": { - "line": 121, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 3133, - "end": 3142, - "loc": { - "start": { - "line": 121, - "column": 25 - }, - "end": { - "line": 121, - "column": 34 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "property": { - "type": "NumericLiteral", - "start": 3143, - "end": 3144, - "loc": { - "start": { - "line": 121, - "column": 35 - }, - "end": { - "line": 121, - "column": 36 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": " Loop through pIconData and create this icon", - "start": 3060, - "end": 3106, - "loc": { - "start": { - "line": 120, - "column": 8 - }, - "end": { - "line": 120, - "column": 54 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 3156, - "end": 3187, - "loc": { - "start": { - "line": 122, - "column": 8 - }, - "end": { - "line": 122, - "column": 39 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3162, - "end": 3186, - "loc": { - "start": { - "line": 122, - "column": 14 - }, - "end": { - "line": 122, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 3162, - "end": 3171, - "loc": { - "start": { - "line": 122, - "column": 14 - }, - "end": { - "line": 122, - "column": 23 - }, - "identifierName": "iconWidth" - }, - "name": "iconWidth" - }, - "init": { - "type": "MemberExpression", - "start": 3174, - "end": 3186, - "loc": { - "start": { - "line": 122, - "column": 26 - }, - "end": { - "line": 122, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 3174, - "end": 3183, - "loc": { - "start": { - "line": 122, - "column": 26 - }, - "end": { - "line": 122, - "column": 35 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "property": { - "type": "NumericLiteral", - "start": 3184, - "end": 3185, - "loc": { - "start": { - "line": 122, - "column": 36 - }, - "end": { - "line": 122, - "column": 37 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 3197, - "end": 3229, - "loc": { - "start": { - "line": 123, - "column": 8 - }, - "end": { - "line": 123, - "column": 40 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3203, - "end": 3228, - "loc": { - "start": { - "line": 123, - "column": 14 - }, - "end": { - "line": 123, - "column": 39 - } - }, - "id": { - "type": "Identifier", - "start": 3203, - "end": 3213, - "loc": { - "start": { - "line": 123, - "column": 14 - }, - "end": { - "line": 123, - "column": 24 - }, - "identifierName": "iconHeight" - }, - "name": "iconHeight" - }, - "init": { - "type": "MemberExpression", - "start": 3216, - "end": 3228, - "loc": { - "start": { - "line": 123, - "column": 27 - }, - "end": { - "line": 123, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 3216, - "end": 3225, - "loc": { - "start": { - "line": 123, - "column": 27 - }, - "end": { - "line": 123, - "column": 36 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "property": { - "type": "NumericLiteral", - "start": 3226, - "end": 3227, - "loc": { - "start": { - "line": 123, - "column": 37 - }, - "end": { - "line": 123, - "column": 38 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 3239, - "end": 3270, - "loc": { - "start": { - "line": 124, - "column": 8 - }, - "end": { - "line": 124, - "column": 39 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3245, - "end": 3269, - "loc": { - "start": { - "line": 124, - "column": 14 - }, - "end": { - "line": 124, - "column": 38 - } - }, - "id": { - "type": "Identifier", - "start": 3245, - "end": 3254, - "loc": { - "start": { - "line": 124, - "column": 14 - }, - "end": { - "line": 124, - "column": 23 - }, - "identifierName": "iconDelay" - }, - "name": "iconDelay" - }, - "init": { - "type": "MemberExpression", - "start": 3257, - "end": 3269, - "loc": { - "start": { - "line": 124, - "column": 26 - }, - "end": { - "line": 124, - "column": 38 - } - }, - "object": { - "type": "Identifier", - "start": 3257, - "end": 3266, - "loc": { - "start": { - "line": 124, - "column": 26 - }, - "end": { - "line": 124, - "column": 35 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "property": { - "type": "NumericLiteral", - "start": 3267, - "end": 3268, - "loc": { - "start": { - "line": 124, - "column": 36 - }, - "end": { - "line": 124, - "column": 37 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 3280, - "end": 3313, - "loc": { - "start": { - "line": 125, - "column": 8 - }, - "end": { - "line": 125, - "column": 41 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3286, - "end": 3312, - "loc": { - "start": { - "line": 125, - "column": 14 - }, - "end": { - "line": 125, - "column": 40 - } - }, - "id": { - "type": "Identifier", - "start": 3286, - "end": 3297, - "loc": { - "start": { - "line": 125, - "column": 14 - }, - "end": { - "line": 125, - "column": 25 - }, - "identifierName": "iconDataURL" - }, - "name": "iconDataURL" - }, - "init": { - "type": "MemberExpression", - "start": 3300, - "end": 3312, - "loc": { - "start": { - "line": 125, - "column": 28 - }, - "end": { - "line": 125, - "column": 40 - } - }, - "object": { - "type": "Identifier", - "start": 3300, - "end": 3309, - "loc": { - "start": { - "line": 125, - "column": 28 - }, - "end": { - "line": 125, - "column": 37 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "property": { - "type": "NumericLiteral", - "start": 3310, - "end": 3311, - "loc": { - "start": { - "line": 125, - "column": 38 - }, - "end": { - "line": 125, - "column": 39 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 3323, - "end": 3355, - "loc": { - "start": { - "line": 126, - "column": 8 - }, - "end": { - "line": 126, - "column": 40 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3329, - "end": 3354, - "loc": { - "start": { - "line": 126, - "column": 14 - }, - "end": { - "line": 126, - "column": 39 - } - }, - "id": { - "type": "Identifier", - "start": 3329, - "end": 3339, - "loc": { - "start": { - "line": 126, - "column": 14 - }, - "end": { - "line": 126, - "column": 24 - }, - "identifierName": "frameArray" - }, - "name": "frameArray" - }, - "init": { - "type": "MemberExpression", - "start": 3342, - "end": 3354, - "loc": { - "start": { - "line": 126, - "column": 27 - }, - "end": { - "line": 126, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 3342, - "end": 3351, - "loc": { - "start": { - "line": 126, - "column": 27 - }, - "end": { - "line": 126, - "column": 36 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "property": { - "type": "NumericLiteral", - "start": 3352, - "end": 3353, - "loc": { - "start": { - "line": 126, - "column": 37 - }, - "end": { - "line": 126, - "column": 38 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - }, - "computed": true - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 3365, - "end": 3397, - "loc": { - "start": { - "line": 127, - "column": 8 - }, - "end": { - "line": 127, - "column": 40 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3371, - "end": 3396, - "loc": { - "start": { - "line": 127, - "column": 14 - }, - "end": { - "line": 127, - "column": 39 - } - }, - "id": { - "type": "Identifier", - "start": 3371, - "end": 3381, - "loc": { - "start": { - "line": 127, - "column": 14 - }, - "end": { - "line": 127, - "column": 24 - }, - "identifierName": "stateArray" - }, - "name": "stateArray" - }, - "init": { - "type": "MemberExpression", - "start": 3384, - "end": 3396, - "loc": { - "start": { - "line": 127, - "column": 27 - }, - "end": { - "line": 127, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 3384, - "end": 3393, - "loc": { - "start": { - "line": 127, - "column": 27 - }, - "end": { - "line": 127, - "column": 36 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "property": { - "type": "NumericLiteral", - "start": 3394, - "end": 3395, - "loc": { - "start": { - "line": 127, - "column": 37 - }, - "end": { - "line": 127, - "column": 38 - } - }, - "extra": { - "rawValue": 6, - "raw": "6" - }, - "value": 6 - }, - "computed": true - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set name", - "start": 3409, - "end": 3420, - "loc": { - "start": { - "line": 129, - "column": 8 - }, - "end": { - "line": 129, - "column": 19 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 3430, - "end": 3452, - "loc": { - "start": { - "line": 130, - "column": 8 - }, - "end": { - "line": 130, - "column": 30 - } - }, - "expression": { - "type": "CallExpression", - "start": 3430, - "end": 3451, - "loc": { - "start": { - "line": 130, - "column": 8 - }, - "end": { - "line": 130, - "column": 29 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3430, - "end": 3441, - "loc": { - "start": { - "line": 130, - "column": 8 - }, - "end": { - "line": 130, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 3430, - "end": 3434, - "loc": { - "start": { - "line": 130, - "column": 8 - }, - "end": { - "line": 130, - "column": 12 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 3435, - "end": 3441, - "loc": { - "start": { - "line": 130, - "column": 13 - }, - "end": { - "line": 130, - "column": 19 - }, - "identifierName": "rename" - }, - "name": "rename" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 3442, - "end": 3450, - "loc": { - "start": { - "line": 130, - "column": 20 - }, - "end": { - "line": 130, - "column": 28 - }, - "identifierName": "iconName" - }, - "name": "iconName" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set name", - "start": 3409, - "end": 3420, - "loc": { - "start": { - "line": 129, - "column": 8 - }, - "end": { - "line": 129, - "column": 19 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set size", - "start": 3462, - "end": 3473, - "loc": { - "start": { - "line": 131, - "column": 8 - }, - "end": { - "line": 131, - "column": 19 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 3483, - "end": 3519, - "loc": { - "start": { - "line": 132, - "column": 8 - }, - "end": { - "line": 132, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 3483, - "end": 3518, - "loc": { - "start": { - "line": 132, - "column": 8 - }, - "end": { - "line": 132, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3483, - "end": 3495, - "loc": { - "start": { - "line": 132, - "column": 8 - }, - "end": { - "line": 132, - "column": 20 - } - }, - "object": { - "type": "ThisExpression", - "start": 3483, - "end": 3487, - "loc": { - "start": { - "line": 132, - "column": 8 - }, - "end": { - "line": 132, - "column": 12 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 3488, - "end": 3495, - "loc": { - "start": { - "line": 132, - "column": 13 - }, - "end": { - "line": 132, - "column": 20 - }, - "identifierName": "setSize" - }, - "name": "setSize" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 3496, - "end": 3505, - "loc": { - "start": { - "line": 132, - "column": 21 - }, - "end": { - "line": 132, - "column": 30 - }, - "identifierName": "iconWidth" - }, - "name": "iconWidth" - }, - { - "type": "Identifier", - "start": 3507, - "end": 3517, - "loc": { - "start": { - "line": 132, - "column": 32 - }, - "end": { - "line": 132, - "column": 42 - }, - "identifierName": "iconHeight" - }, - "name": "iconHeight" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set size", - "start": 3462, - "end": 3473, - "loc": { - "start": { - "line": 131, - "column": 8 - }, - "end": { - "line": 131, - "column": 19 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set icon delay", - "start": 3529, - "end": 3546, - "loc": { - "start": { - "line": 133, - "column": 8 - }, - "end": { - "line": 133, - "column": 25 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 3556, - "end": 3581, - "loc": { - "start": { - "line": 134, - "column": 8 - }, - "end": { - "line": 134, - "column": 33 - } - }, - "expression": { - "type": "CallExpression", - "start": 3556, - "end": 3580, - "loc": { - "start": { - "line": 134, - "column": 8 - }, - "end": { - "line": 134, - "column": 32 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3556, - "end": 3569, - "loc": { - "start": { - "line": 134, - "column": 8 - }, - "end": { - "line": 134, - "column": 21 - } - }, - "object": { - "type": "ThisExpression", - "start": 3556, - "end": 3560, - "loc": { - "start": { - "line": 134, - "column": 8 - }, - "end": { - "line": 134, - "column": 12 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 3561, - "end": 3569, - "loc": { - "start": { - "line": 134, - "column": 13 - }, - "end": { - "line": 134, - "column": 21 - }, - "identifierName": "setDelay" - }, - "name": "setDelay" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 3570, - "end": 3579, - "loc": { - "start": { - "line": 134, - "column": 22 - }, - "end": { - "line": 134, - "column": 31 - }, - "identifierName": "iconDelay" - }, - "name": "iconDelay" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set icon delay", - "start": 3529, - "end": 3546, - "loc": { - "start": { - "line": 133, - "column": 8 - }, - "end": { - "line": 133, - "column": 25 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set dataURL", - "start": 3591, - "end": 3605, - "loc": { - "start": { - "line": 135, - "column": 8 - }, - "end": { - "line": 135, - "column": 22 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 3615, - "end": 3644, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 3615, - "end": 3643, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3615, - "end": 3630, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 3615, - "end": 3619, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 12 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 3620, - "end": 3630, - "loc": { - "start": { - "line": 136, - "column": 13 - }, - "end": { - "line": 136, - "column": 23 - }, - "identifierName": "setDataURL" - }, - "name": "setDataURL" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 3631, - "end": 3642, - "loc": { - "start": { - "line": 136, - "column": 24 - }, - "end": { - "line": 136, - "column": 35 - }, - "identifierName": "iconDataURL" - }, - "name": "iconDataURL" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set dataURL", - "start": 3591, - "end": 3605, - "loc": { - "start": { - "line": 135, - "column": 8 - }, - "end": { - "line": 135, - "column": 22 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Check if the frame data is an array", - "start": 3654, - "end": 3692, - "loc": { - "start": { - "line": 137, - "column": 8 - }, - "end": { - "line": 137, - "column": 46 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 3702, - "end": 4075, - "loc": { - "start": { - "line": 138, - "column": 8 - }, - "end": { - "line": 146, - "column": 9 - } - }, - "test": { - "type": "CallExpression", - "start": 3706, - "end": 3731, - "loc": { - "start": { - "line": 138, - "column": 12 - }, - "end": { - "line": 138, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3706, - "end": 3719, - "loc": { - "start": { - "line": 138, - "column": 12 - }, - "end": { - "line": 138, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 3706, - "end": 3711, - "loc": { - "start": { - "line": 138, - "column": 12 - }, - "end": { - "line": 138, - "column": 17 - }, - "identifierName": "Array" - }, - "name": "Array", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 3712, - "end": 3719, - "loc": { - "start": { - "line": 138, - "column": 18 - }, - "end": { - "line": 138, - "column": 25 - }, - "identifierName": "isArray" - }, - "name": "isArray" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 3720, - "end": 3730, - "loc": { - "start": { - "line": 138, - "column": 26 - }, - "end": { - "line": 138, - "column": 36 - }, - "identifierName": "frameArray" - }, - "name": "frameArray" - } - ], - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 3733, - "end": 4075, - "loc": { - "start": { - "line": 138, - "column": 39 - }, - "end": { - "line": 146, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 3818, - "end": 4064, - "loc": { - "start": { - "line": 140, - "column": 12 - }, - "end": { - "line": 145, - "column": 13 - } - }, - "test": { - "type": "MemberExpression", - "start": 3822, - "end": 3839, - "loc": { - "start": { - "line": 140, - "column": 16 - }, - "end": { - "line": 140, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 3822, - "end": 3832, - "loc": { - "start": { - "line": 140, - "column": 16 - }, - "end": { - "line": 140, - "column": 26 - }, - "identifierName": "frameArray" - }, - "name": "frameArray", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 3833, - "end": 3839, - "loc": { - "start": { - "line": 140, - "column": 27 - }, - "end": { - "line": 140, - "column": 33 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 3841, - "end": 4064, - "loc": { - "start": { - "line": 140, - "column": 35 - }, - "end": { - "line": 145, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3860, - "end": 4049, - "loc": { - "start": { - "line": 141, - "column": 16 - }, - "end": { - "line": 144, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 3860, - "end": 4048, - "loc": { - "start": { - "line": 141, - "column": 16 - }, - "end": { - "line": 144, - "column": 18 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3860, - "end": 3878, - "loc": { - "start": { - "line": 141, - "column": 16 - }, - "end": { - "line": 141, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 3860, - "end": 3870, - "loc": { - "start": { - "line": 141, - "column": 16 - }, - "end": { - "line": 141, - "column": 26 - }, - "identifierName": "frameArray" - }, - "name": "frameArray" - }, - "property": { - "type": "Identifier", - "start": 3871, - "end": 3878, - "loc": { - "start": { - "line": 141, - "column": 27 - }, - "end": { - "line": 141, - "column": 34 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 3879, - "end": 4047, - "loc": { - "start": { - "line": 141, - "column": 35 - }, - "end": { - "line": 144, - "column": 17 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 3880, - "end": 3886, - "loc": { - "start": { - "line": 141, - "column": 36 - }, - "end": { - "line": 141, - "column": 42 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - } - ], - "body": { - "type": "BlockStatement", - "start": 3891, - "end": 4047, - "loc": { - "start": { - "line": 141, - "column": 47 - }, - "end": { - "line": 144, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 4006, - "end": 4028, - "loc": { - "start": { - "line": 143, - "column": 20 - }, - "end": { - "line": 143, - "column": 42 - } - }, - "expression": { - "type": "CallExpression", - "start": 4006, - "end": 4027, - "loc": { - "start": { - "line": 143, - "column": 20 - }, - "end": { - "line": 143, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4006, - "end": 4019, - "loc": { - "start": { - "line": 143, - "column": 20 - }, - "end": { - "line": 143, - "column": 33 - } - }, - "object": { - "type": "ThisExpression", - "start": 4006, - "end": 4010, - "loc": { - "start": { - "line": 143, - "column": 20 - }, - "end": { - "line": 143, - "column": 24 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 4011, - "end": 4019, - "loc": { - "start": { - "line": 143, - "column": 25 - }, - "end": { - "line": 143, - "column": 33 - }, - "identifierName": "addFrame" - }, - "name": "addFrame" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 4020, - "end": 4026, - "loc": { - "start": { - "line": 143, - "column": 34 - }, - "end": { - "line": 143, - "column": 40 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " pFrame is an array holding the datalURL and frameDelay of the frame", - "start": 3914, - "end": 3984, - "loc": { - "start": { - "line": 142, - "column": 20 - }, - "end": { - "line": 142, - "column": 90 - } - } - } - ] - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If the frame array has data then we need to store it.", - "start": 3748, - "end": 3804, - "loc": { - "start": { - "line": 139, - "column": 12 - }, - "end": { - "line": 139, - "column": 68 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Check if the frame data is an array", - "start": 3654, - "end": 3692, - "loc": { - "start": { - "line": 137, - "column": 8 - }, - "end": { - "line": 137, - "column": 46 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Check if the states data is an array", - "start": 4085, - "end": 4124, - "loc": { - "start": { - "line": 147, - "column": 8 - }, - "end": { - "line": 147, - "column": 47 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 4134, - "end": 5337, - "loc": { - "start": { - "line": 148, - "column": 8 - }, - "end": { - "line": 170, - "column": 9 - } - }, - "test": { - "type": "CallExpression", - "start": 4138, - "end": 4163, - "loc": { - "start": { - "line": 148, - "column": 12 - }, - "end": { - "line": 148, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4138, - "end": 4151, - "loc": { - "start": { - "line": 148, - "column": 12 - }, - "end": { - "line": 148, - "column": 25 - } - }, - "object": { - "type": "Identifier", - "start": 4138, - "end": 4143, - "loc": { - "start": { - "line": 148, - "column": 12 - }, - "end": { - "line": 148, - "column": 17 - }, - "identifierName": "Array" - }, - "name": "Array", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 4144, - "end": 4151, - "loc": { - "start": { - "line": 148, - "column": 18 - }, - "end": { - "line": 148, - "column": 25 - }, - "identifierName": "isArray" - }, - "name": "isArray" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 4152, - "end": 4162, - "loc": { - "start": { - "line": 148, - "column": 26 - }, - "end": { - "line": 148, - "column": 36 - }, - "identifierName": "stateArray" - }, - "name": "stateArray" - } - ], - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 4165, - "end": 5337, - "loc": { - "start": { - "line": 148, - "column": 39 - }, - "end": { - "line": 170, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 4250, - "end": 5326, - "loc": { - "start": { - "line": 150, - "column": 12 - }, - "end": { - "line": 169, - "column": 13 - } - }, - "test": { - "type": "MemberExpression", - "start": 4254, - "end": 4271, - "loc": { - "start": { - "line": 150, - "column": 16 - }, - "end": { - "line": 150, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 4254, - "end": 4264, - "loc": { - "start": { - "line": 150, - "column": 16 - }, - "end": { - "line": 150, - "column": 26 - }, - "identifierName": "stateArray" - }, - "name": "stateArray", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 4265, - "end": 4271, - "loc": { - "start": { - "line": 150, - "column": 27 - }, - "end": { - "line": 150, - "column": 33 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 4273, - "end": 5326, - "loc": { - "start": { - "line": 150, - "column": 35 - }, - "end": { - "line": 169, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 4292, - "end": 5311, - "loc": { - "start": { - "line": 151, - "column": 16 - }, - "end": { - "line": 168, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 4292, - "end": 5310, - "loc": { - "start": { - "line": 151, - "column": 16 - }, - "end": { - "line": 168, - "column": 18 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4292, - "end": 4310, - "loc": { - "start": { - "line": 151, - "column": 16 - }, - "end": { - "line": 151, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 4292, - "end": 4302, - "loc": { - "start": { - "line": 151, - "column": 16 - }, - "end": { - "line": 151, - "column": 26 - }, - "identifierName": "stateArray" - }, - "name": "stateArray" - }, - "property": { - "type": "Identifier", - "start": 4303, - "end": 4310, - "loc": { - "start": { - "line": 151, - "column": 27 - }, - "end": { - "line": 151, - "column": 34 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 4311, - "end": 5309, - "loc": { - "start": { - "line": 151, - "column": 35 - }, - "end": { - "line": 168, - "column": 17 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 4312, - "end": 4318, - "loc": { - "start": { - "line": 151, - "column": 36 - }, - "end": { - "line": 151, - "column": 42 - }, - "identifierName": "pState" - }, - "name": "pState" - } - ], - "body": { - "type": "BlockStatement", - "start": 4323, - "end": 5309, - "loc": { - "start": { - "line": 151, - "column": 47 - }, - "end": { - "line": 168, - "column": 17 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 4657, - "end": 4687, - "loc": { - "start": { - "line": 154, - "column": 20 - }, - "end": { - "line": 154, - "column": 50 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 4663, - "end": 4686, - "loc": { - "start": { - "line": 154, - "column": 26 - }, - "end": { - "line": 154, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 4663, - "end": 4681, - "loc": { - "start": { - "line": 154, - "column": 26 - }, - "end": { - "line": 154, - "column": 44 - }, - "identifierName": "aggregatedIconData" - }, - "name": "aggregatedIconData", - "leadingComments": null - }, - "init": { - "type": "ArrayExpression", - "start": 4684, - "end": 4686, - "loc": { - "start": { - "line": 154, - "column": 47 - }, - "end": { - "line": 154, - "column": 49 - } - }, - "elements": [] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": " Here we create a icon with aggregated data because the state data is not enough to make it an icon.", - "start": 4346, - "end": 4448, - "loc": { - "start": { - "line": 152, - "column": 20 - }, - "end": { - "line": 152, - "column": 122 - } - } - }, - { - "type": "CommentLine", - "value": " We do this because a state is basically an icon, but it just \"inherits\" alot of the data. But this makes it easier to manage if we treat it internally as an icon.", - "start": 4470, - "end": 4635, - "loc": { - "start": { - "line": 153, - "column": 20 - }, - "end": { - "line": 153, - "column": 185 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " iconName", - "start": 4709, - "end": 4720, - "loc": { - "start": { - "line": 155, - "column": 20 - }, - "end": { - "line": 155, - "column": 31 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 4742, - "end": 4776, - "loc": { - "start": { - "line": 156, - "column": 20 - }, - "end": { - "line": 156, - "column": 54 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 4742, - "end": 4775, - "loc": { - "start": { - "line": 156, - "column": 20 - }, - "end": { - "line": 156, - "column": 53 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 4742, - "end": 4763, - "loc": { - "start": { - "line": 156, - "column": 20 - }, - "end": { - "line": 156, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 4742, - "end": 4760, - "loc": { - "start": { - "line": 156, - "column": 20 - }, - "end": { - "line": 156, - "column": 38 - }, - "identifierName": "aggregatedIconData" - }, - "name": "aggregatedIconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 4761, - "end": 4762, - "loc": { - "start": { - "line": 156, - "column": 39 - }, - "end": { - "line": 156, - "column": 40 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "MemberExpression", - "start": 4766, - "end": 4775, - "loc": { - "start": { - "line": 156, - "column": 44 - }, - "end": { - "line": 156, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 4766, - "end": 4772, - "loc": { - "start": { - "line": 156, - "column": 44 - }, - "end": { - "line": 156, - "column": 50 - }, - "identifierName": "pState" - }, - "name": "pState" - }, - "property": { - "type": "NumericLiteral", - "start": 4773, - "end": 4774, - "loc": { - "start": { - "line": 156, - "column": 51 - }, - "end": { - "line": 156, - "column": 52 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " iconName", - "start": 4709, - "end": 4720, - "loc": { - "start": { - "line": 155, - "column": 20 - }, - "end": { - "line": 155, - "column": 31 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " iconWidth", - "start": 4798, - "end": 4810, - "loc": { - "start": { - "line": 157, - "column": 20 - }, - "end": { - "line": 157, - "column": 32 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 4832, - "end": 4866, - "loc": { - "start": { - "line": 158, - "column": 20 - }, - "end": { - "line": 158, - "column": 54 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 4832, - "end": 4865, - "loc": { - "start": { - "line": 158, - "column": 20 - }, - "end": { - "line": 158, - "column": 53 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 4832, - "end": 4853, - "loc": { - "start": { - "line": 158, - "column": 20 - }, - "end": { - "line": 158, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 4832, - "end": 4850, - "loc": { - "start": { - "line": 158, - "column": 20 - }, - "end": { - "line": 158, - "column": 38 - }, - "identifierName": "aggregatedIconData" - }, - "name": "aggregatedIconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 4851, - "end": 4852, - "loc": { - "start": { - "line": 158, - "column": 39 - }, - "end": { - "line": 158, - "column": 40 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "Identifier", - "start": 4856, - "end": 4865, - "loc": { - "start": { - "line": 158, - "column": 44 - }, - "end": { - "line": 158, - "column": 53 - }, - "identifierName": "iconWidth" - }, - "name": "iconWidth" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " iconWidth", - "start": 4798, - "end": 4810, - "loc": { - "start": { - "line": 157, - "column": 20 - }, - "end": { - "line": 157, - "column": 32 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " iconHeight", - "start": 4888, - "end": 4901, - "loc": { - "start": { - "line": 159, - "column": 20 - }, - "end": { - "line": 159, - "column": 33 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 4923, - "end": 4958, - "loc": { - "start": { - "line": 160, - "column": 20 - }, - "end": { - "line": 160, - "column": 55 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 4923, - "end": 4957, - "loc": { - "start": { - "line": 160, - "column": 20 - }, - "end": { - "line": 160, - "column": 54 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 4923, - "end": 4944, - "loc": { - "start": { - "line": 160, - "column": 20 - }, - "end": { - "line": 160, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 4923, - "end": 4941, - "loc": { - "start": { - "line": 160, - "column": 20 - }, - "end": { - "line": 160, - "column": 38 - }, - "identifierName": "aggregatedIconData" - }, - "name": "aggregatedIconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 4942, - "end": 4943, - "loc": { - "start": { - "line": 160, - "column": 39 - }, - "end": { - "line": 160, - "column": 40 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "Identifier", - "start": 4947, - "end": 4957, - "loc": { - "start": { - "line": 160, - "column": 44 - }, - "end": { - "line": 160, - "column": 54 - }, - "identifierName": "iconHeight" - }, - "name": "iconHeight" - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " iconHeight", - "start": 4888, - "end": 4901, - "loc": { - "start": { - "line": 159, - "column": 20 - }, - "end": { - "line": 159, - "column": 33 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " frame delay", - "start": 4980, - "end": 4994, - "loc": { - "start": { - "line": 161, - "column": 20 - }, - "end": { - "line": 161, - "column": 34 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 5016, - "end": 5050, - "loc": { - "start": { - "line": 162, - "column": 20 - }, - "end": { - "line": 162, - "column": 54 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 5016, - "end": 5049, - "loc": { - "start": { - "line": 162, - "column": 20 - }, - "end": { - "line": 162, - "column": 53 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 5016, - "end": 5037, - "loc": { - "start": { - "line": 162, - "column": 20 - }, - "end": { - "line": 162, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 5016, - "end": 5034, - "loc": { - "start": { - "line": 162, - "column": 20 - }, - "end": { - "line": 162, - "column": 38 - }, - "identifierName": "aggregatedIconData" - }, - "name": "aggregatedIconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 5035, - "end": 5036, - "loc": { - "start": { - "line": 162, - "column": 39 - }, - "end": { - "line": 162, - "column": 40 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "MemberExpression", - "start": 5040, - "end": 5049, - "loc": { - "start": { - "line": 162, - "column": 44 - }, - "end": { - "line": 162, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 5040, - "end": 5046, - "loc": { - "start": { - "line": 162, - "column": 44 - }, - "end": { - "line": 162, - "column": 50 - }, - "identifierName": "pState" - }, - "name": "pState" - }, - "property": { - "type": "NumericLiteral", - "start": 5047, - "end": 5048, - "loc": { - "start": { - "line": 162, - "column": 51 - }, - "end": { - "line": 162, - "column": 52 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - "computed": true - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " frame delay", - "start": 4980, - "end": 4994, - "loc": { - "start": { - "line": 161, - "column": 20 - }, - "end": { - "line": 161, - "column": 34 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " iconDataURL", - "start": 5072, - "end": 5086, - "loc": { - "start": { - "line": 163, - "column": 20 - }, - "end": { - "line": 163, - "column": 34 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 5108, - "end": 5142, - "loc": { - "start": { - "line": 164, - "column": 20 - }, - "end": { - "line": 164, - "column": 54 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 5108, - "end": 5141, - "loc": { - "start": { - "line": 164, - "column": 20 - }, - "end": { - "line": 164, - "column": 53 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 5108, - "end": 5129, - "loc": { - "start": { - "line": 164, - "column": 20 - }, - "end": { - "line": 164, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 5108, - "end": 5126, - "loc": { - "start": { - "line": 164, - "column": 20 - }, - "end": { - "line": 164, - "column": 38 - }, - "identifierName": "aggregatedIconData" - }, - "name": "aggregatedIconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 5127, - "end": 5128, - "loc": { - "start": { - "line": 164, - "column": 39 - }, - "end": { - "line": 164, - "column": 40 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "MemberExpression", - "start": 5132, - "end": 5141, - "loc": { - "start": { - "line": 164, - "column": 44 - }, - "end": { - "line": 164, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 5132, - "end": 5138, - "loc": { - "start": { - "line": 164, - "column": 44 - }, - "end": { - "line": 164, - "column": 50 - }, - "identifierName": "pState" - }, - "name": "pState" - }, - "property": { - "type": "NumericLiteral", - "start": 5139, - "end": 5140, - "loc": { - "start": { - "line": 164, - "column": 51 - }, - "end": { - "line": 164, - "column": 52 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " iconDataURL", - "start": 5072, - "end": 5086, - "loc": { - "start": { - "line": 163, - "column": 20 - }, - "end": { - "line": 163, - "column": 34 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " frame array", - "start": 5164, - "end": 5178, - "loc": { - "start": { - "line": 165, - "column": 20 - }, - "end": { - "line": 165, - "column": 34 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 5200, - "end": 5234, - "loc": { - "start": { - "line": 166, - "column": 20 - }, - "end": { - "line": 166, - "column": 54 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 5200, - "end": 5233, - "loc": { - "start": { - "line": 166, - "column": 20 - }, - "end": { - "line": 166, - "column": 53 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 5200, - "end": 5221, - "loc": { - "start": { - "line": 166, - "column": 20 - }, - "end": { - "line": 166, - "column": 41 - } - }, - "object": { - "type": "Identifier", - "start": 5200, - "end": 5218, - "loc": { - "start": { - "line": 166, - "column": 20 - }, - "end": { - "line": 166, - "column": 38 - }, - "identifierName": "aggregatedIconData" - }, - "name": "aggregatedIconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 5219, - "end": 5220, - "loc": { - "start": { - "line": 166, - "column": 39 - }, - "end": { - "line": 166, - "column": 40 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "MemberExpression", - "start": 5224, - "end": 5233, - "loc": { - "start": { - "line": 166, - "column": 44 - }, - "end": { - "line": 166, - "column": 53 - } - }, - "object": { - "type": "Identifier", - "start": 5224, - "end": 5230, - "loc": { - "start": { - "line": 166, - "column": 44 - }, - "end": { - "line": 166, - "column": 50 - }, - "identifierName": "pState" - }, - "name": "pState" - }, - "property": { - "type": "NumericLiteral", - "start": 5231, - "end": 5232, - "loc": { - "start": { - "line": 166, - "column": 51 - }, - "end": { - "line": 166, - "column": 52 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - "computed": true - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " frame array", - "start": 5164, - "end": 5178, - "loc": { - "start": { - "line": 165, - "column": 20 - }, - "end": { - "line": 165, - "column": 34 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 5256, - "end": 5290, - "loc": { - "start": { - "line": 167, - "column": 20 - }, - "end": { - "line": 167, - "column": 54 - } - }, - "expression": { - "type": "CallExpression", - "start": 5256, - "end": 5289, - "loc": { - "start": { - "line": 167, - "column": 20 - }, - "end": { - "line": 167, - "column": 53 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5256, - "end": 5269, - "loc": { - "start": { - "line": 167, - "column": 20 - }, - "end": { - "line": 167, - "column": 33 - } - }, - "object": { - "type": "ThisExpression", - "start": 5256, - "end": 5260, - "loc": { - "start": { - "line": 167, - "column": 20 - }, - "end": { - "line": 167, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "start": 5261, - "end": 5269, - "loc": { - "start": { - "line": 167, - "column": 25 - }, - "end": { - "line": 167, - "column": 33 - }, - "identifierName": "addState" - }, - "name": "addState" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 5270, - "end": 5288, - "loc": { - "start": { - "line": 167, - "column": 34 - }, - "end": { - "line": 167, - "column": 52 - }, - "identifierName": "aggregatedIconData" - }, - "name": "aggregatedIconData" - } - ] - } - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If the state array has data then we need to store it.", - "start": 4180, - "end": 4236, - "loc": { - "start": { - "line": 149, - "column": 12 - }, - "end": { - "line": 149, - "column": 68 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Check if the states data is an array", - "start": 4085, - "end": 4124, - "loc": { - "start": { - "line": 147, - "column": 8 - }, - "end": { - "line": 147, - "column": 47 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n ", - "start": 2849, - "end": 3026, - "loc": { - "start": { - "line": 114, - "column": 4 - }, - "end": { - "line": 118, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 5350, - "end": 5558, - "loc": { - "start": { - "line": 172, - "column": 4 - }, - "end": { - "line": 177, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5564, - "end": 5778, - "loc": { - "start": { - "line": 178, - "column": 4 - }, - "end": { - "line": 185, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5564, - "end": 5571, - "loc": { - "start": { - "line": 178, - "column": 4 - }, - "end": { - "line": 178, - "column": 11 - }, - "identifierName": "setSize" - }, - "name": "setSize", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 5572, - "end": 5578, - "loc": { - "start": { - "line": 178, - "column": 12 - }, - "end": { - "line": 178, - "column": 18 - }, - "identifierName": "pWidth" - }, - "name": "pWidth" - }, - { - "type": "Identifier", - "start": 5580, - "end": 5587, - "loc": { - "start": { - "line": 178, - "column": 20 - }, - "end": { - "line": 178, - "column": 27 - }, - "identifierName": "pHeight" - }, - "name": "pHeight" - } - ], - "body": { - "type": "BlockStatement", - "start": 5589, - "end": 5778, - "loc": { - "start": { - "line": 178, - "column": 29 - }, - "end": { - "line": 185, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 5600, - "end": 5679, - "loc": { - "start": { - "line": 179, - "column": 8 - }, - "end": { - "line": 181, - "column": 9 - } - }, - "test": { - "type": "BinaryExpression", - "start": 5604, - "end": 5631, - "loc": { - "start": { - "line": 179, - "column": 12 - }, - "end": { - "line": 179, - "column": 39 - } - }, - "left": { - "type": "UnaryExpression", - "start": 5604, - "end": 5618, - "loc": { - "start": { - "line": 179, - "column": 12 - }, - "end": { - "line": 179, - "column": 26 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 5611, - "end": 5617, - "loc": { - "start": { - "line": 179, - "column": 19 - }, - "end": { - "line": 179, - "column": 25 - }, - "identifierName": "pWidth" - }, - "name": "pWidth", - "extra": { - "parenthesized": true, - "parenStart": 5610 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 5623, - "end": 5631, - "loc": { - "start": { - "line": 179, - "column": 31 - }, - "end": { - "line": 179, - "column": 39 - } - }, - "extra": { - "rawValue": "number", - "raw": "'number'" - }, - "value": "number" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 5633, - "end": 5679, - "loc": { - "start": { - "line": 179, - "column": 41 - }, - "end": { - "line": 181, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 5648, - "end": 5668, - "loc": { - "start": { - "line": 180, - "column": 12 - }, - "end": { - "line": 180, - "column": 32 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 5648, - "end": 5667, - "loc": { - "start": { - "line": 180, - "column": 12 - }, - "end": { - "line": 180, - "column": 31 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 5648, - "end": 5658, - "loc": { - "start": { - "line": 180, - "column": 12 - }, - "end": { - "line": 180, - "column": 22 - } - }, - "object": { - "type": "ThisExpression", - "start": 5648, - "end": 5652, - "loc": { - "start": { - "line": 180, - "column": 12 - }, - "end": { - "line": 180, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "start": 5653, - "end": 5658, - "loc": { - "start": { - "line": 180, - "column": 17 - }, - "end": { - "line": 180, - "column": 22 - }, - "identifierName": "width" - }, - "name": "width" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 5661, - "end": 5667, - "loc": { - "start": { - "line": 180, - "column": 25 - }, - "end": { - "line": 180, - "column": 31 - }, - "identifierName": "pWidth" - }, - "name": "pWidth" - } - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 5689, - "end": 5771, - "loc": { - "start": { - "line": 182, - "column": 8 - }, - "end": { - "line": 184, - "column": 9 - } - }, - "test": { - "type": "BinaryExpression", - "start": 5693, - "end": 5721, - "loc": { - "start": { - "line": 182, - "column": 12 - }, - "end": { - "line": 182, - "column": 40 - } - }, - "left": { - "type": "UnaryExpression", - "start": 5693, - "end": 5708, - "loc": { - "start": { - "line": 182, - "column": 12 - }, - "end": { - "line": 182, - "column": 27 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 5700, - "end": 5707, - "loc": { - "start": { - "line": 182, - "column": 19 - }, - "end": { - "line": 182, - "column": 26 - }, - "identifierName": "pHeight" - }, - "name": "pHeight", - "extra": { - "parenthesized": true, - "parenStart": 5699 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 5713, - "end": 5721, - "loc": { - "start": { - "line": 182, - "column": 32 - }, - "end": { - "line": 182, - "column": 40 - } - }, - "extra": { - "rawValue": "number", - "raw": "'number'" - }, - "value": "number" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 5723, - "end": 5771, - "loc": { - "start": { - "line": 182, - "column": 42 - }, - "end": { - "line": 184, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 5738, - "end": 5760, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 5738, - "end": 5759, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 5738, - "end": 5749, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 5738, - "end": 5742, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "start": 5743, - "end": 5749, - "loc": { - "start": { - "line": 183, - "column": 17 - }, - "end": { - "line": 183, - "column": 23 - }, - "identifierName": "height" - }, - "name": "height" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 5752, - "end": 5759, - "loc": { - "start": { - "line": 183, - "column": 26 - }, - "end": { - "line": 183, - "column": 33 - }, - "identifierName": "pHeight" - }, - "name": "pHeight" - } - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 5350, - "end": 5558, - "loc": { - "start": { - "line": 172, - "column": 4 - }, - "end": { - "line": 177, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n ", - "start": 5784, - "end": 5935, - "loc": { - "start": { - "line": 186, - "column": 4 - }, - "end": { - "line": 189, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5941, - "end": 6019, - "loc": { - "start": { - "line": 190, - "column": 4 - }, - "end": { - "line": 192, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5941, - "end": 5948, - "loc": { - "start": { - "line": 190, - "column": 4 - }, - "end": { - "line": 190, - "column": 11 - }, - "identifierName": "getSize" - }, - "name": "getSize", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 5951, - "end": 6019, - "loc": { - "start": { - "line": 190, - "column": 14 - }, - "end": { - "line": 192, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 5962, - "end": 6012, - "loc": { - "start": { - "line": 191, - "column": 8 - }, - "end": { - "line": 191, - "column": 58 - } - }, - "argument": { - "type": "ObjectExpression", - "start": 5969, - "end": 6011, - "loc": { - "start": { - "line": 191, - "column": 15 - }, - "end": { - "line": 191, - "column": 57 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 5971, - "end": 5988, - "loc": { - "start": { - "line": 191, - "column": 17 - }, - "end": { - "line": 191, - "column": 34 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5971, - "end": 5976, - "loc": { - "start": { - "line": 191, - "column": 17 - }, - "end": { - "line": 191, - "column": 22 - }, - "identifierName": "width" - }, - "name": "width" - }, - "value": { - "type": "MemberExpression", - "start": 5978, - "end": 5988, - "loc": { - "start": { - "line": 191, - "column": 24 - }, - "end": { - "line": 191, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 5978, - "end": 5982, - "loc": { - "start": { - "line": 191, - "column": 24 - }, - "end": { - "line": 191, - "column": 28 - } - } - }, - "property": { - "type": "Identifier", - "start": 5983, - "end": 5988, - "loc": { - "start": { - "line": 191, - "column": 29 - }, - "end": { - "line": 191, - "column": 34 - }, - "identifierName": "width" - }, - "name": "width" - }, - "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 5990, - "end": 6009, - "loc": { - "start": { - "line": 191, - "column": 36 - }, - "end": { - "line": 191, - "column": 55 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5990, - "end": 5996, - "loc": { - "start": { - "line": 191, - "column": 36 - }, - "end": { - "line": 191, - "column": 42 - }, - "identifierName": "height" - }, - "name": "height" - }, - "value": { - "type": "MemberExpression", - "start": 5998, - "end": 6009, - "loc": { - "start": { - "line": 191, - "column": 44 - }, - "end": { - "line": 191, - "column": 55 - } - }, - "object": { - "type": "ThisExpression", - "start": 5998, - "end": 6002, - "loc": { - "start": { - "line": 191, - "column": 44 - }, - "end": { - "line": 191, - "column": 48 - } - } - }, - "property": { - "type": "Identifier", - "start": 6003, - "end": 6009, - "loc": { - "start": { - "line": 191, - "column": 49 - }, - "end": { - "line": 191, - "column": 55 - }, - "identifierName": "height" - }, - "name": "height" - }, - "computed": false - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n ", - "start": 5784, - "end": 5935, - "loc": { - "start": { - "line": 186, - "column": 4 - }, - "end": { - "line": 189, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6025, - "end": 6188, - "loc": { - "start": { - "line": 193, - "column": 4 - }, - "end": { - "line": 197, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 6194, - "end": 6492, - "loc": { - "start": { - "line": 198, - "column": 4 - }, - "end": { - "line": 207, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6194, - "end": 6204, - "loc": { - "start": { - "line": 198, - "column": 4 - }, - "end": { - "line": 198, - "column": 14 - }, - "identifierName": "setDataURL" - }, - "name": "setDataURL", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 6205, - "end": 6213, - "loc": { - "start": { - "line": 198, - "column": 15 - }, - "end": { - "line": 198, - "column": 23 - }, - "identifierName": "pDataURL" - }, - "name": "pDataURL" - } - ], - "body": { - "type": "BlockStatement", - "start": 6215, - "end": 6492, - "loc": { - "start": { - "line": 198, - "column": 25 - }, - "end": { - "line": 207, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 6226, - "end": 6463, - "loc": { - "start": { - "line": 199, - "column": 8 - }, - "end": { - "line": 205, - "column": 9 - } - }, - "test": { - "type": "Identifier", - "start": 6230, - "end": 6238, - "loc": { - "start": { - "line": 199, - "column": 12 - }, - "end": { - "line": 199, - "column": 20 - }, - "identifierName": "pDataURL" - }, - "name": "pDataURL" - }, - "consequent": { - "type": "BlockStatement", - "start": 6240, - "end": 6463, - "loc": { - "start": { - "line": 199, - "column": 22 - }, - "end": { - "line": 205, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 6255, - "end": 6452, - "loc": { - "start": { - "line": 200, - "column": 12 - }, - "end": { - "line": 204, - "column": 13 - } - }, - "test": { - "type": "BinaryExpression", - "start": 6259, - "end": 6288, - "loc": { - "start": { - "line": 200, - "column": 16 - }, - "end": { - "line": 200, - "column": 45 - } - }, - "left": { - "type": "UnaryExpression", - "start": 6259, - "end": 6275, - "loc": { - "start": { - "line": 200, - "column": 16 - }, - "end": { - "line": 200, - "column": 32 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 6266, - "end": 6274, - "loc": { - "start": { - "line": 200, - "column": 23 - }, - "end": { - "line": 200, - "column": 31 - }, - "identifierName": "pDataURL" - }, - "name": "pDataURL", - "extra": { - "parenthesized": true, - "parenStart": 6265 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 6280, - "end": 6288, - "loc": { - "start": { - "line": 200, - "column": 37 - }, - "end": { - "line": 200, - "column": 45 - } - }, - "extra": { - "rawValue": "string", - "raw": "'string'" - }, - "value": "string" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 6290, - "end": 6348, - "loc": { - "start": { - "line": 200, - "column": 47 - }, - "end": { - "line": 202, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 6309, - "end": 6333, - "loc": { - "start": { - "line": 201, - "column": 16 - }, - "end": { - "line": 201, - "column": 40 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 6309, - "end": 6332, - "loc": { - "start": { - "line": 201, - "column": 16 - }, - "end": { - "line": 201, - "column": 39 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 6309, - "end": 6321, - "loc": { - "start": { - "line": 201, - "column": 16 - }, - "end": { - "line": 201, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 6309, - "end": 6313, - "loc": { - "start": { - "line": 201, - "column": 16 - }, - "end": { - "line": 201, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 6314, - "end": 6321, - "loc": { - "start": { - "line": 201, - "column": 21 - }, - "end": { - "line": 201, - "column": 28 - }, - "identifierName": "dataURL" - }, - "name": "dataURL" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 6324, - "end": 6332, - "loc": { - "start": { - "line": 201, - "column": 31 - }, - "end": { - "line": 201, - "column": 39 - }, - "identifierName": "pDataURL" - }, - "name": "pDataURL" - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 6354, - "end": 6452, - "loc": { - "start": { - "line": 202, - "column": 19 - }, - "end": { - "line": 204, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 6373, - "end": 6437, - "loc": { - "start": { - "line": 203, - "column": 16 - }, - "end": { - "line": 203, - "column": 80 - } - }, - "expression": { - "type": "CallExpression", - "start": 6373, - "end": 6436, - "loc": { - "start": { - "line": 203, - "column": 16 - }, - "end": { - "line": 203, - "column": 79 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6373, - "end": 6410, - "loc": { - "start": { - "line": 203, - "column": 16 - }, - "end": { - "line": 203, - "column": 53 - } - }, - "object": { - "type": "CallExpression", - "start": 6373, - "end": 6404, - "loc": { - "start": { - "line": 203, - "column": 16 - }, - "end": { - "line": 203, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6373, - "end": 6390, - "loc": { - "start": { - "line": 203, - "column": 16 - }, - "end": { - "line": 203, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 6373, - "end": 6383, - "loc": { - "start": { - "line": 203, - "column": 16 - }, - "end": { - "line": 203, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 6373, - "end": 6376, - "loc": { - "start": { - "line": 203, - "column": 16 - }, - "end": { - "line": 203, - "column": 19 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 6377, - "end": 6383, - "loc": { - "start": { - "line": 203, - "column": 20 - }, - "end": { - "line": 203, - "column": 26 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6384, - "end": 6390, - "loc": { - "start": { - "line": 203, - "column": 27 - }, - "end": { - "line": 203, - "column": 33 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 6391, - "end": 6403, - "loc": { - "start": { - "line": 203, - "column": 34 - }, - "end": { - "line": 203, - "column": 46 - } - }, - "extra": { - "rawValue": "VYI-module", - "raw": "'VYI-module'" - }, - "value": "VYI-module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 6405, - "end": 6410, - "loc": { - "start": { - "line": 203, - "column": 48 - }, - "end": { - "line": 203, - "column": 53 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 6411, - "end": 6435, - "loc": { - "start": { - "line": 203, - "column": 54 - }, - "end": { - "line": 203, - "column": 78 - } - }, - "extra": { - "rawValue": "Invalid data url type!", - "raw": "'Invalid data url type!'" - }, - "value": "Invalid data url type!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 6473, - "end": 6485, - "loc": { - "start": { - "line": 206, - "column": 8 - }, - "end": { - "line": 206, - "column": 20 - } - }, - "argument": { - "type": "ThisExpression", - "start": 6480, - "end": 6484, - "loc": { - "start": { - "line": 206, - "column": 15 - }, - "end": { - "line": 206, - "column": 19 - } - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6025, - "end": 6188, - "loc": { - "start": { - "line": 193, - "column": 4 - }, - "end": { - "line": 197, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 6498, - "end": 6610, - "loc": { - "start": { - "line": 208, - "column": 4 - }, - "end": { - "line": 211, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 6616, - "end": 6667, - "loc": { - "start": { - "line": 212, - "column": 4 - }, - "end": { - "line": 214, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6616, - "end": 6626, - "loc": { - "start": { - "line": 212, - "column": 4 - }, - "end": { - "line": 212, - "column": 14 - }, - "identifierName": "getDataURL" - }, - "name": "getDataURL", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 6629, - "end": 6667, - "loc": { - "start": { - "line": 212, - "column": 17 - }, - "end": { - "line": 214, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 6640, - "end": 6660, - "loc": { - "start": { - "line": 213, - "column": 8 - }, - "end": { - "line": 213, - "column": 28 - } - }, - "argument": { - "type": "MemberExpression", - "start": 6647, - "end": 6659, - "loc": { - "start": { - "line": 213, - "column": 15 - }, - "end": { - "line": 213, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 6647, - "end": 6651, - "loc": { - "start": { - "line": 213, - "column": 15 - }, - "end": { - "line": 213, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 6652, - "end": 6659, - "loc": { - "start": { - "line": 213, - "column": 20 - }, - "end": { - "line": 213, - "column": 27 - }, - "identifierName": "dataURL" - }, - "name": "dataURL" - }, - "computed": false - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 6498, - "end": 6610, - "loc": { - "start": { - "line": 208, - "column": 4 - }, - "end": { - "line": 211, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6673, - "end": 6837, - "loc": { - "start": { - "line": 215, - "column": 4 - }, - "end": { - "line": 219, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 6843, - "end": 7126, - "loc": { - "start": { - "line": 220, - "column": 4 - }, - "end": { - "line": 229, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6843, - "end": 6851, - "loc": { - "start": { - "line": 220, - "column": 4 - }, - "end": { - "line": 220, - "column": 12 - }, - "identifierName": "setDelay" - }, - "name": "setDelay", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 6852, - "end": 6858, - "loc": { - "start": { - "line": 220, - "column": 13 - }, - "end": { - "line": 220, - "column": 19 - }, - "identifierName": "pDelay" - }, - "name": "pDelay" - } - ], - "body": { - "type": "BlockStatement", - "start": 6860, - "end": 7126, - "loc": { - "start": { - "line": 220, - "column": 21 - }, - "end": { - "line": 229, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 6871, - "end": 7097, - "loc": { - "start": { - "line": 221, - "column": 8 - }, - "end": { - "line": 227, - "column": 9 - } - }, - "test": { - "type": "Identifier", - "start": 6875, - "end": 6881, - "loc": { - "start": { - "line": 221, - "column": 12 - }, - "end": { - "line": 221, - "column": 18 - }, - "identifierName": "pDelay" - }, - "name": "pDelay" - }, - "consequent": { - "type": "BlockStatement", - "start": 6883, - "end": 7097, - "loc": { - "start": { - "line": 221, - "column": 20 - }, - "end": { - "line": 227, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 6898, - "end": 7086, - "loc": { - "start": { - "line": 222, - "column": 12 - }, - "end": { - "line": 226, - "column": 13 - } - }, - "test": { - "type": "BinaryExpression", - "start": 6902, - "end": 6929, - "loc": { - "start": { - "line": 222, - "column": 16 - }, - "end": { - "line": 222, - "column": 43 - } - }, - "left": { - "type": "UnaryExpression", - "start": 6902, - "end": 6916, - "loc": { - "start": { - "line": 222, - "column": 16 - }, - "end": { - "line": 222, - "column": 30 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 6909, - "end": 6915, - "loc": { - "start": { - "line": 222, - "column": 23 - }, - "end": { - "line": 222, - "column": 29 - }, - "identifierName": "pDelay" - }, - "name": "pDelay", - "extra": { - "parenthesized": true, - "parenStart": 6908 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 6921, - "end": 6929, - "loc": { - "start": { - "line": 222, - "column": 35 - }, - "end": { - "line": 222, - "column": 43 - } - }, - "extra": { - "rawValue": "number", - "raw": "'number'" - }, - "value": "number" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 6931, - "end": 6985, - "loc": { - "start": { - "line": 222, - "column": 45 - }, - "end": { - "line": 224, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 6950, - "end": 6970, - "loc": { - "start": { - "line": 223, - "column": 16 - }, - "end": { - "line": 223, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 6950, - "end": 6969, - "loc": { - "start": { - "line": 223, - "column": 16 - }, - "end": { - "line": 223, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 6950, - "end": 6960, - "loc": { - "start": { - "line": 223, - "column": 16 - }, - "end": { - "line": 223, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 6950, - "end": 6954, - "loc": { - "start": { - "line": 223, - "column": 16 - }, - "end": { - "line": 223, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 6955, - "end": 6960, - "loc": { - "start": { - "line": 223, - "column": 21 - }, - "end": { - "line": 223, - "column": 26 - }, - "identifierName": "delay" - }, - "name": "delay" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 6963, - "end": 6969, - "loc": { - "start": { - "line": 223, - "column": 29 - }, - "end": { - "line": 223, - "column": 35 - }, - "identifierName": "pDelay" - }, - "name": "pDelay" - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 6991, - "end": 7086, - "loc": { - "start": { - "line": 224, - "column": 19 - }, - "end": { - "line": 226, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 7010, - "end": 7071, - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 77 - } - }, - "expression": { - "type": "CallExpression", - "start": 7010, - "end": 7070, - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 76 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7010, - "end": 7047, - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 53 - } - }, - "object": { - "type": "CallExpression", - "start": 7010, - "end": 7041, - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7010, - "end": 7027, - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 7010, - "end": 7020, - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 7010, - "end": 7013, - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 19 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 7014, - "end": 7020, - "loc": { - "start": { - "line": 225, - "column": 20 - }, - "end": { - "line": 225, - "column": 26 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 7021, - "end": 7027, - "loc": { - "start": { - "line": 225, - "column": 27 - }, - "end": { - "line": 225, - "column": 33 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 7028, - "end": 7040, - "loc": { - "start": { - "line": 225, - "column": 34 - }, - "end": { - "line": 225, - "column": 46 - } - }, - "extra": { - "rawValue": "VYI-module", - "raw": "'VYI-module'" - }, - "value": "VYI-module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 7042, - "end": 7047, - "loc": { - "start": { - "line": 225, - "column": 48 - }, - "end": { - "line": 225, - "column": 53 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 7048, - "end": 7069, - "loc": { - "start": { - "line": 225, - "column": 54 - }, - "end": { - "line": 225, - "column": 75 - } - }, - "extra": { - "rawValue": "Invalid delay type!", - "raw": "'Invalid delay type!'" - }, - "value": "Invalid delay type!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 7107, - "end": 7119, - "loc": { - "start": { - "line": 228, - "column": 8 - }, - "end": { - "line": 228, - "column": 20 - } - }, - "argument": { - "type": "ThisExpression", - "start": 7114, - "end": 7118, - "loc": { - "start": { - "line": 228, - "column": 15 - }, - "end": { - "line": 228, - "column": 19 - } - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6673, - "end": 6837, - "loc": { - "start": { - "line": 215, - "column": 4 - }, - "end": { - "line": 219, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n ", - "start": 7132, - "end": 7231, - "loc": { - "start": { - "line": 230, - "column": 4 - }, - "end": { - "line": 233, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 7237, - "end": 7284, - "loc": { - "start": { - "line": 234, - "column": 4 - }, - "end": { - "line": 236, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7237, - "end": 7245, - "loc": { - "start": { - "line": 234, - "column": 4 - }, - "end": { - "line": 234, - "column": 12 - }, - "identifierName": "getDelay" - }, - "name": "getDelay", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 7248, - "end": 7284, - "loc": { - "start": { - "line": 234, - "column": 15 - }, - "end": { - "line": 236, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 7259, - "end": 7277, - "loc": { - "start": { - "line": 235, - "column": 8 - }, - "end": { - "line": 235, - "column": 26 - } - }, - "argument": { - "type": "MemberExpression", - "start": 7266, - "end": 7276, - "loc": { - "start": { - "line": 235, - "column": 15 - }, - "end": { - "line": 235, - "column": 25 - } - }, - "object": { - "type": "ThisExpression", - "start": 7266, - "end": 7270, - "loc": { - "start": { - "line": 235, - "column": 15 - }, - "end": { - "line": 235, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 7271, - "end": 7276, - "loc": { - "start": { - "line": 235, - "column": 20 - }, - "end": { - "line": 235, - "column": 25 - }, - "identifierName": "delay" - }, - "name": "delay" - }, - "computed": false - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n ", - "start": 7132, - "end": 7231, - "loc": { - "start": { - "line": 230, - "column": 4 - }, - "end": { - "line": 233, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 7290, - "end": 7443, - "loc": { - "start": { - "line": 237, - "column": 4 - }, - "end": { - "line": 241, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 7449, - "end": 7745, - "loc": { - "start": { - "line": 242, - "column": 4 - }, - "end": { - "line": 251, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7449, - "end": 7455, - "loc": { - "start": { - "line": 242, - "column": 4 - }, - "end": { - "line": 242, - "column": 10 - }, - "identifierName": "rename" - }, - "name": "rename", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 7456, - "end": 7461, - "loc": { - "start": { - "line": 242, - "column": 11 - }, - "end": { - "line": 242, - "column": 16 - }, - "identifierName": "pName" - }, - "name": "pName" - } - ], - "body": { - "type": "BlockStatement", - "start": 7463, - "end": 7745, - "loc": { - "start": { - "line": 242, - "column": 18 - }, - "end": { - "line": 251, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 7474, - "end": 7716, - "loc": { - "start": { - "line": 243, - "column": 8 - }, - "end": { - "line": 249, - "column": 9 - } - }, - "test": { - "type": "LogicalExpression", - "start": 7478, - "end": 7499, - "loc": { - "start": { - "line": 243, - "column": 12 - }, - "end": { - "line": 243, - "column": 33 - } - }, - "left": { - "type": "Identifier", - "start": 7478, - "end": 7483, - "loc": { - "start": { - "line": 243, - "column": 12 - }, - "end": { - "line": 243, - "column": 17 - }, - "identifierName": "pName" - }, - "name": "pName" - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 7487, - "end": 7499, - "loc": { - "start": { - "line": 243, - "column": 21 - }, - "end": { - "line": 243, - "column": 33 - } - }, - "left": { - "type": "Identifier", - "start": 7487, - "end": 7492, - "loc": { - "start": { - "line": 243, - "column": 21 - }, - "end": { - "line": 243, - "column": 26 - }, - "identifierName": "pName" - }, - "name": "pName" - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 7497, - "end": 7499, - "loc": { - "start": { - "line": 243, - "column": 31 - }, - "end": { - "line": 243, - "column": 33 - } - }, - "extra": { - "rawValue": "", - "raw": "''" - }, - "value": "" - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 7501, - "end": 7716, - "loc": { - "start": { - "line": 243, - "column": 35 - }, - "end": { - "line": 249, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 7516, - "end": 7705, - "loc": { - "start": { - "line": 244, - "column": 12 - }, - "end": { - "line": 248, - "column": 13 - } - }, - "test": { - "type": "BinaryExpression", - "start": 7520, - "end": 7546, - "loc": { - "start": { - "line": 244, - "column": 16 - }, - "end": { - "line": 244, - "column": 42 - } - }, - "left": { - "type": "UnaryExpression", - "start": 7520, - "end": 7533, - "loc": { - "start": { - "line": 244, - "column": 16 - }, - "end": { - "line": 244, - "column": 29 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 7527, - "end": 7532, - "loc": { - "start": { - "line": 244, - "column": 23 - }, - "end": { - "line": 244, - "column": 28 - }, - "identifierName": "pName" - }, - "name": "pName", - "extra": { - "parenthesized": true, - "parenStart": 7526 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 7538, - "end": 7546, - "loc": { - "start": { - "line": 244, - "column": 34 - }, - "end": { - "line": 244, - "column": 42 - } - }, - "extra": { - "rawValue": "string", - "raw": "'string'" - }, - "value": "string" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 7548, - "end": 7600, - "loc": { - "start": { - "line": 244, - "column": 44 - }, - "end": { - "line": 246, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 7567, - "end": 7585, - "loc": { - "start": { - "line": 245, - "column": 16 - }, - "end": { - "line": 245, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 7567, - "end": 7584, - "loc": { - "start": { - "line": 245, - "column": 16 - }, - "end": { - "line": 245, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 7567, - "end": 7576, - "loc": { - "start": { - "line": 245, - "column": 16 - }, - "end": { - "line": 245, - "column": 25 - } - }, - "object": { - "type": "ThisExpression", - "start": 7567, - "end": 7571, - "loc": { - "start": { - "line": 245, - "column": 16 - }, - "end": { - "line": 245, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 7572, - "end": 7576, - "loc": { - "start": { - "line": 245, - "column": 21 - }, - "end": { - "line": 245, - "column": 25 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 7579, - "end": 7584, - "loc": { - "start": { - "line": 245, - "column": 28 - }, - "end": { - "line": 245, - "column": 33 - }, - "identifierName": "pName" - }, - "name": "pName" - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 7606, - "end": 7705, - "loc": { - "start": { - "line": 246, - "column": 19 - }, - "end": { - "line": 248, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 7625, - "end": 7690, - "loc": { - "start": { - "line": 247, - "column": 16 - }, - "end": { - "line": 247, - "column": 81 - } - }, - "expression": { - "type": "CallExpression", - "start": 7625, - "end": 7689, - "loc": { - "start": { - "line": 247, - "column": 16 - }, - "end": { - "line": 247, - "column": 80 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7625, - "end": 7662, - "loc": { - "start": { - "line": 247, - "column": 16 - }, - "end": { - "line": 247, - "column": 53 - } - }, - "object": { - "type": "CallExpression", - "start": 7625, - "end": 7656, - "loc": { - "start": { - "line": 247, - "column": 16 - }, - "end": { - "line": 247, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 7625, - "end": 7642, - "loc": { - "start": { - "line": 247, - "column": 16 - }, - "end": { - "line": 247, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 7625, - "end": 7635, - "loc": { - "start": { - "line": 247, - "column": 16 - }, - "end": { - "line": 247, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 7625, - "end": 7628, - "loc": { - "start": { - "line": 247, - "column": 16 - }, - "end": { - "line": 247, - "column": 19 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 7629, - "end": 7635, - "loc": { - "start": { - "line": 247, - "column": 20 - }, - "end": { - "line": 247, - "column": 26 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 7636, - "end": 7642, - "loc": { - "start": { - "line": 247, - "column": 27 - }, - "end": { - "line": 247, - "column": 33 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 7643, - "end": 7655, - "loc": { - "start": { - "line": 247, - "column": 34 - }, - "end": { - "line": 247, - "column": 46 - } - }, - "extra": { - "rawValue": "VYI-Module", - "raw": "'VYI-Module'" - }, - "value": "VYI-Module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 7657, - "end": 7662, - "loc": { - "start": { - "line": 247, - "column": 48 - }, - "end": { - "line": 247, - "column": 53 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 7663, - "end": 7688, - "loc": { - "start": { - "line": 247, - "column": 54 - }, - "end": { - "line": 247, - "column": 79 - } - }, - "extra": { - "rawValue": "Invalid type for pName!", - "raw": "'Invalid type for pName!'" - }, - "value": "Invalid type for pName!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 7726, - "end": 7738, - "loc": { - "start": { - "line": 250, - "column": 8 - }, - "end": { - "line": 250, - "column": 20 - } - }, - "argument": { - "type": "ThisExpression", - "start": 7733, - "end": 7737, - "loc": { - "start": { - "line": 250, - "column": 15 - }, - "end": { - "line": 250, - "column": 19 - } - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 7290, - "end": 7443, - "loc": { - "start": { - "line": 237, - "column": 4 - }, - "end": { - "line": 241, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n ", - "start": 7751, - "end": 7851, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 255, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 7857, - "end": 7902, - "loc": { - "start": { - "line": 256, - "column": 4 - }, - "end": { - "line": 258, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 7857, - "end": 7864, - "loc": { - "start": { - "line": 256, - "column": 4 - }, - "end": { - "line": 256, - "column": 11 - }, - "identifierName": "getName" - }, - "name": "getName", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 7867, - "end": 7902, - "loc": { - "start": { - "line": 256, - "column": 14 - }, - "end": { - "line": 258, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 7878, - "end": 7895, - "loc": { - "start": { - "line": 257, - "column": 8 - }, - "end": { - "line": 257, - "column": 25 - } - }, - "argument": { - "type": "MemberExpression", - "start": 7885, - "end": 7894, - "loc": { - "start": { - "line": 257, - "column": 15 - }, - "end": { - "line": 257, - "column": 24 - } - }, - "object": { - "type": "ThisExpression", - "start": 7885, - "end": 7889, - "loc": { - "start": { - "line": 257, - "column": 15 - }, - "end": { - "line": 257, - "column": 19 - } - } - }, - "property": { - "type": "Identifier", - "start": 7890, - "end": 7894, - "loc": { - "start": { - "line": 257, - "column": 20 - }, - "end": { - "line": 257, - "column": 24 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n ", - "start": 7751, - "end": 7851, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 255, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 7908, - "end": 8099, - "loc": { - "start": { - "line": 259, - "column": 4 - }, - "end": { - "line": 263, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 8105, - "end": 8522, - "loc": { - "start": { - "line": 264, - "column": 4 - }, - "end": { - "line": 276, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8105, - "end": 8122, - "loc": { - "start": { - "line": 264, - "column": 4 - }, - "end": { - "line": 264, - "column": 21 - }, - "identifierName": "setAllFrameDelays" - }, - "name": "setAllFrameDelays", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 8123, - "end": 8129, - "loc": { - "start": { - "line": 264, - "column": 22 - }, - "end": { - "line": 264, - "column": 28 - }, - "identifierName": "pDelay" - }, - "name": "pDelay" - } - ], - "body": { - "type": "BlockStatement", - "start": 8131, - "end": 8522, - "loc": { - "start": { - "line": 264, - "column": 30 - }, - "end": { - "line": 276, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 8142, - "end": 8493, - "loc": { - "start": { - "line": 265, - "column": 8 - }, - "end": { - "line": 274, - "column": 9 - } - }, - "test": { - "type": "Identifier", - "start": 8146, - "end": 8152, - "loc": { - "start": { - "line": 265, - "column": 12 - }, - "end": { - "line": 265, - "column": 18 - }, - "identifierName": "pDelay" - }, - "name": "pDelay" - }, - "consequent": { - "type": "BlockStatement", - "start": 8154, - "end": 8493, - "loc": { - "start": { - "line": 265, - "column": 20 - }, - "end": { - "line": 274, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 8169, - "end": 8482, - "loc": { - "start": { - "line": 266, - "column": 12 - }, - "end": { - "line": 273, - "column": 13 - } - }, - "test": { - "type": "BinaryExpression", - "start": 8173, - "end": 8200, - "loc": { - "start": { - "line": 266, - "column": 16 - }, - "end": { - "line": 266, - "column": 43 - } - }, - "left": { - "type": "UnaryExpression", - "start": 8173, - "end": 8187, - "loc": { - "start": { - "line": 266, - "column": 16 - }, - "end": { - "line": 266, - "column": 30 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 8180, - "end": 8186, - "loc": { - "start": { - "line": 266, - "column": 23 - }, - "end": { - "line": 266, - "column": 29 - }, - "identifierName": "pDelay" - }, - "name": "pDelay", - "extra": { - "parenthesized": true, - "parenStart": 8179 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 8192, - "end": 8200, - "loc": { - "start": { - "line": 266, - "column": 35 - }, - "end": { - "line": 266, - "column": 43 - } - }, - "extra": { - "rawValue": "number", - "raw": "'number'" - }, - "value": "number" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 8202, - "end": 8376, - "loc": { - "start": { - "line": 266, - "column": 45 - }, - "end": { - "line": 271, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8221, - "end": 8243, - "loc": { - "start": { - "line": 267, - "column": 16 - }, - "end": { - "line": 267, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 8221, - "end": 8242, - "loc": { - "start": { - "line": 267, - "column": 16 - }, - "end": { - "line": 267, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8221, - "end": 8234, - "loc": { - "start": { - "line": 267, - "column": 16 - }, - "end": { - "line": 267, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 8221, - "end": 8225, - "loc": { - "start": { - "line": 267, - "column": 16 - }, - "end": { - "line": 267, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 8226, - "end": 8234, - "loc": { - "start": { - "line": 267, - "column": 21 - }, - "end": { - "line": 267, - "column": 29 - }, - "identifierName": "setDelay" - }, - "name": "setDelay" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 8235, - "end": 8241, - "loc": { - "start": { - "line": 267, - "column": 30 - }, - "end": { - "line": 267, - "column": 36 - }, - "identifierName": "pDelay" - }, - "name": "pDelay" - } - ] - } - }, - { - "type": "ExpressionStatement", - "start": 8261, - "end": 8361, - "loc": { - "start": { - "line": 268, - "column": 16 - }, - "end": { - "line": 270, - "column": 19 - } - }, - "expression": { - "type": "CallExpression", - "start": 8261, - "end": 8360, - "loc": { - "start": { - "line": 268, - "column": 16 - }, - "end": { - "line": 270, - "column": 18 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8261, - "end": 8280, - "loc": { - "start": { - "line": 268, - "column": 16 - }, - "end": { - "line": 268, - "column": 35 - } - }, - "object": { - "type": "MemberExpression", - "start": 8261, - "end": 8272, - "loc": { - "start": { - "line": 268, - "column": 16 - }, - "end": { - "line": 268, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 8261, - "end": 8265, - "loc": { - "start": { - "line": 268, - "column": 16 - }, - "end": { - "line": 268, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 8266, - "end": 8272, - "loc": { - "start": { - "line": 268, - "column": 21 - }, - "end": { - "line": 268, - "column": 27 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8273, - "end": 8280, - "loc": { - "start": { - "line": 268, - "column": 28 - }, - "end": { - "line": 268, - "column": 35 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 8281, - "end": 8359, - "loc": { - "start": { - "line": 268, - "column": 36 - }, - "end": { - "line": 270, - "column": 17 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 8282, - "end": 8288, - "loc": { - "start": { - "line": 268, - "column": 37 - }, - "end": { - "line": 268, - "column": 43 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - } - ], - "body": { - "type": "BlockStatement", - "start": 8293, - "end": 8359, - "loc": { - "start": { - "line": 268, - "column": 48 - }, - "end": { - "line": 270, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8316, - "end": 8340, - "loc": { - "start": { - "line": 269, - "column": 20 - }, - "end": { - "line": 269, - "column": 44 - } - }, - "expression": { - "type": "CallExpression", - "start": 8316, - "end": 8339, - "loc": { - "start": { - "line": 269, - "column": 20 - }, - "end": { - "line": 269, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8316, - "end": 8331, - "loc": { - "start": { - "line": 269, - "column": 20 - }, - "end": { - "line": 269, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 8316, - "end": 8322, - "loc": { - "start": { - "line": 269, - "column": 20 - }, - "end": { - "line": 269, - "column": 26 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - }, - "property": { - "type": "Identifier", - "start": 8323, - "end": 8331, - "loc": { - "start": { - "line": 269, - "column": 27 - }, - "end": { - "line": 269, - "column": 35 - }, - "identifierName": "setDelay" - }, - "name": "setDelay" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 8332, - "end": 8338, - "loc": { - "start": { - "line": 269, - "column": 36 - }, - "end": { - "line": 269, - "column": 42 - }, - "identifierName": "pDelay" - }, - "name": "pDelay" - } - ] - } - } - ], - "directives": [] - } - } - ] - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 8382, - "end": 8482, - "loc": { - "start": { - "line": 271, - "column": 19 - }, - "end": { - "line": 273, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 8401, - "end": 8467, - "loc": { - "start": { - "line": 272, - "column": 16 - }, - "end": { - "line": 272, - "column": 82 - } - }, - "expression": { - "type": "CallExpression", - "start": 8401, - "end": 8466, - "loc": { - "start": { - "line": 272, - "column": 16 - }, - "end": { - "line": 272, - "column": 81 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8401, - "end": 8438, - "loc": { - "start": { - "line": 272, - "column": 16 - }, - "end": { - "line": 272, - "column": 53 - } - }, - "object": { - "type": "CallExpression", - "start": 8401, - "end": 8432, - "loc": { - "start": { - "line": 272, - "column": 16 - }, - "end": { - "line": 272, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8401, - "end": 8418, - "loc": { - "start": { - "line": 272, - "column": 16 - }, - "end": { - "line": 272, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 8401, - "end": 8411, - "loc": { - "start": { - "line": 272, - "column": 16 - }, - "end": { - "line": 272, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 8401, - "end": 8404, - "loc": { - "start": { - "line": 272, - "column": 16 - }, - "end": { - "line": 272, - "column": 19 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 8405, - "end": 8411, - "loc": { - "start": { - "line": 272, - "column": 20 - }, - "end": { - "line": 272, - "column": 26 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8412, - "end": 8418, - "loc": { - "start": { - "line": 272, - "column": 27 - }, - "end": { - "line": 272, - "column": 33 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 8419, - "end": 8431, - "loc": { - "start": { - "line": 272, - "column": 34 - }, - "end": { - "line": 272, - "column": 46 - } - }, - "extra": { - "rawValue": "VYI-Module", - "raw": "'VYI-Module'" - }, - "value": "VYI-Module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 8433, - "end": 8438, - "loc": { - "start": { - "line": 272, - "column": 48 - }, - "end": { - "line": 272, - "column": 53 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 8439, - "end": 8465, - "loc": { - "start": { - "line": 272, - "column": 54 - }, - "end": { - "line": 272, - "column": 80 - } - }, - "extra": { - "rawValue": "Invalid type for pDelay!", - "raw": "'Invalid type for pDelay!'" - }, - "value": "Invalid type for pDelay!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 8503, - "end": 8515, - "loc": { - "start": { - "line": 275, - "column": 8 - }, - "end": { - "line": 275, - "column": 20 - } - }, - "argument": { - "type": "ThisExpression", - "start": 8510, - "end": 8514, - "loc": { - "start": { - "line": 275, - "column": 15 - }, - "end": { - "line": 275, - "column": 19 - } - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 7908, - "end": 8099, - "loc": { - "start": { - "line": 259, - "column": 4 - }, - "end": { - "line": 263, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n ", - "start": 8528, - "end": 8755, - "loc": { - "start": { - "line": 277, - "column": 4 - }, - "end": { - "line": 281, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 8761, - "end": 9001, - "loc": { - "start": { - "line": 282, - "column": 4 - }, - "end": { - "line": 289, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 8761, - "end": 8769, - "loc": { - "start": { - "line": 282, - "column": 4 - }, - "end": { - "line": 282, - "column": 12 - }, - "identifierName": "addState" - }, - "name": "addState", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 8770, - "end": 8779, - "loc": { - "start": { - "line": 282, - "column": 13 - }, - "end": { - "line": 282, - "column": 22 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - } - ], - "body": { - "type": "BlockStatement", - "start": 8781, - "end": 9001, - "loc": { - "start": { - "line": 282, - "column": 24 - }, - "end": { - "line": 289, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 8792, - "end": 8994, - "loc": { - "start": { - "line": 283, - "column": 8 - }, - "end": { - "line": 288, - "column": 9 - } - }, - "test": { - "type": "BinaryExpression", - "start": 8796, - "end": 8823, - "loc": { - "start": { - "line": 283, - "column": 12 - }, - "end": { - "line": 283, - "column": 39 - } - }, - "left": { - "type": "Identifier", - "start": 8796, - "end": 8805, - "loc": { - "start": { - "line": 283, - "column": 12 - }, - "end": { - "line": 283, - "column": 21 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "operator": "instanceof", - "right": { - "type": "Identifier", - "start": 8817, - "end": 8823, - "loc": { - "start": { - "line": 283, - "column": 33 - }, - "end": { - "line": 283, - "column": 39 - }, - "identifierName": "Object" - }, - "name": "Object" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 8825, - "end": 8994, - "loc": { - "start": { - "line": 283, - "column": 41 - }, - "end": { - "line": 288, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 8840, - "end": 8884, - "loc": { - "start": { - "line": 284, - "column": 12 - }, - "end": { - "line": 284, - "column": 56 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 8846, - "end": 8883, - "loc": { - "start": { - "line": 284, - "column": 18 - }, - "end": { - "line": 284, - "column": 55 - } - }, - "id": { - "type": "Identifier", - "start": 8846, - "end": 8851, - "loc": { - "start": { - "line": 284, - "column": 18 - }, - "end": { - "line": 284, - "column": 23 - }, - "identifierName": "state" - }, - "name": "state" - }, - "init": { - "type": "NewExpression", - "start": 8854, - "end": 8883, - "loc": { - "start": { - "line": 284, - "column": 26 - }, - "end": { - "line": 284, - "column": 55 - } - }, - "callee": { - "type": "Identifier", - "start": 8858, - "end": 8862, - "loc": { - "start": { - "line": 284, - "column": 30 - }, - "end": { - "line": 284, - "column": 34 - }, - "identifierName": "Icon" - }, - "name": "Icon" - }, - "arguments": [ - { - "type": "Identifier", - "start": 8863, - "end": 8872, - "loc": { - "start": { - "line": 284, - "column": 35 - }, - "end": { - "line": 284, - "column": 44 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - { - "type": "MemberExpression", - "start": 8874, - "end": 8882, - "loc": { - "start": { - "line": 284, - "column": 46 - }, - "end": { - "line": 284, - "column": 54 - } - }, - "object": { - "type": "ThisExpression", - "start": 8874, - "end": 8878, - "loc": { - "start": { - "line": 284, - "column": 46 - }, - "end": { - "line": 284, - "column": 50 - } - } - }, - "property": { - "type": "Identifier", - "start": 8879, - "end": 8882, - "loc": { - "start": { - "line": 284, - "column": 51 - }, - "end": { - "line": 284, - "column": 54 - }, - "identifierName": "vyi" - }, - "name": "vyi" - }, - "computed": false - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 8898, - "end": 8918, - "loc": { - "start": { - "line": 285, - "column": 12 - }, - "end": { - "line": 285, - "column": 32 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 8898, - "end": 8917, - "loc": { - "start": { - "line": 285, - "column": 12 - }, - "end": { - "line": 285, - "column": 31 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 8898, - "end": 8910, - "loc": { - "start": { - "line": 285, - "column": 12 - }, - "end": { - "line": 285, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 8898, - "end": 8903, - "loc": { - "start": { - "line": 285, - "column": 12 - }, - "end": { - "line": 285, - "column": 17 - }, - "identifierName": "state" - }, - "name": "state" - }, - "property": { - "type": "Identifier", - "start": 8904, - "end": 8910, - "loc": { - "start": { - "line": 285, - "column": 18 - }, - "end": { - "line": 285, - "column": 24 - }, - "identifierName": "parent" - }, - "name": "parent" - }, - "computed": false - }, - "right": { - "type": "ThisExpression", - "start": 8913, - "end": 8917, - "loc": { - "start": { - "line": 285, - "column": 27 - }, - "end": { - "line": 285, - "column": 31 - } - } - } - } - }, - { - "type": "ExpressionStatement", - "start": 8932, - "end": 8956, - "loc": { - "start": { - "line": 286, - "column": 12 - }, - "end": { - "line": 286, - "column": 36 - } - }, - "expression": { - "type": "CallExpression", - "start": 8932, - "end": 8955, - "loc": { - "start": { - "line": 286, - "column": 12 - }, - "end": { - "line": 286, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 8932, - "end": 8948, - "loc": { - "start": { - "line": 286, - "column": 12 - }, - "end": { - "line": 286, - "column": 28 - } - }, - "object": { - "type": "MemberExpression", - "start": 8932, - "end": 8943, - "loc": { - "start": { - "line": 286, - "column": 12 - }, - "end": { - "line": 286, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 8932, - "end": 8936, - "loc": { - "start": { - "line": 286, - "column": 12 - }, - "end": { - "line": 286, - "column": 16 - } - } - }, - "property": { - "type": "Identifier", - "start": 8937, - "end": 8943, - "loc": { - "start": { - "line": 286, - "column": 17 - }, - "end": { - "line": 286, - "column": 23 - }, - "identifierName": "states" - }, - "name": "states" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 8944, - "end": 8948, - "loc": { - "start": { - "line": 286, - "column": 24 - }, - "end": { - "line": 286, - "column": 28 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 8949, - "end": 8954, - "loc": { - "start": { - "line": 286, - "column": 29 - }, - "end": { - "line": 286, - "column": 34 - }, - "identifierName": "state" - }, - "name": "state" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 8970, - "end": 8983, - "loc": { - "start": { - "line": 287, - "column": 12 - }, - "end": { - "line": 287, - "column": 25 - } - }, - "argument": { - "type": "Identifier", - "start": 8977, - "end": 8982, - "loc": { - "start": { - "line": 287, - "column": 19 - }, - "end": { - "line": 287, - "column": 24 - }, - "identifierName": "state" - }, - "name": "state" - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n ", - "start": 8528, - "end": 8755, - "loc": { - "start": { - "line": 277, - "column": 4 - }, - "end": { - "line": 281, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "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": 9007, - "end": 9388, - "loc": { - "start": { - "line": 290, - "column": 4 - }, - "end": { - "line": 295, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 9394, - "end": 10156, - "loc": { - "start": { - "line": 296, - "column": 4 - }, - "end": { - "line": 317, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 9394, - "end": 9405, - "loc": { - "start": { - "line": 296, - "column": 4 - }, - "end": { - "line": 296, - "column": 15 - }, - "identifierName": "removeState" - }, - "name": "removeState", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 9406, - "end": 9412, - "loc": { - "start": { - "line": 296, - "column": 16 - }, - "end": { - "line": 296, - "column": 22 - }, - "identifierName": "pState" - }, - "name": "pState" - }, - { - "type": "Identifier", - "start": 9414, - "end": 9419, - "loc": { - "start": { - "line": 296, - "column": 24 - }, - "end": { - "line": 296, - "column": 29 - }, - "identifierName": "pName" - }, - "name": "pName" - } - ], - "body": { - "type": "BlockStatement", - "start": 9421, - "end": 10156, - "loc": { - "start": { - "line": 296, - "column": 31 - }, - "end": { - "line": 317, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 9481, - "end": 9491, - "loc": { - "start": { - "line": 298, - "column": 8 - }, - "end": { - "line": 298, - "column": 18 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 9485, - "end": 9490, - "loc": { - "start": { - "line": 298, - "column": 12 - }, - "end": { - "line": 298, - "column": 17 - } - }, - "id": { - "type": "Identifier", - "start": 9485, - "end": 9490, - "loc": { - "start": { - "line": 298, - "column": 12 - }, - "end": { - "line": 298, - "column": 17 - }, - "identifierName": "index" - }, - "name": "index", - "leadingComments": null - }, - "init": null, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [ - { - "type": "CommentLine", - "value": " The index used to remove this frame.", - "start": 9432, - "end": 9471, - "loc": { - "start": { - "line": 297, - "column": 8 - }, - "end": { - "line": 297, - "column": 47 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Remove via reference to state.", - "start": 9501, - "end": 9534, - "loc": { - "start": { - "line": 299, - "column": 8 - }, - "end": { - "line": 299, - "column": 41 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 9544, - "end": 9997, - "loc": { - "start": { - "line": 300, - "column": 8 - }, - "end": { - "line": 311, - "column": 9 - } - }, - "test": { - "type": "CallExpression", - "start": 9548, - "end": 9576, - "loc": { - "start": { - "line": 300, - "column": 12 - }, - "end": { - "line": 300, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9548, - "end": 9568, - "loc": { - "start": { - "line": 300, - "column": 12 - }, - "end": { - "line": 300, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 9548, - "end": 9559, - "loc": { - "start": { - "line": 300, - "column": 12 - }, - "end": { - "line": 300, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 9548, - "end": 9552, - "loc": { - "start": { - "line": 300, - "column": 12 - }, - "end": { - "line": 300, - "column": 16 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 9553, - "end": 9559, - "loc": { - "start": { - "line": 300, - "column": 17 - }, - "end": { - "line": 300, - "column": 23 - }, - "identifierName": "states" - }, - "name": "states" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 9560, - "end": 9568, - "loc": { - "start": { - "line": 300, - "column": 24 - }, - "end": { - "line": 300, - "column": 32 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 9569, - "end": 9575, - "loc": { - "start": { - "line": 300, - "column": 33 - }, - "end": { - "line": 300, - "column": 39 - }, - "identifierName": "pState" - }, - "name": "pState" - } - ], - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 9578, - "end": 9681, - "loc": { - "start": { - "line": 300, - "column": 42 - }, - "end": { - "line": 303, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9593, - "end": 9629, - "loc": { - "start": { - "line": 301, - "column": 12 - }, - "end": { - "line": 301, - "column": 48 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9593, - "end": 9628, - "loc": { - "start": { - "line": 301, - "column": 12 - }, - "end": { - "line": 301, - "column": 47 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 9593, - "end": 9598, - "loc": { - "start": { - "line": 301, - "column": 12 - }, - "end": { - "line": 301, - "column": 17 - }, - "identifierName": "index" - }, - "name": "index" - }, - "right": { - "type": "CallExpression", - "start": 9601, - "end": 9628, - "loc": { - "start": { - "line": 301, - "column": 20 - }, - "end": { - "line": 301, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9601, - "end": 9620, - "loc": { - "start": { - "line": 301, - "column": 20 - }, - "end": { - "line": 301, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 9601, - "end": 9612, - "loc": { - "start": { - "line": 301, - "column": 20 - }, - "end": { - "line": 301, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 9601, - "end": 9605, - "loc": { - "start": { - "line": 301, - "column": 20 - }, - "end": { - "line": 301, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "start": 9606, - "end": 9612, - "loc": { - "start": { - "line": 301, - "column": 25 - }, - "end": { - "line": 301, - "column": 31 - }, - "identifierName": "states" - }, - "name": "states" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 9613, - "end": 9620, - "loc": { - "start": { - "line": 301, - "column": 32 - }, - "end": { - "line": 301, - "column": 39 - }, - "identifierName": "indexOf" - }, - "name": "indexOf" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 9621, - "end": 9627, - "loc": { - "start": { - "line": 301, - "column": 40 - }, - "end": { - "line": 301, - "column": 46 - }, - "identifierName": "pState" - }, - "name": "pState" - } - ] - } - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " Remove via reference to name", - "start": 9639, - "end": 9670, - "loc": { - "start": { - "line": 302, - "column": 8 - }, - "end": { - "line": 302, - "column": 39 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 9687, - "end": 9997, - "loc": { - "start": { - "line": 303, - "column": 15 - }, - "end": { - "line": 311, - "column": 9 - } - }, - "test": { - "type": "BinaryExpression", - "start": 9691, - "end": 9717, - "loc": { - "start": { - "line": 303, - "column": 19 - }, - "end": { - "line": 303, - "column": 45 - } - }, - "left": { - "type": "UnaryExpression", - "start": 9691, - "end": 9704, - "loc": { - "start": { - "line": 303, - "column": 19 - }, - "end": { - "line": 303, - "column": 32 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 9698, - "end": 9703, - "loc": { - "start": { - "line": 303, - "column": 26 - }, - "end": { - "line": 303, - "column": 31 - }, - "identifierName": "pName" - }, - "name": "pName", - "extra": { - "parenthesized": true, - "parenStart": 9697 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 9709, - "end": 9717, - "loc": { - "start": { - "line": 303, - "column": 37 - }, - "end": { - "line": 303, - "column": 45 - } - }, - "extra": { - "rawValue": "string", - "raw": "'string'" - }, - "value": "string" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 9719, - "end": 9874, - "loc": { - "start": { - "line": 303, - "column": 47 - }, - "end": { - "line": 308, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 9734, - "end": 9769, - "loc": { - "start": { - "line": 304, - "column": 12 - }, - "end": { - "line": 304, - "column": 47 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 9740, - "end": 9768, - "loc": { - "start": { - "line": 304, - "column": 18 - }, - "end": { - "line": 304, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 9740, - "end": 9745, - "loc": { - "start": { - "line": 304, - "column": 18 - }, - "end": { - "line": 304, - "column": 23 - }, - "identifierName": "state" - }, - "name": "state" - }, - "init": { - "type": "CallExpression", - "start": 9748, - "end": 9768, - "loc": { - "start": { - "line": 304, - "column": 26 - }, - "end": { - "line": 304, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9748, - "end": 9761, - "loc": { - "start": { - "line": 304, - "column": 26 - }, - "end": { - "line": 304, - "column": 39 - } - }, - "object": { - "type": "ThisExpression", - "start": 9748, - "end": 9752, - "loc": { - "start": { - "line": 304, - "column": 26 - }, - "end": { - "line": 304, - "column": 30 - } - } - }, - "property": { - "type": "Identifier", - "start": 9753, - "end": 9761, - "loc": { - "start": { - "line": 304, - "column": 31 - }, - "end": { - "line": 304, - "column": 39 - }, - "identifierName": "getState" - }, - "name": "getState" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 9762, - "end": 9767, - "loc": { - "start": { - "line": 304, - "column": 40 - }, - "end": { - "line": 304, - "column": 45 - }, - "identifierName": "pName" - }, - "name": "pName" - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 9783, - "end": 9863, - "loc": { - "start": { - "line": 305, - "column": 12 - }, - "end": { - "line": 307, - "column": 13 - } - }, - "test": { - "type": "Identifier", - "start": 9787, - "end": 9792, - "loc": { - "start": { - "line": 305, - "column": 16 - }, - "end": { - "line": 305, - "column": 21 - }, - "identifierName": "state" - }, - "name": "state" - }, - "consequent": { - "type": "BlockStatement", - "start": 9794, - "end": 9863, - "loc": { - "start": { - "line": 305, - "column": 23 - }, - "end": { - "line": 307, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9813, - "end": 9848, - "loc": { - "start": { - "line": 306, - "column": 16 - }, - "end": { - "line": 306, - "column": 51 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 9813, - "end": 9847, - "loc": { - "start": { - "line": 306, - "column": 16 - }, - "end": { - "line": 306, - "column": 50 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 9813, - "end": 9818, - "loc": { - "start": { - "line": 306, - "column": 16 - }, - "end": { - "line": 306, - "column": 21 - }, - "identifierName": "index" - }, - "name": "index" - }, - "right": { - "type": "CallExpression", - "start": 9821, - "end": 9847, - "loc": { - "start": { - "line": 306, - "column": 24 - }, - "end": { - "line": 306, - "column": 50 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9821, - "end": 9840, - "loc": { - "start": { - "line": 306, - "column": 24 - }, - "end": { - "line": 306, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 9821, - "end": 9832, - "loc": { - "start": { - "line": 306, - "column": 24 - }, - "end": { - "line": 306, - "column": 35 - } - }, - "object": { - "type": "ThisExpression", - "start": 9821, - "end": 9825, - "loc": { - "start": { - "line": 306, - "column": 24 - }, - "end": { - "line": 306, - "column": 28 - } - } - }, - "property": { - "type": "Identifier", - "start": 9826, - "end": 9832, - "loc": { - "start": { - "line": 306, - "column": 29 - }, - "end": { - "line": 306, - "column": 35 - }, - "identifierName": "states" - }, - "name": "states" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 9833, - "end": 9840, - "loc": { - "start": { - "line": 306, - "column": 36 - }, - "end": { - "line": 306, - "column": 43 - }, - "identifierName": "indexOf" - }, - "name": "indexOf" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 9841, - "end": 9846, - "loc": { - "start": { - "line": 306, - "column": 44 - }, - "end": { - "line": 306, - "column": 49 - }, - "identifierName": "state" - }, - "name": "state" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 9880, - "end": 9997, - "loc": { - "start": { - "line": 308, - "column": 15 - }, - "end": { - "line": 311, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 9895, - "end": 9960, - "loc": { - "start": { - "line": 309, - "column": 12 - }, - "end": { - "line": 309, - "column": 77 - } - }, - "expression": { - "type": "CallExpression", - "start": 9895, - "end": 9959, - "loc": { - "start": { - "line": 309, - "column": 12 - }, - "end": { - "line": 309, - "column": 76 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9895, - "end": 9932, - "loc": { - "start": { - "line": 309, - "column": 12 - }, - "end": { - "line": 309, - "column": 49 - } - }, - "object": { - "type": "CallExpression", - "start": 9895, - "end": 9926, - "loc": { - "start": { - "line": 309, - "column": 12 - }, - "end": { - "line": 309, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 9895, - "end": 9912, - "loc": { - "start": { - "line": 309, - "column": 12 - }, - "end": { - "line": 309, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 9895, - "end": 9905, - "loc": { - "start": { - "line": 309, - "column": 12 - }, - "end": { - "line": 309, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 9895, - "end": 9898, - "loc": { - "start": { - "line": 309, - "column": 12 - }, - "end": { - "line": 309, - "column": 15 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 9899, - "end": 9905, - "loc": { - "start": { - "line": 309, - "column": 16 - }, - "end": { - "line": 309, - "column": 22 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 9906, - "end": 9912, - "loc": { - "start": { - "line": 309, - "column": 23 - }, - "end": { - "line": 309, - "column": 29 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 9913, - "end": 9925, - "loc": { - "start": { - "line": 309, - "column": 30 - }, - "end": { - "line": 309, - "column": 42 - } - }, - "extra": { - "rawValue": "VYI-Module", - "raw": "'VYI-Module'" - }, - "value": "VYI-Module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 9927, - "end": 9932, - "loc": { - "start": { - "line": 309, - "column": 44 - }, - "end": { - "line": 309, - "column": 49 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 9933, - "end": 9958, - "loc": { - "start": { - "line": 309, - "column": 50 - }, - "end": { - "line": 309, - "column": 75 - } - }, - "extra": { - "rawValue": "Failed to remove state!", - "raw": "'Failed to remove state!'" - }, - "value": "Failed to remove state!" - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 9974, - "end": 9986, - "loc": { - "start": { - "line": 310, - "column": 12 - }, - "end": { - "line": 310, - "column": 24 - } - }, - "argument": { - "type": "ThisExpression", - "start": 9981, - "end": 9985, - "loc": { - "start": { - "line": 310, - "column": 19 - }, - "end": { - "line": 310, - "column": 23 - } - } - } - } - ], - "directives": [] - } - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Remove via reference to state.", - "start": 9501, - "end": 9534, - "loc": { - "start": { - "line": 299, - "column": 8 - }, - "end": { - "line": 299, - "column": 41 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 10007, - "end": 10127, - "loc": { - "start": { - "line": 312, - "column": 8 - }, - "end": { - "line": 315, - "column": 9 - } - }, - "test": { - "type": "BinaryExpression", - "start": 10011, - "end": 10037, - "loc": { - "start": { - "line": 312, - "column": 12 - }, - "end": { - "line": 312, - "column": 38 - } - }, - "left": { - "type": "UnaryExpression", - "start": 10011, - "end": 10024, - "loc": { - "start": { - "line": 312, - "column": 12 - }, - "end": { - "line": 312, - "column": 25 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 10018, - "end": 10023, - "loc": { - "start": { - "line": 312, - "column": 19 - }, - "end": { - "line": 312, - "column": 24 - }, - "identifierName": "index" - }, - "name": "index", - "extra": { - "parenthesized": true, - "parenStart": 10017 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 10029, - "end": 10037, - "loc": { - "start": { - "line": 312, - "column": 30 - }, - "end": { - "line": 312, - "column": 38 - } - }, - "extra": { - "rawValue": "number", - "raw": "'number'" - }, - "value": "number" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 10039, - "end": 10127, - "loc": { - "start": { - "line": 312, - "column": 40 - }, - "end": { - "line": 315, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 10087, - "end": 10116, - "loc": { - "start": { - "line": 314, - "column": 12 - }, - "end": { - "line": 314, - "column": 41 - } - }, - "expression": { - "type": "CallExpression", - "start": 10087, - "end": 10115, - "loc": { - "start": { - "line": 314, - "column": 12 - }, - "end": { - "line": 314, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10087, - "end": 10105, - "loc": { - "start": { - "line": 314, - "column": 12 - }, - "end": { - "line": 314, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 10087, - "end": 10098, - "loc": { - "start": { - "line": 314, - "column": 12 - }, - "end": { - "line": 314, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 10087, - "end": 10091, - "loc": { - "start": { - "line": 314, - "column": 12 - }, - "end": { - "line": 314, - "column": 16 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 10092, - "end": 10098, - "loc": { - "start": { - "line": 314, - "column": 17 - }, - "end": { - "line": 314, - "column": 23 - }, - "identifierName": "states" - }, - "name": "states" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 10099, - "end": 10105, - "loc": { - "start": { - "line": 314, - "column": 24 - }, - "end": { - "line": 314, - "column": 30 - }, - "identifierName": "splice" - }, - "name": "splice" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 10106, - "end": 10111, - "loc": { - "start": { - "line": 314, - "column": 31 - }, - "end": { - "line": 314, - "column": 36 - }, - "identifierName": "index" - }, - "name": "index" - }, - { - "type": "NumericLiteral", - "start": 10113, - "end": 10114, - "loc": { - "start": { - "line": 314, - "column": 38 - }, - "end": { - "line": 314, - "column": 39 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Remove the state", - "start": 10054, - "end": 10073, - "loc": { - "start": { - "line": 313, - "column": 12 - }, - "end": { - "line": 313, - "column": 31 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 10137, - "end": 10149, - "loc": { - "start": { - "line": 316, - "column": 8 - }, - "end": { - "line": 316, - "column": 20 - } - }, - "argument": { - "type": "ThisExpression", - "start": 10144, - "end": 10148, - "loc": { - "start": { - "line": 316, - "column": 15 - }, - "end": { - "line": 316, - "column": 19 - } - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "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": 9007, - "end": 9388, - "loc": { - "start": { - "line": 290, - "column": 4 - }, - "end": { - "line": 295, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Array} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", - "start": 10162, - "end": 10358, - "loc": { - "start": { - "line": 318, - "column": 4 - }, - "end": { - "line": 322, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 10364, - "end": 10971, - "loc": { - "start": { - "line": 323, - "column": 4 - }, - "end": { - "line": 338, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 10364, - "end": 10372, - "loc": { - "start": { - "line": 323, - "column": 4 - }, - "end": { - "line": 323, - "column": 12 - }, - "identifierName": "addFrame" - }, - "name": "addFrame", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 10373, - "end": 10383, - "loc": { - "start": { - "line": 323, - "column": 13 - }, - "end": { - "line": 323, - "column": 23 - }, - "identifierName": "pFrameData" - }, - "name": "pFrameData" - } - ], - "body": { - "type": "BlockStatement", - "start": 10385, - "end": 10971, - "loc": { - "start": { - "line": 323, - "column": 25 - }, - "end": { - "line": 338, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 10396, - "end": 10964, - "loc": { - "start": { - "line": 324, - "column": 8 - }, - "end": { - "line": 337, - "column": 9 - } - }, - "test": { - "type": "Identifier", - "start": 10400, - "end": 10410, - "loc": { - "start": { - "line": 324, - "column": 12 - }, - "end": { - "line": 324, - "column": 22 - }, - "identifierName": "pFrameData" - }, - "name": "pFrameData" - }, - "consequent": { - "type": "BlockStatement", - "start": 10412, - "end": 10869, - "loc": { - "start": { - "line": 324, - "column": 24 - }, - "end": { - "line": 335, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 10427, - "end": 10858, - "loc": { - "start": { - "line": 325, - "column": 12 - }, - "end": { - "line": 334, - "column": 13 - } - }, - "test": { - "type": "CallExpression", - "start": 10431, - "end": 10456, - "loc": { - "start": { - "line": 325, - "column": 16 - }, - "end": { - "line": 325, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10431, - "end": 10444, - "loc": { - "start": { - "line": 325, - "column": 16 - }, - "end": { - "line": 325, - "column": 29 - } - }, - "object": { - "type": "Identifier", - "start": 10431, - "end": 10436, - "loc": { - "start": { - "line": 325, - "column": 16 - }, - "end": { - "line": 325, - "column": 21 - }, - "identifierName": "Array" - }, - "name": "Array" - }, - "property": { - "type": "Identifier", - "start": 10437, - "end": 10444, - "loc": { - "start": { - "line": 325, - "column": 22 - }, - "end": { - "line": 325, - "column": 29 - }, - "identifierName": "isArray" - }, - "name": "isArray" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 10445, - "end": 10455, - "loc": { - "start": { - "line": 325, - "column": 30 - }, - "end": { - "line": 325, - "column": 40 - }, - "identifierName": "pFrameData" - }, - "name": "pFrameData" - } - ] - }, - "consequent": { - "type": "BlockStatement", - "start": 10458, - "end": 10750, - "loc": { - "start": { - "line": 325, - "column": 43 - }, - "end": { - "line": 332, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 10477, - "end": 10519, - "loc": { - "start": { - "line": 326, - "column": 16 - }, - "end": { - "line": 326, - "column": 58 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 10483, - "end": 10518, - "loc": { - "start": { - "line": 326, - "column": 22 - }, - "end": { - "line": 326, - "column": 57 - } - }, - "id": { - "type": "Identifier", - "start": 10483, - "end": 10488, - "loc": { - "start": { - "line": 326, - "column": 22 - }, - "end": { - "line": 326, - "column": 27 - }, - "identifierName": "frame" - }, - "name": "frame" - }, - "init": { - "type": "NewExpression", - "start": 10491, - "end": 10518, - "loc": { - "start": { - "line": 326, - "column": 30 - }, - "end": { - "line": 326, - "column": 57 - } - }, - "callee": { - "type": "Identifier", - "start": 10495, - "end": 10500, - "loc": { - "start": { - "line": 326, - "column": 34 - }, - "end": { - "line": 326, - "column": 39 - }, - "identifierName": "Frame" - }, - "name": "Frame" - }, - "arguments": [ - { - "type": "Identifier", - "start": 10501, - "end": 10511, - "loc": { - "start": { - "line": 326, - "column": 40 - }, - "end": { - "line": 326, - "column": 50 - }, - "identifierName": "pFrameData" - }, - "name": "pFrameData" - }, - { - "type": "ThisExpression", - "start": 10513, - "end": 10517, - "loc": { - "start": { - "line": 326, - "column": 52 - }, - "end": { - "line": 326, - "column": 56 - } - } - } - ] - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " Add the frame to the frames array.", - "start": 10537, - "end": 10574, - "loc": { - "start": { - "line": 327, - "column": 16 - }, - "end": { - "line": 327, - "column": 53 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 10592, - "end": 10616, - "loc": { - "start": { - "line": 328, - "column": 16 - }, - "end": { - "line": 328, - "column": 40 - } - }, - "expression": { - "type": "CallExpression", - "start": 10592, - "end": 10615, - "loc": { - "start": { - "line": 328, - "column": 16 - }, - "end": { - "line": 328, - "column": 39 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10592, - "end": 10608, - "loc": { - "start": { - "line": 328, - "column": 16 - }, - "end": { - "line": 328, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 10592, - "end": 10603, - "loc": { - "start": { - "line": 328, - "column": 16 - }, - "end": { - "line": 328, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 10592, - "end": 10596, - "loc": { - "start": { - "line": 328, - "column": 16 - }, - "end": { - "line": 328, - "column": 20 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 10597, - "end": 10603, - "loc": { - "start": { - "line": 328, - "column": 21 - }, - "end": { - "line": 328, - "column": 27 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 10604, - "end": 10608, - "loc": { - "start": { - "line": 328, - "column": 28 - }, - "end": { - "line": 328, - "column": 32 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 10609, - "end": 10614, - "loc": { - "start": { - "line": 328, - "column": 33 - }, - "end": { - "line": 328, - "column": 38 - }, - "identifierName": "frame" - }, - "name": "frame" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Add the frame to the frames array.", - "start": 10537, - "end": 10574, - "loc": { - "start": { - "line": 327, - "column": 16 - }, - "end": { - "line": 327, - "column": 53 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Re-index frames after a change", - "start": 10634, - "end": 10667, - "loc": { - "start": { - "line": 329, - "column": 16 - }, - "end": { - "line": 329, - "column": 49 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 10685, - "end": 10704, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 35 - } - }, - "expression": { - "type": "CallExpression", - "start": 10685, - "end": 10703, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10685, - "end": 10701, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 32 - } - }, - "object": { - "type": "ThisExpression", - "start": 10685, - "end": 10689, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 20 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 10690, - "end": 10701, - "loc": { - "start": { - "line": 330, - "column": 21 - }, - "end": { - "line": 330, - "column": 32 - }, - "identifierName": "indexFrames" - }, - "name": "indexFrames" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Re-index frames after a change", - "start": 10634, - "end": 10667, - "loc": { - "start": { - "line": 329, - "column": 16 - }, - "end": { - "line": 329, - "column": 49 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "start": 10722, - "end": 10735, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 29 - } - }, - "argument": { - "type": "Identifier", - "start": 10729, - "end": 10734, - "loc": { - "start": { - "line": 331, - "column": 23 - }, - "end": { - "line": 331, - "column": 28 - }, - "identifierName": "frame" - }, - "name": "frame" - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 10756, - "end": 10858, - "loc": { - "start": { - "line": 332, - "column": 19 - }, - "end": { - "line": 334, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 10775, - "end": 10843, - "loc": { - "start": { - "line": 333, - "column": 16 - }, - "end": { - "line": 333, - "column": 84 - } - }, - "expression": { - "type": "CallExpression", - "start": 10775, - "end": 10842, - "loc": { - "start": { - "line": 333, - "column": 16 - }, - "end": { - "line": 333, - "column": 83 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10775, - "end": 10812, - "loc": { - "start": { - "line": 333, - "column": 16 - }, - "end": { - "line": 333, - "column": 53 - } - }, - "object": { - "type": "CallExpression", - "start": 10775, - "end": 10806, - "loc": { - "start": { - "line": 333, - "column": 16 - }, - "end": { - "line": 333, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10775, - "end": 10792, - "loc": { - "start": { - "line": 333, - "column": 16 - }, - "end": { - "line": 333, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 10775, - "end": 10785, - "loc": { - "start": { - "line": 333, - "column": 16 - }, - "end": { - "line": 333, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 10775, - "end": 10778, - "loc": { - "start": { - "line": 333, - "column": 16 - }, - "end": { - "line": 333, - "column": 19 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 10779, - "end": 10785, - "loc": { - "start": { - "line": 333, - "column": 20 - }, - "end": { - "line": 333, - "column": 26 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 10786, - "end": 10792, - "loc": { - "start": { - "line": 333, - "column": 27 - }, - "end": { - "line": 333, - "column": 33 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 10793, - "end": 10805, - "loc": { - "start": { - "line": 333, - "column": 34 - }, - "end": { - "line": 333, - "column": 46 - } - }, - "extra": { - "rawValue": "VYI-Module", - "raw": "'VYI-Module'" - }, - "value": "VYI-Module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 10807, - "end": 10812, - "loc": { - "start": { - "line": 333, - "column": 48 - }, - "end": { - "line": 333, - "column": 53 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 10813, - "end": 10841, - "loc": { - "start": { - "line": 333, - "column": 54 - }, - "end": { - "line": 333, - "column": 82 - } - }, - "extra": { - "rawValue": "Invalid frame data passed!", - "raw": "'Invalid frame data passed!'" - }, - "value": "Invalid frame data passed!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 10875, - "end": 10964, - "loc": { - "start": { - "line": 335, - "column": 15 - }, - "end": { - "line": 337, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 10890, - "end": 10953, - "loc": { - "start": { - "line": 336, - "column": 12 - }, - "end": { - "line": 336, - "column": 75 - } - }, - "expression": { - "type": "CallExpression", - "start": 10890, - "end": 10952, - "loc": { - "start": { - "line": 336, - "column": 12 - }, - "end": { - "line": 336, - "column": 74 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10890, - "end": 10927, - "loc": { - "start": { - "line": 336, - "column": 12 - }, - "end": { - "line": 336, - "column": 49 - } - }, - "object": { - "type": "CallExpression", - "start": 10890, - "end": 10921, - "loc": { - "start": { - "line": 336, - "column": 12 - }, - "end": { - "line": 336, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 10890, - "end": 10907, - "loc": { - "start": { - "line": 336, - "column": 12 - }, - "end": { - "line": 336, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 10890, - "end": 10900, - "loc": { - "start": { - "line": 336, - "column": 12 - }, - "end": { - "line": 336, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 10890, - "end": 10893, - "loc": { - "start": { - "line": 336, - "column": 12 - }, - "end": { - "line": 336, - "column": 15 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 10894, - "end": 10900, - "loc": { - "start": { - "line": 336, - "column": 16 - }, - "end": { - "line": 336, - "column": 22 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 10901, - "end": 10907, - "loc": { - "start": { - "line": 336, - "column": 23 - }, - "end": { - "line": 336, - "column": 29 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 10908, - "end": 10920, - "loc": { - "start": { - "line": 336, - "column": 30 - }, - "end": { - "line": 336, - "column": 42 - } - }, - "extra": { - "rawValue": "VYI-Module", - "raw": "'VYI-Module'" - }, - "value": "VYI-Module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 10922, - "end": 10927, - "loc": { - "start": { - "line": 336, - "column": 44 - }, - "end": { - "line": 336, - "column": 49 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 10928, - "end": 10951, - "loc": { - "start": { - "line": 336, - "column": 50 - }, - "end": { - "line": 336, - "column": 73 - } - }, - "extra": { - "rawValue": "No frame data passed!", - "raw": "'No frame data passed!'" - }, - "value": "No frame data passed!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Array} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", - "start": 10162, - "end": 10358, - "loc": { - "start": { - "line": 318, - "column": 4 - }, - "end": { - "line": 322, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "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": 10977, - "end": 11364, - "loc": { - "start": { - "line": 339, - "column": 4 - }, - "end": { - "line": 344, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 11370, - "end": 12341, - "loc": { - "start": { - "line": 345, - "column": 4 - }, - "end": { - "line": 371, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 11370, - "end": 11381, - "loc": { - "start": { - "line": 345, - "column": 4 - }, - "end": { - "line": 345, - "column": 15 - }, - "identifierName": "removeFrame" - }, - "name": "removeFrame", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 11382, - "end": 11388, - "loc": { - "start": { - "line": 345, - "column": 16 - }, - "end": { - "line": 345, - "column": 22 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - }, - { - "type": "Identifier", - "start": 11390, - "end": 11396, - "loc": { - "start": { - "line": 345, - "column": 24 - }, - "end": { - "line": 345, - "column": 30 - }, - "identifierName": "pIndex" - }, - "name": "pIndex" - } - ], - "body": { - "type": "BlockStatement", - "start": 11398, - "end": 12341, - "loc": { - "start": { - "line": 345, - "column": 32 - }, - "end": { - "line": 371, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 11458, - "end": 11468, - "loc": { - "start": { - "line": 347, - "column": 8 - }, - "end": { - "line": 347, - "column": 18 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 11462, - "end": 11467, - "loc": { - "start": { - "line": 347, - "column": 12 - }, - "end": { - "line": 347, - "column": 17 - } - }, - "id": { - "type": "Identifier", - "start": 11462, - "end": 11467, - "loc": { - "start": { - "line": 347, - "column": 12 - }, - "end": { - "line": 347, - "column": 17 - }, - "identifierName": "index" - }, - "name": "index", - "leadingComments": null - }, - "init": null, - "leadingComments": null - } - ], - "kind": "let", - "leadingComments": [ - { - "type": "CommentLine", - "value": " The index used to remove this frame.", - "start": 11409, - "end": 11448, - "loc": { - "start": { - "line": 346, - "column": 8 - }, - "end": { - "line": 346, - "column": 47 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Remove via reference to frame.", - "start": 11478, - "end": 11511, - "loc": { - "start": { - "line": 348, - "column": 8 - }, - "end": { - "line": 348, - "column": 41 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 11521, - "end": 12102, - "loc": { - "start": { - "line": 349, - "column": 8 - }, - "end": { - "line": 363, - "column": 9 - } - }, - "test": { - "type": "CallExpression", - "start": 11525, - "end": 11553, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 349, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11525, - "end": 11545, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 349, - "column": 32 - } - }, - "object": { - "type": "MemberExpression", - "start": 11525, - "end": 11536, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 349, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 11525, - "end": 11529, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 349, - "column": 16 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 11530, - "end": 11536, - "loc": { - "start": { - "line": 349, - "column": 17 - }, - "end": { - "line": 349, - "column": 23 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 11537, - "end": 11545, - "loc": { - "start": { - "line": 349, - "column": 24 - }, - "end": { - "line": 349, - "column": 32 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 11546, - "end": 11552, - "loc": { - "start": { - "line": 349, - "column": 33 - }, - "end": { - "line": 349, - "column": 39 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - } - ], - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 11555, - "end": 11654, - "loc": { - "start": { - "line": 349, - "column": 42 - }, - "end": { - "line": 352, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11570, - "end": 11606, - "loc": { - "start": { - "line": 350, - "column": 12 - }, - "end": { - "line": 350, - "column": 48 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 11570, - "end": 11605, - "loc": { - "start": { - "line": 350, - "column": 12 - }, - "end": { - "line": 350, - "column": 47 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 11570, - "end": 11575, - "loc": { - "start": { - "line": 350, - "column": 12 - }, - "end": { - "line": 350, - "column": 17 - }, - "identifierName": "index" - }, - "name": "index" - }, - "right": { - "type": "CallExpression", - "start": 11578, - "end": 11605, - "loc": { - "start": { - "line": 350, - "column": 20 - }, - "end": { - "line": 350, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11578, - "end": 11597, - "loc": { - "start": { - "line": 350, - "column": 20 - }, - "end": { - "line": 350, - "column": 39 - } - }, - "object": { - "type": "MemberExpression", - "start": 11578, - "end": 11589, - "loc": { - "start": { - "line": 350, - "column": 20 - }, - "end": { - "line": 350, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 11578, - "end": 11582, - "loc": { - "start": { - "line": 350, - "column": 20 - }, - "end": { - "line": 350, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "start": 11583, - "end": 11589, - "loc": { - "start": { - "line": 350, - "column": 25 - }, - "end": { - "line": 350, - "column": 31 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11590, - "end": 11597, - "loc": { - "start": { - "line": 350, - "column": 32 - }, - "end": { - "line": 350, - "column": 39 - }, - "identifierName": "indexOf" - }, - "name": "indexOf" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 11598, - "end": 11604, - "loc": { - "start": { - "line": 350, - "column": 40 - }, - "end": { - "line": 350, - "column": 46 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - } - ] - } - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " Remove via index passed.", - "start": 11616, - "end": 11643, - "loc": { - "start": { - "line": 351, - "column": 8 - }, - "end": { - "line": 351, - "column": 35 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 11660, - "end": 12102, - "loc": { - "start": { - "line": 352, - "column": 15 - }, - "end": { - "line": 363, - "column": 9 - } - }, - "test": { - "type": "LogicalExpression", - "start": 11664, - "end": 11686, - "loc": { - "start": { - "line": 352, - "column": 19 - }, - "end": { - "line": 352, - "column": 41 - } - }, - "left": { - "type": "Identifier", - "start": 11664, - "end": 11670, - "loc": { - "start": { - "line": 352, - "column": 19 - }, - "end": { - "line": 352, - "column": 25 - }, - "identifierName": "pIndex" - }, - "name": "pIndex" - }, - "operator": "||", - "right": { - "type": "BinaryExpression", - "start": 11674, - "end": 11686, - "loc": { - "start": { - "line": 352, - "column": 29 - }, - "end": { - "line": 352, - "column": 41 - } - }, - "left": { - "type": "Identifier", - "start": 11674, - "end": 11680, - "loc": { - "start": { - "line": 352, - "column": 29 - }, - "end": { - "line": 352, - "column": 35 - }, - "identifierName": "pIndex" - }, - "name": "pIndex" - }, - "operator": "===", - "right": { - "type": "NumericLiteral", - "start": 11685, - "end": 11686, - "loc": { - "start": { - "line": 352, - "column": 40 - }, - "end": { - "line": 352, - "column": 41 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 11688, - "end": 12005, - "loc": { - "start": { - "line": 352, - "column": 43 - }, - "end": { - "line": 361, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 11703, - "end": 11994, - "loc": { - "start": { - "line": 353, - "column": 12 - }, - "end": { - "line": 360, - "column": 13 - } - }, - "test": { - "type": "BinaryExpression", - "start": 11707, - "end": 11734, - "loc": { - "start": { - "line": 353, - "column": 16 - }, - "end": { - "line": 353, - "column": 43 - } - }, - "left": { - "type": "UnaryExpression", - "start": 11707, - "end": 11721, - "loc": { - "start": { - "line": 353, - "column": 16 - }, - "end": { - "line": 353, - "column": 30 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 11714, - "end": 11720, - "loc": { - "start": { - "line": 353, - "column": 23 - }, - "end": { - "line": 353, - "column": 29 - }, - "identifierName": "pIndex" - }, - "name": "pIndex", - "extra": { - "parenthesized": true, - "parenStart": 11713 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 11726, - "end": 11734, - "loc": { - "start": { - "line": 353, - "column": 35 - }, - "end": { - "line": 353, - "column": 43 - } - }, - "extra": { - "rawValue": "number", - "raw": "'number'" - }, - "value": "number" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 11736, - "end": 11892, - "loc": { - "start": { - "line": 353, - "column": 45 - }, - "end": { - "line": 358, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 11755, - "end": 11791, - "loc": { - "start": { - "line": 354, - "column": 16 - }, - "end": { - "line": 354, - "column": 52 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 11761, - "end": 11790, - "loc": { - "start": { - "line": 354, - "column": 22 - }, - "end": { - "line": 354, - "column": 51 - } - }, - "id": { - "type": "Identifier", - "start": 11761, - "end": 11766, - "loc": { - "start": { - "line": 354, - "column": 22 - }, - "end": { - "line": 354, - "column": 27 - }, - "identifierName": "frame" - }, - "name": "frame" - }, - "init": { - "type": "CallExpression", - "start": 11769, - "end": 11790, - "loc": { - "start": { - "line": 354, - "column": 30 - }, - "end": { - "line": 354, - "column": 51 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11769, - "end": 11782, - "loc": { - "start": { - "line": 354, - "column": 30 - }, - "end": { - "line": 354, - "column": 43 - } - }, - "object": { - "type": "ThisExpression", - "start": 11769, - "end": 11773, - "loc": { - "start": { - "line": 354, - "column": 30 - }, - "end": { - "line": 354, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "start": 11774, - "end": 11782, - "loc": { - "start": { - "line": 354, - "column": 35 - }, - "end": { - "line": 354, - "column": 43 - }, - "identifierName": "getFrame" - }, - "name": "getFrame" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 11783, - "end": 11789, - "loc": { - "start": { - "line": 354, - "column": 44 - }, - "end": { - "line": 354, - "column": 50 - }, - "identifierName": "pIndex" - }, - "name": "pIndex" - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 11809, - "end": 11877, - "loc": { - "start": { - "line": 355, - "column": 16 - }, - "end": { - "line": 357, - "column": 17 - } - }, - "test": { - "type": "Identifier", - "start": 11813, - "end": 11818, - "loc": { - "start": { - "line": 355, - "column": 20 - }, - "end": { - "line": 355, - "column": 25 - }, - "identifierName": "frame" - }, - "name": "frame" - }, - "consequent": { - "type": "BlockStatement", - "start": 11820, - "end": 11877, - "loc": { - "start": { - "line": 355, - "column": 27 - }, - "end": { - "line": 357, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11843, - "end": 11858, - "loc": { - "start": { - "line": 356, - "column": 20 - }, - "end": { - "line": 356, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 11843, - "end": 11857, - "loc": { - "start": { - "line": 356, - "column": 20 - }, - "end": { - "line": 356, - "column": 34 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 11843, - "end": 11848, - "loc": { - "start": { - "line": 356, - "column": 20 - }, - "end": { - "line": 356, - "column": 25 - }, - "identifierName": "index" - }, - "name": "index" - }, - "right": { - "type": "Identifier", - "start": 11851, - "end": 11857, - "loc": { - "start": { - "line": 356, - "column": 28 - }, - "end": { - "line": 356, - "column": 34 - }, - "identifierName": "pIndex" - }, - "name": "pIndex" - } - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 11898, - "end": 11994, - "loc": { - "start": { - "line": 358, - "column": 19 - }, - "end": { - "line": 360, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 11917, - "end": 11979, - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 78 - } - }, - "expression": { - "type": "CallExpression", - "start": 11917, - "end": 11978, - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 77 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11917, - "end": 11954, - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 53 - } - }, - "object": { - "type": "CallExpression", - "start": 11917, - "end": 11948, - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 11917, - "end": 11934, - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 11917, - "end": 11927, - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 11917, - "end": 11920, - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 19 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 11921, - "end": 11927, - "loc": { - "start": { - "line": 359, - "column": 20 - }, - "end": { - "line": 359, - "column": 26 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 11928, - "end": 11934, - "loc": { - "start": { - "line": 359, - "column": 27 - }, - "end": { - "line": 359, - "column": 33 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 11935, - "end": 11947, - "loc": { - "start": { - "line": 359, - "column": 34 - }, - "end": { - "line": 359, - "column": 46 - } - }, - "extra": { - "rawValue": "VYI-Module", - "raw": "'VYI-Module'" - }, - "value": "VYI-Module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 11949, - "end": 11954, - "loc": { - "start": { - "line": 359, - "column": 48 - }, - "end": { - "line": 359, - "column": 53 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 11955, - "end": 11977, - "loc": { - "start": { - "line": 359, - "column": 54 - }, - "end": { - "line": 359, - "column": 76 - } - }, - "extra": { - "rawValue": "Invalid pIndex type!", - "raw": "'Invalid pIndex type!'" - }, - "value": "Invalid pIndex type!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 12011, - "end": 12102, - "loc": { - "start": { - "line": 361, - "column": 15 - }, - "end": { - "line": 363, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 12026, - "end": 12091, - "loc": { - "start": { - "line": 362, - "column": 12 - }, - "end": { - "line": 362, - "column": 77 - } - }, - "expression": { - "type": "CallExpression", - "start": 12026, - "end": 12090, - "loc": { - "start": { - "line": 362, - "column": 12 - }, - "end": { - "line": 362, - "column": 76 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12026, - "end": 12063, - "loc": { - "start": { - "line": 362, - "column": 12 - }, - "end": { - "line": 362, - "column": 49 - } - }, - "object": { - "type": "CallExpression", - "start": 12026, - "end": 12057, - "loc": { - "start": { - "line": 362, - "column": 12 - }, - "end": { - "line": 362, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12026, - "end": 12043, - "loc": { - "start": { - "line": 362, - "column": 12 - }, - "end": { - "line": 362, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 12026, - "end": 12036, - "loc": { - "start": { - "line": 362, - "column": 12 - }, - "end": { - "line": 362, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 12026, - "end": 12029, - "loc": { - "start": { - "line": 362, - "column": 12 - }, - "end": { - "line": 362, - "column": 15 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 12030, - "end": 12036, - "loc": { - "start": { - "line": 362, - "column": 16 - }, - "end": { - "line": 362, - "column": 22 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 12037, - "end": 12043, - "loc": { - "start": { - "line": 362, - "column": 23 - }, - "end": { - "line": 362, - "column": 29 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 12044, - "end": 12056, - "loc": { - "start": { - "line": 362, - "column": 30 - }, - "end": { - "line": 362, - "column": 42 - } - }, - "extra": { - "rawValue": "VYI-Module", - "raw": "'VYI-Module'" - }, - "value": "VYI-Module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 12058, - "end": 12063, - "loc": { - "start": { - "line": 362, - "column": 44 - }, - "end": { - "line": 362, - "column": 49 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 12064, - "end": 12089, - "loc": { - "start": { - "line": 362, - "column": 50 - }, - "end": { - "line": 362, - "column": 75 - } - }, - "extra": { - "rawValue": "Failed to remove frame!", - "raw": "'Failed to remove frame!'" - }, - "value": "Failed to remove frame!" - } - ] - } - } - ], - "directives": [] - } - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Remove via reference to frame.", - "start": 11478, - "end": 11511, - "loc": { - "start": { - "line": 348, - "column": 8 - }, - "end": { - "line": 348, - "column": 41 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 12112, - "end": 12312, - "loc": { - "start": { - "line": 364, - "column": 8 - }, - "end": { - "line": 369, - "column": 9 - } - }, - "test": { - "type": "BinaryExpression", - "start": 12116, - "end": 12142, - "loc": { - "start": { - "line": 364, - "column": 12 - }, - "end": { - "line": 364, - "column": 38 - } - }, - "left": { - "type": "UnaryExpression", - "start": 12116, - "end": 12129, - "loc": { - "start": { - "line": 364, - "column": 12 - }, - "end": { - "line": 364, - "column": 25 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 12123, - "end": 12128, - "loc": { - "start": { - "line": 364, - "column": 19 - }, - "end": { - "line": 364, - "column": 24 - }, - "identifierName": "index" - }, - "name": "index", - "extra": { - "parenthesized": true, - "parenStart": 12122 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 12134, - "end": 12142, - "loc": { - "start": { - "line": 364, - "column": 30 - }, - "end": { - "line": 364, - "column": 38 - } - }, - "extra": { - "rawValue": "number", - "raw": "'number'" - }, - "value": "number" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 12144, - "end": 12312, - "loc": { - "start": { - "line": 364, - "column": 40 - }, - "end": { - "line": 369, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 12192, - "end": 12221, - "loc": { - "start": { - "line": 366, - "column": 12 - }, - "end": { - "line": 366, - "column": 41 - } - }, - "expression": { - "type": "CallExpression", - "start": 12192, - "end": 12220, - "loc": { - "start": { - "line": 366, - "column": 12 - }, - "end": { - "line": 366, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12192, - "end": 12210, - "loc": { - "start": { - "line": 366, - "column": 12 - }, - "end": { - "line": 366, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 12192, - "end": 12203, - "loc": { - "start": { - "line": 366, - "column": 12 - }, - "end": { - "line": 366, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 12192, - "end": 12196, - "loc": { - "start": { - "line": 366, - "column": 12 - }, - "end": { - "line": 366, - "column": 16 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 12197, - "end": 12203, - "loc": { - "start": { - "line": 366, - "column": 17 - }, - "end": { - "line": 366, - "column": 23 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 12204, - "end": 12210, - "loc": { - "start": { - "line": 366, - "column": 24 - }, - "end": { - "line": 366, - "column": 30 - }, - "identifierName": "splice" - }, - "name": "splice" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 12211, - "end": 12216, - "loc": { - "start": { - "line": 366, - "column": 31 - }, - "end": { - "line": 366, - "column": 36 - }, - "identifierName": "index" - }, - "name": "index" - }, - { - "type": "NumericLiteral", - "start": 12218, - "end": 12219, - "loc": { - "start": { - "line": 366, - "column": 38 - }, - "end": { - "line": 366, - "column": 39 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Remove the frame", - "start": 12159, - "end": 12178, - "loc": { - "start": { - "line": 365, - "column": 12 - }, - "end": { - "line": 365, - "column": 31 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Re-index frames after a change", - "start": 12235, - "end": 12268, - "loc": { - "start": { - "line": 367, - "column": 12 - }, - "end": { - "line": 367, - "column": 45 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 12282, - "end": 12301, - "loc": { - "start": { - "line": 368, - "column": 12 - }, - "end": { - "line": 368, - "column": 31 - } - }, - "expression": { - "type": "CallExpression", - "start": 12282, - "end": 12300, - "loc": { - "start": { - "line": 368, - "column": 12 - }, - "end": { - "line": 368, - "column": 30 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12282, - "end": 12298, - "loc": { - "start": { - "line": 368, - "column": 12 - }, - "end": { - "line": 368, - "column": 28 - } - }, - "object": { - "type": "ThisExpression", - "start": 12282, - "end": 12286, - "loc": { - "start": { - "line": 368, - "column": 12 - }, - "end": { - "line": 368, - "column": 16 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 12287, - "end": 12298, - "loc": { - "start": { - "line": 368, - "column": 17 - }, - "end": { - "line": 368, - "column": 28 - }, - "identifierName": "indexFrames" - }, - "name": "indexFrames" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Re-index frames after a change", - "start": 12235, - "end": 12268, - "loc": { - "start": { - "line": 367, - "column": 12 - }, - "end": { - "line": 367, - "column": 45 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "ReturnStatement", - "start": 12322, - "end": 12334, - "loc": { - "start": { - "line": 370, - "column": 8 - }, - "end": { - "line": 370, - "column": 20 - } - }, - "argument": { - "type": "ThisExpression", - "start": 12329, - "end": 12333, - "loc": { - "start": { - "line": 370, - "column": 15 - }, - "end": { - "line": 370, - "column": 19 - } - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "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": 10977, - "end": 11364, - "loc": { - "start": { - "line": 339, - "column": 4 - }, - "end": { - "line": 344, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 12347, - "end": 12411, - "loc": { - "start": { - "line": 372, - "column": 4 - }, - "end": { - "line": 375, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 12417, - "end": 12586, - "loc": { - "start": { - "line": 376, - "column": 4 - }, - "end": { - "line": 381, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 12417, - "end": 12428, - "loc": { - "start": { - "line": 376, - "column": 4 - }, - "end": { - "line": 376, - "column": 15 - }, - "identifierName": "indexFrames" - }, - "name": "indexFrames", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 12431, - "end": 12586, - "loc": { - "start": { - "line": 376, - "column": 18 - }, - "end": { - "line": 381, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 12489, - "end": 12579, - "loc": { - "start": { - "line": 378, - "column": 8 - }, - "end": { - "line": 380, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 12489, - "end": 12578, - "loc": { - "start": { - "line": 378, - "column": 8 - }, - "end": { - "line": 380, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 12489, - "end": 12508, - "loc": { - "start": { - "line": 378, - "column": 8 - }, - "end": { - "line": 378, - "column": 27 - } - }, - "object": { - "type": "MemberExpression", - "start": 12489, - "end": 12500, - "loc": { - "start": { - "line": 378, - "column": 8 - }, - "end": { - "line": 378, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 12489, - "end": 12493, - "loc": { - "start": { - "line": 378, - "column": 8 - }, - "end": { - "line": 378, - "column": 12 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 12494, - "end": 12500, - "loc": { - "start": { - "line": 378, - "column": 13 - }, - "end": { - "line": 378, - "column": 19 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 12501, - "end": 12508, - "loc": { - "start": { - "line": 378, - "column": 20 - }, - "end": { - "line": 378, - "column": 27 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 12509, - "end": 12577, - "loc": { - "start": { - "line": 378, - "column": 28 - }, - "end": { - "line": 380, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 12510, - "end": 12516, - "loc": { - "start": { - "line": 378, - "column": 29 - }, - "end": { - "line": 378, - "column": 35 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - }, - { - "type": "Identifier", - "start": 12518, - "end": 12524, - "loc": { - "start": { - "line": 378, - "column": 37 - }, - "end": { - "line": 378, - "column": 43 - }, - "identifierName": "pIndex" - }, - "name": "pIndex" - } - ], - "body": { - "type": "BlockStatement", - "start": 12529, - "end": 12577, - "loc": { - "start": { - "line": 378, - "column": 48 - }, - "end": { - "line": 380, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 12544, - "end": 12566, - "loc": { - "start": { - "line": 379, - "column": 12 - }, - "end": { - "line": 379, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 12544, - "end": 12565, - "loc": { - "start": { - "line": 379, - "column": 12 - }, - "end": { - "line": 379, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 12544, - "end": 12556, - "loc": { - "start": { - "line": 379, - "column": 12 - }, - "end": { - "line": 379, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 12544, - "end": 12550, - "loc": { - "start": { - "line": 379, - "column": 12 - }, - "end": { - "line": 379, - "column": 18 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - }, - "property": { - "type": "Identifier", - "start": 12551, - "end": 12556, - "loc": { - "start": { - "line": 379, - "column": 19 - }, - "end": { - "line": 379, - "column": 24 - }, - "identifierName": "index" - }, - "name": "index" - }, - "computed": false - }, - "right": { - "type": "Identifier", - "start": 12559, - "end": 12565, - "loc": { - "start": { - "line": 379, - "column": 27 - }, - "end": { - "line": 379, - "column": 33 - }, - "identifierName": "pIndex" - }, - "name": "pIndex" - } - } - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Reorder the frames after removing.", - "start": 12442, - "end": 12479, - "loc": { - "start": { - "line": 377, - "column": 8 - }, - "end": { - "line": 377, - "column": 45 - } - } - } - ] - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 12347, - "end": 12411, - "loc": { - "start": { - "line": 372, - "column": 4 - }, - "end": { - "line": 375, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 12592, - "end": 13131, - "loc": { - "start": { - "line": 382, - "column": 4 - }, - "end": { - "line": 389, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 13137, - "end": 15066, - "loc": { - "start": { - "line": 390, - "column": 4 - }, - "end": { - "line": 430, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 13137, - "end": 13149, - "loc": { - "start": { - "line": 390, - "column": 4 - }, - "end": { - "line": 390, - "column": 16 - }, - "identifierName": "reorderFrame" - }, - "name": "reorderFrame", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 13150, - "end": 13163, - "loc": { - "start": { - "line": 390, - "column": 17 - }, - "end": { - "line": 390, - "column": 30 - }, - "identifierName": "pCurrentIndex" - }, - "name": "pCurrentIndex" - }, - { - "type": "Identifier", - "start": 13165, - "end": 13171, - "loc": { - "start": { - "line": 390, - "column": 32 - }, - "end": { - "line": 390, - "column": 38 - }, - "identifierName": "pIndex" - }, - "name": "pIndex" - } - ], - "body": { - "type": "BlockStatement", - "start": 13173, - "end": 15066, - "loc": { - "start": { - "line": 390, - "column": 40 - }, - "end": { - "line": 430, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 13184, - "end": 15037, - "loc": { - "start": { - "line": 391, - "column": 8 - }, - "end": { - "line": 428, - "column": 9 - } - }, - "test": { - "type": "LogicalExpression", - "start": 13188, - "end": 13253, - "loc": { - "start": { - "line": 391, - "column": 12 - }, - "end": { - "line": 391, - "column": 77 - } - }, - "left": { - "type": "BinaryExpression", - "start": 13188, - "end": 13222, - "loc": { - "start": { - "line": 391, - "column": 12 - }, - "end": { - "line": 391, - "column": 46 - } - }, - "left": { - "type": "UnaryExpression", - "start": 13188, - "end": 13209, - "loc": { - "start": { - "line": 391, - "column": 12 - }, - "end": { - "line": 391, - "column": 33 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 13195, - "end": 13208, - "loc": { - "start": { - "line": 391, - "column": 19 - }, - "end": { - "line": 391, - "column": 32 - }, - "identifierName": "pCurrentIndex" - }, - "name": "pCurrentIndex", - "extra": { - "parenthesized": true, - "parenStart": 13194 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 13214, - "end": 13222, - "loc": { - "start": { - "line": 391, - "column": 38 - }, - "end": { - "line": 391, - "column": 46 - } - }, - "extra": { - "rawValue": "number", - "raw": "'number'" - }, - "value": "number" - } - }, - "operator": "&&", - "right": { - "type": "BinaryExpression", - "start": 13226, - "end": 13253, - "loc": { - "start": { - "line": 391, - "column": 50 - }, - "end": { - "line": 391, - "column": 77 - } - }, - "left": { - "type": "UnaryExpression", - "start": 13226, - "end": 13240, - "loc": { - "start": { - "line": 391, - "column": 50 - }, - "end": { - "line": 391, - "column": 64 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 13233, - "end": 13239, - "loc": { - "start": { - "line": 391, - "column": 57 - }, - "end": { - "line": 391, - "column": 63 - }, - "identifierName": "pIndex" - }, - "name": "pIndex", - "extra": { - "parenthesized": true, - "parenStart": 13232 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 13245, - "end": 13253, - "loc": { - "start": { - "line": 391, - "column": 69 - }, - "end": { - "line": 391, - "column": 77 - } - }, - "extra": { - "rawValue": "number", - "raw": "'number'" - }, - "value": "number" - } - } - }, - "consequent": { - "type": "BlockStatement", - "start": 13255, - "end": 14945, - "loc": { - "start": { - "line": 391, - "column": 79 - }, - "end": { - "line": 426, - "column": 9 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 13270, - "end": 13287, - "loc": { - "start": { - "line": 392, - "column": 12 - }, - "end": { - "line": 392, - "column": 29 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 13274, - "end": 13286, - "loc": { - "start": { - "line": 392, - "column": 16 - }, - "end": { - "line": 392, - "column": 28 - } - }, - "id": { - "type": "Identifier", - "start": 13274, - "end": 13286, - "loc": { - "start": { - "line": 392, - "column": 16 - }, - "end": { - "line": 392, - "column": 28 - }, - "identifierName": "frameAtIndex" - }, - "name": "frameAtIndex" - }, - "init": null - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 13301, - "end": 13318, - "loc": { - "start": { - "line": 393, - "column": 12 - }, - "end": { - "line": 393, - "column": 29 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 13305, - "end": 13317, - "loc": { - "start": { - "line": 393, - "column": 16 - }, - "end": { - "line": 393, - "column": 28 - } - }, - "id": { - "type": "Identifier", - "start": 13305, - "end": 13317, - "loc": { - "start": { - "line": 393, - "column": 16 - }, - "end": { - "line": 393, - "column": 28 - }, - "identifierName": "currentFrame" - }, - "name": "currentFrame" - }, - "init": null - } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentLine", - "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", - "start": 13332, - "end": 13480, - "loc": { - "start": { - "line": 394, - "column": 12 - }, - "end": { - "line": 394, - "column": 160 - } - } - }, - { - "type": "CommentLine", - "value": " as the frame 0.", - "start": 13494, - "end": 13512, - "loc": { - "start": { - "line": 395, - "column": 12 - }, - "end": { - "line": 395, - "column": 30 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 13526, - "end": 13824, - "loc": { - "start": { - "line": 396, - "column": 12 - }, - "end": { - "line": 401, - "column": 13 - } - }, - "test": { - "type": "BinaryExpression", - "start": 13530, - "end": 13550, - "loc": { - "start": { - "line": 396, - "column": 16 - }, - "end": { - "line": 396, - "column": 36 - } - }, - "left": { - "type": "Identifier", - "start": 13530, - "end": 13543, - "loc": { - "start": { - "line": 396, - "column": 16 - }, - "end": { - "line": 396, - "column": 29 - }, - "identifierName": "pCurrentIndex" - }, - "name": "pCurrentIndex", - "leadingComments": null - }, - "operator": "===", - "right": { - "type": "UnaryExpression", - "start": 13548, - "end": 13550, - "loc": { - "start": { - "line": 396, - "column": 34 - }, - "end": { - "line": 396, - "column": 36 - } - }, - "operator": "-", - "prefix": true, - "argument": { - "type": "NumericLiteral", - "start": 13549, - "end": 13550, - "loc": { - "start": { - "line": 396, - "column": 35 - }, - "end": { - "line": 396, - "column": 36 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "extra": { - "parenthesizedArgument": false - } - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 13552, - "end": 13710, - "loc": { - "start": { - "line": 396, - "column": 38 - }, - "end": { - "line": 399, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 13571, - "end": 13591, - "loc": { - "start": { - "line": 397, - "column": 16 - }, - "end": { - "line": 397, - "column": 36 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 13571, - "end": 13590, - "loc": { - "start": { - "line": 397, - "column": 16 - }, - "end": { - "line": 397, - "column": 35 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 13571, - "end": 13583, - "loc": { - "start": { - "line": 397, - "column": 16 - }, - "end": { - "line": 397, - "column": 28 - }, - "identifierName": "currentFrame" - }, - "name": "currentFrame" - }, - "right": { - "type": "ThisExpression", - "start": 13586, - "end": 13590, - "loc": { - "start": { - "line": 397, - "column": 31 - }, - "end": { - "line": 397, - "column": 35 - } - } - } - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " Otherwise if the index passed can be found in the frames array, then we use that frame.", - "start": 13605, - "end": 13695, - "loc": { - "start": { - "line": 398, - "column": 12 - }, - "end": { - "line": 398, - "column": 102 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 13716, - "end": 13824, - "loc": { - "start": { - "line": 399, - "column": 19 - }, - "end": { - "line": 401, - "column": 13 - } - }, - "test": { - "type": "MemberExpression", - "start": 13720, - "end": 13746, - "loc": { - "start": { - "line": 399, - "column": 23 - }, - "end": { - "line": 399, - "column": 49 - } - }, - "object": { - "type": "MemberExpression", - "start": 13720, - "end": 13731, - "loc": { - "start": { - "line": 399, - "column": 23 - }, - "end": { - "line": 399, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 13720, - "end": 13724, - "loc": { - "start": { - "line": 399, - "column": 23 - }, - "end": { - "line": 399, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 13725, - "end": 13731, - "loc": { - "start": { - "line": 399, - "column": 28 - }, - "end": { - "line": 399, - "column": 34 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 13732, - "end": 13745, - "loc": { - "start": { - "line": 399, - "column": 35 - }, - "end": { - "line": 399, - "column": 48 - }, - "identifierName": "pCurrentIndex" - }, - "name": "pCurrentIndex" - }, - "computed": true - }, - "consequent": { - "type": "BlockStatement", - "start": 13748, - "end": 13824, - "loc": { - "start": { - "line": 399, - "column": 51 - }, - "end": { - "line": 401, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 13767, - "end": 13809, - "loc": { - "start": { - "line": 400, - "column": 16 - }, - "end": { - "line": 400, - "column": 58 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 13767, - "end": 13808, - "loc": { - "start": { - "line": 400, - "column": 16 - }, - "end": { - "line": 400, - "column": 57 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 13767, - "end": 13779, - "loc": { - "start": { - "line": 400, - "column": 16 - }, - "end": { - "line": 400, - "column": 28 - }, - "identifierName": "currentFrame" - }, - "name": "currentFrame" - }, - "right": { - "type": "MemberExpression", - "start": 13782, - "end": 13808, - "loc": { - "start": { - "line": 400, - "column": 31 - }, - "end": { - "line": 400, - "column": 57 - } - }, - "object": { - "type": "MemberExpression", - "start": 13782, - "end": 13793, - "loc": { - "start": { - "line": 400, - "column": 31 - }, - "end": { - "line": 400, - "column": 42 - } - }, - "object": { - "type": "ThisExpression", - "start": 13782, - "end": 13786, - "loc": { - "start": { - "line": 400, - "column": 31 - }, - "end": { - "line": 400, - "column": 35 - } - } - }, - "property": { - "type": "Identifier", - "start": 13787, - "end": 13793, - "loc": { - "start": { - "line": 400, - "column": 36 - }, - "end": { - "line": 400, - "column": 42 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 13794, - "end": 13807, - "loc": { - "start": { - "line": 400, - "column": 43 - }, - "end": { - "line": 400, - "column": 56 - }, - "identifierName": "pCurrentIndex" - }, - "name": "pCurrentIndex" - }, - "computed": true - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", - "start": 13332, - "end": 13480, - "loc": { - "start": { - "line": 394, - "column": 12 - }, - "end": { - "line": 394, - "column": 160 - } - } - }, - { - "type": "CommentLine", - "value": " as the frame 0.", - "start": 13494, - "end": 13512, - "loc": { - "start": { - "line": 395, - "column": 12 - }, - "end": { - "line": 395, - "column": 30 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " We get the frame at the specified index.", - "start": 13840, - "end": 13883, - "loc": { - "start": { - "line": 403, - "column": 12 - }, - "end": { - "line": 403, - "column": 55 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 13897, - "end": 13991, - "loc": { - "start": { - "line": 404, - "column": 12 - }, - "end": { - "line": 406, - "column": 13 - } - }, - "test": { - "type": "MemberExpression", - "start": 13901, - "end": 13920, - "loc": { - "start": { - "line": 404, - "column": 16 - }, - "end": { - "line": 404, - "column": 35 - } - }, - "object": { - "type": "MemberExpression", - "start": 13901, - "end": 13912, - "loc": { - "start": { - "line": 404, - "column": 16 - }, - "end": { - "line": 404, - "column": 27 - } - }, - "object": { - "type": "ThisExpression", - "start": 13901, - "end": 13905, - "loc": { - "start": { - "line": 404, - "column": 16 - }, - "end": { - "line": 404, - "column": 20 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 13906, - "end": 13912, - "loc": { - "start": { - "line": 404, - "column": 21 - }, - "end": { - "line": 404, - "column": 27 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 13913, - "end": 13919, - "loc": { - "start": { - "line": 404, - "column": 28 - }, - "end": { - "line": 404, - "column": 34 - }, - "identifierName": "pIndex" - }, - "name": "pIndex" - }, - "computed": true, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 13922, - "end": 13991, - "loc": { - "start": { - "line": 404, - "column": 37 - }, - "end": { - "line": 406, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 13941, - "end": 13976, - "loc": { - "start": { - "line": 405, - "column": 16 - }, - "end": { - "line": 405, - "column": 51 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 13941, - "end": 13975, - "loc": { - "start": { - "line": 405, - "column": 16 - }, - "end": { - "line": 405, - "column": 50 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 13941, - "end": 13953, - "loc": { - "start": { - "line": 405, - "column": 16 - }, - "end": { - "line": 405, - "column": 28 - }, - "identifierName": "frameAtIndex" - }, - "name": "frameAtIndex" - }, - "right": { - "type": "MemberExpression", - "start": 13956, - "end": 13975, - "loc": { - "start": { - "line": 405, - "column": 31 - }, - "end": { - "line": 405, - "column": 50 - } - }, - "object": { - "type": "MemberExpression", - "start": 13956, - "end": 13967, - "loc": { - "start": { - "line": 405, - "column": 31 - }, - "end": { - "line": 405, - "column": 42 - } - }, - "object": { - "type": "ThisExpression", - "start": 13956, - "end": 13960, - "loc": { - "start": { - "line": 405, - "column": 31 - }, - "end": { - "line": 405, - "column": 35 - } - } - }, - "property": { - "type": "Identifier", - "start": 13961, - "end": 13967, - "loc": { - "start": { - "line": 405, - "column": 36 - }, - "end": { - "line": 405, - "column": 42 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 13968, - "end": 13974, - "loc": { - "start": { - "line": 405, - "column": 43 - }, - "end": { - "line": 405, - "column": 49 - }, - "identifierName": "pIndex" - }, - "name": "pIndex" - }, - "computed": true - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " We get the frame at the specified index.", - "start": 13840, - "end": 13883, - "loc": { - "start": { - "line": 403, - "column": 12 - }, - "end": { - "line": 403, - "column": 55 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " If both frames can be found, we can swap their data.", - "start": 14007, - "end": 14062, - "loc": { - "start": { - "line": 408, - "column": 12 - }, - "end": { - "line": 408, - "column": 67 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 14076, - "end": 14934, - "loc": { - "start": { - "line": 409, - "column": 12 - }, - "end": { - "line": 425, - "column": 13 - } - }, - "test": { - "type": "LogicalExpression", - "start": 14080, - "end": 14108, - "loc": { - "start": { - "line": 409, - "column": 16 - }, - "end": { - "line": 409, - "column": 44 - } - }, - "left": { - "type": "Identifier", - "start": 14080, - "end": 14092, - "loc": { - "start": { - "line": 409, - "column": 16 - }, - "end": { - "line": 409, - "column": 28 - }, - "identifierName": "currentFrame" - }, - "name": "currentFrame", - "leadingComments": null - }, - "operator": "&&", - "right": { - "type": "Identifier", - "start": 14096, - "end": 14108, - "loc": { - "start": { - "line": 409, - "column": 32 - }, - "end": { - "line": 409, - "column": 44 - }, - "identifierName": "frameAtIndex" - }, - "name": "frameAtIndex" - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 14110, - "end": 14771, - "loc": { - "start": { - "line": 409, - "column": 46 - }, - "end": { - "line": 423, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 14166, - "end": 14220, - "loc": { - "start": { - "line": 411, - "column": 16 - }, - "end": { - "line": 411, - "column": 70 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 14172, - "end": 14219, - "loc": { - "start": { - "line": 411, - "column": 22 - }, - "end": { - "line": 411, - "column": 69 - } - }, - "id": { - "type": "Identifier", - "start": 14172, - "end": 14191, - "loc": { - "start": { - "line": 411, - "column": 22 - }, - "end": { - "line": 411, - "column": 41 - }, - "identifierName": "currentFrameDataURL" - }, - "name": "currentFrameDataURL", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 14194, - "end": 14219, - "loc": { - "start": { - "line": 411, - "column": 44 - }, - "end": { - "line": 411, - "column": 69 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14194, - "end": 14217, - "loc": { - "start": { - "line": 411, - "column": 44 - }, - "end": { - "line": 411, - "column": 67 - } - }, - "object": { - "type": "Identifier", - "start": 14194, - "end": 14206, - "loc": { - "start": { - "line": 411, - "column": 44 - }, - "end": { - "line": 411, - "column": 56 - }, - "identifierName": "currentFrame" - }, - "name": "currentFrame" - }, - "property": { - "type": "Identifier", - "start": 14207, - "end": 14217, - "loc": { - "start": { - "line": 411, - "column": 57 - }, - "end": { - "line": 411, - "column": 67 - }, - "identifierName": "getDataURL" - }, - "name": "getDataURL" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": " Store frame data", - "start": 14129, - "end": 14148, - "loc": { - "start": { - "line": 410, - "column": 16 - }, - "end": { - "line": 410, - "column": 35 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 14238, - "end": 14288, - "loc": { - "start": { - "line": 412, - "column": 16 - }, - "end": { - "line": 412, - "column": 66 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 14244, - "end": 14287, - "loc": { - "start": { - "line": 412, - "column": 22 - }, - "end": { - "line": 412, - "column": 65 - } - }, - "id": { - "type": "Identifier", - "start": 14244, - "end": 14261, - "loc": { - "start": { - "line": 412, - "column": 22 - }, - "end": { - "line": 412, - "column": 39 - }, - "identifierName": "currentFrameDelay" - }, - "name": "currentFrameDelay" - }, - "init": { - "type": "CallExpression", - "start": 14264, - "end": 14287, - "loc": { - "start": { - "line": 412, - "column": 42 - }, - "end": { - "line": 412, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14264, - "end": 14285, - "loc": { - "start": { - "line": 412, - "column": 42 - }, - "end": { - "line": 412, - "column": 63 - } - }, - "object": { - "type": "Identifier", - "start": 14264, - "end": 14276, - "loc": { - "start": { - "line": 412, - "column": 42 - }, - "end": { - "line": 412, - "column": 54 - }, - "identifierName": "currentFrame" - }, - "name": "currentFrame" - }, - "property": { - "type": "Identifier", - "start": 14277, - "end": 14285, - "loc": { - "start": { - "line": 412, - "column": 55 - }, - "end": { - "line": 412, - "column": 63 - }, - "identifierName": "getDelay" - }, - "name": "getDelay" - }, - "computed": false - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 14308, - "end": 14362, - "loc": { - "start": { - "line": 414, - "column": 16 - }, - "end": { - "line": 414, - "column": 70 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 14314, - "end": 14361, - "loc": { - "start": { - "line": 414, - "column": 22 - }, - "end": { - "line": 414, - "column": 69 - } - }, - "id": { - "type": "Identifier", - "start": 14314, - "end": 14333, - "loc": { - "start": { - "line": 414, - "column": 22 - }, - "end": { - "line": 414, - "column": 41 - }, - "identifierName": "frameAtIndexDataURL" - }, - "name": "frameAtIndexDataURL" - }, - "init": { - "type": "CallExpression", - "start": 14336, - "end": 14361, - "loc": { - "start": { - "line": 414, - "column": 44 - }, - "end": { - "line": 414, - "column": 69 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14336, - "end": 14359, - "loc": { - "start": { - "line": 414, - "column": 44 - }, - "end": { - "line": 414, - "column": 67 - } - }, - "object": { - "type": "Identifier", - "start": 14336, - "end": 14348, - "loc": { - "start": { - "line": 414, - "column": 44 - }, - "end": { - "line": 414, - "column": 56 - }, - "identifierName": "frameAtIndex" - }, - "name": "frameAtIndex" - }, - "property": { - "type": "Identifier", - "start": 14349, - "end": 14359, - "loc": { - "start": { - "line": 414, - "column": 57 - }, - "end": { - "line": 414, - "column": 67 - }, - "identifierName": "getDataURL" - }, - "name": "getDataURL" - }, - "computed": false - }, - "arguments": [] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 14380, - "end": 14430, - "loc": { - "start": { - "line": 415, - "column": 16 - }, - "end": { - "line": 415, - "column": 66 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 14386, - "end": 14429, - "loc": { - "start": { - "line": 415, - "column": 22 - }, - "end": { - "line": 415, - "column": 65 - } - }, - "id": { - "type": "Identifier", - "start": 14386, - "end": 14403, - "loc": { - "start": { - "line": 415, - "column": 22 - }, - "end": { - "line": 415, - "column": 39 - }, - "identifierName": "frameAtIndexDelay" - }, - "name": "frameAtIndexDelay" - }, - "init": { - "type": "CallExpression", - "start": 14406, - "end": 14429, - "loc": { - "start": { - "line": 415, - "column": 42 - }, - "end": { - "line": 415, - "column": 65 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14406, - "end": 14427, - "loc": { - "start": { - "line": 415, - "column": 42 - }, - "end": { - "line": 415, - "column": 63 - } - }, - "object": { - "type": "Identifier", - "start": 14406, - "end": 14418, - "loc": { - "start": { - "line": 415, - "column": 42 - }, - "end": { - "line": 415, - "column": 54 - }, - "identifierName": "frameAtIndex" - }, - "name": "frameAtIndex" - }, - "property": { - "type": "Identifier", - "start": 14419, - "end": 14427, - "loc": { - "start": { - "line": 415, - "column": 55 - }, - "end": { - "line": 415, - "column": 63 - }, - "identifierName": "getDelay" - }, - "name": "getDelay" - }, - "computed": false - }, - "arguments": [] - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " Swap data from frame", - "start": 14450, - "end": 14473, - "loc": { - "start": { - "line": 417, - "column": 16 - }, - "end": { - "line": 417, - "column": 39 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 14491, - "end": 14536, - "loc": { - "start": { - "line": 418, - "column": 16 - }, - "end": { - "line": 418, - "column": 61 - } - }, - "expression": { - "type": "CallExpression", - "start": 14491, - "end": 14535, - "loc": { - "start": { - "line": 418, - "column": 16 - }, - "end": { - "line": 418, - "column": 60 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14491, - "end": 14514, - "loc": { - "start": { - "line": 418, - "column": 16 - }, - "end": { - "line": 418, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 14491, - "end": 14503, - "loc": { - "start": { - "line": 418, - "column": 16 - }, - "end": { - "line": 418, - "column": 28 - }, - "identifierName": "currentFrame" - }, - "name": "currentFrame", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 14504, - "end": 14514, - "loc": { - "start": { - "line": 418, - "column": 29 - }, - "end": { - "line": 418, - "column": 39 - }, - "identifierName": "setDataURL" - }, - "name": "setDataURL" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 14515, - "end": 14534, - "loc": { - "start": { - "line": 418, - "column": 40 - }, - "end": { - "line": 418, - "column": 59 - }, - "identifierName": "frameAtIndexDataURL" - }, - "name": "frameAtIndexDataURL" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Swap data from frame", - "start": 14450, - "end": 14473, - "loc": { - "start": { - "line": 417, - "column": 16 - }, - "end": { - "line": 417, - "column": 39 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 14554, - "end": 14595, - "loc": { - "start": { - "line": 419, - "column": 16 - }, - "end": { - "line": 419, - "column": 57 - } - }, - "expression": { - "type": "CallExpression", - "start": 14554, - "end": 14594, - "loc": { - "start": { - "line": 419, - "column": 16 - }, - "end": { - "line": 419, - "column": 56 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14554, - "end": 14575, - "loc": { - "start": { - "line": 419, - "column": 16 - }, - "end": { - "line": 419, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 14554, - "end": 14566, - "loc": { - "start": { - "line": 419, - "column": 16 - }, - "end": { - "line": 419, - "column": 28 - }, - "identifierName": "currentFrame" - }, - "name": "currentFrame" - }, - "property": { - "type": "Identifier", - "start": 14567, - "end": 14575, - "loc": { - "start": { - "line": 419, - "column": 29 - }, - "end": { - "line": 419, - "column": 37 - }, - "identifierName": "setDelay" - }, - "name": "setDelay" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 14576, - "end": 14593, - "loc": { - "start": { - "line": 419, - "column": 38 - }, - "end": { - "line": 419, - "column": 55 - }, - "identifierName": "frameAtIndexDelay" - }, - "name": "frameAtIndexDelay" - } - ] - }, - "trailingComments": [ - { - "type": "CommentLine", - "value": " Swap data to frame", - "start": 14613, - "end": 14634, - "loc": { - "start": { - "line": 420, - "column": 16 - }, - "end": { - "line": 420, - "column": 37 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 14652, - "end": 14697, - "loc": { - "start": { - "line": 421, - "column": 16 - }, - "end": { - "line": 421, - "column": 61 - } - }, - "expression": { - "type": "CallExpression", - "start": 14652, - "end": 14696, - "loc": { - "start": { - "line": 421, - "column": 16 - }, - "end": { - "line": 421, - "column": 60 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14652, - "end": 14675, - "loc": { - "start": { - "line": 421, - "column": 16 - }, - "end": { - "line": 421, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 14652, - "end": 14664, - "loc": { - "start": { - "line": 421, - "column": 16 - }, - "end": { - "line": 421, - "column": 28 - }, - "identifierName": "frameAtIndex" - }, - "name": "frameAtIndex", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 14665, - "end": 14675, - "loc": { - "start": { - "line": 421, - "column": 29 - }, - "end": { - "line": 421, - "column": 39 - }, - "identifierName": "setDataURL" - }, - "name": "setDataURL" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 14676, - "end": 14695, - "loc": { - "start": { - "line": 421, - "column": 40 - }, - "end": { - "line": 421, - "column": 59 - }, - "identifierName": "currentFrameDataURL" - }, - "name": "currentFrameDataURL" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Swap data to frame", - "start": 14613, - "end": 14634, - "loc": { - "start": { - "line": 420, - "column": 16 - }, - "end": { - "line": 420, - "column": 37 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 14715, - "end": 14756, - "loc": { - "start": { - "line": 422, - "column": 16 - }, - "end": { - "line": 422, - "column": 57 - } - }, - "expression": { - "type": "CallExpression", - "start": 14715, - "end": 14755, - "loc": { - "start": { - "line": 422, - "column": 16 - }, - "end": { - "line": 422, - "column": 56 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14715, - "end": 14736, - "loc": { - "start": { - "line": 422, - "column": 16 - }, - "end": { - "line": 422, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 14715, - "end": 14727, - "loc": { - "start": { - "line": 422, - "column": 16 - }, - "end": { - "line": 422, - "column": 28 - }, - "identifierName": "frameAtIndex" - }, - "name": "frameAtIndex" - }, - "property": { - "type": "Identifier", - "start": 14728, - "end": 14736, - "loc": { - "start": { - "line": 422, - "column": 29 - }, - "end": { - "line": 422, - "column": 37 - }, - "identifierName": "setDelay" - }, - "name": "setDelay" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 14737, - "end": 14754, - "loc": { - "start": { - "line": 422, - "column": 38 - }, - "end": { - "line": 422, - "column": 55 - }, - "identifierName": "currentFrameDelay" - }, - "name": "currentFrameDelay" - } - ] - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 14777, - "end": 14934, - "loc": { - "start": { - "line": 423, - "column": 19 - }, - "end": { - "line": 425, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 14796, - "end": 14919, - "loc": { - "start": { - "line": 424, - "column": 16 - }, - "end": { - "line": 424, - "column": 139 - } - }, - "expression": { - "type": "CallExpression", - "start": 14796, - "end": 14918, - "loc": { - "start": { - "line": 424, - "column": 16 - }, - "end": { - "line": 424, - "column": 138 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14796, - "end": 14833, - "loc": { - "start": { - "line": 424, - "column": 16 - }, - "end": { - "line": 424, - "column": 53 - } - }, - "object": { - "type": "CallExpression", - "start": 14796, - "end": 14827, - "loc": { - "start": { - "line": 424, - "column": 16 - }, - "end": { - "line": 424, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14796, - "end": 14813, - "loc": { - "start": { - "line": 424, - "column": 16 - }, - "end": { - "line": 424, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 14796, - "end": 14806, - "loc": { - "start": { - "line": 424, - "column": 16 - }, - "end": { - "line": 424, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 14796, - "end": 14799, - "loc": { - "start": { - "line": 424, - "column": 16 - }, - "end": { - "line": 424, - "column": 19 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 14800, - "end": 14806, - "loc": { - "start": { - "line": 424, - "column": 20 - }, - "end": { - "line": 424, - "column": 26 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 14807, - "end": 14813, - "loc": { - "start": { - "line": 424, - "column": 27 - }, - "end": { - "line": 424, - "column": 33 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 14814, - "end": 14826, - "loc": { - "start": { - "line": 424, - "column": 34 - }, - "end": { - "line": 424, - "column": 46 - } - }, - "extra": { - "rawValue": "VYI-Module", - "raw": "'VYI-Module'" - }, - "value": "VYI-Module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 14828, - "end": 14833, - "loc": { - "start": { - "line": 424, - "column": 48 - }, - "end": { - "line": 424, - "column": 53 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 14834, - "end": 14917, - "loc": { - "start": { - "line": 424, - "column": 54 - }, - "end": { - "line": 424, - "column": 137 - } - }, - "extra": { - "rawValue": "There was no frame found at pCurrentIndex, or there was no frame found at pIndex!", - "raw": "'There was no frame found at pCurrentIndex, or there was no frame found at pIndex!'" - }, - "value": "There was no frame found at pCurrentIndex, or there was no frame found at pIndex!" - } - ] - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If both frames can be found, we can swap their data.", - "start": 14007, - "end": 14062, - "loc": { - "start": { - "line": 408, - "column": 12 - }, - "end": { - "line": 408, - "column": 67 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 14951, - "end": 15037, - "loc": { - "start": { - "line": 426, - "column": 15 - }, - "end": { - "line": 428, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 14966, - "end": 15026, - "loc": { - "start": { - "line": 427, - "column": 12 - }, - "end": { - "line": 427, - "column": 72 - } - }, - "expression": { - "type": "CallExpression", - "start": 14966, - "end": 15025, - "loc": { - "start": { - "line": 427, - "column": 12 - }, - "end": { - "line": 427, - "column": 71 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14966, - "end": 15003, - "loc": { - "start": { - "line": 427, - "column": 12 - }, - "end": { - "line": 427, - "column": 49 - } - }, - "object": { - "type": "CallExpression", - "start": 14966, - "end": 14997, - "loc": { - "start": { - "line": 427, - "column": 12 - }, - "end": { - "line": 427, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 14966, - "end": 14983, - "loc": { - "start": { - "line": 427, - "column": 12 - }, - "end": { - "line": 427, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 14966, - "end": 14976, - "loc": { - "start": { - "line": 427, - "column": 12 - }, - "end": { - "line": 427, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 14966, - "end": 14969, - "loc": { - "start": { - "line": 427, - "column": 12 - }, - "end": { - "line": 427, - "column": 15 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 14970, - "end": 14976, - "loc": { - "start": { - "line": 427, - "column": 16 - }, - "end": { - "line": 427, - "column": 22 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 14977, - "end": 14983, - "loc": { - "start": { - "line": 427, - "column": 23 - }, - "end": { - "line": 427, - "column": 29 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 14984, - "end": 14996, - "loc": { - "start": { - "line": 427, - "column": 30 - }, - "end": { - "line": 427, - "column": 42 - } - }, - "extra": { - "rawValue": "VYI-Module", - "raw": "'VYI-Module'" - }, - "value": "VYI-Module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 14998, - "end": 15003, - "loc": { - "start": { - "line": 427, - "column": 44 - }, - "end": { - "line": 427, - "column": 49 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 15004, - "end": 15024, - "loc": { - "start": { - "line": 427, - "column": 50 - }, - "end": { - "line": 427, - "column": 70 - } - }, - "extra": { - "rawValue": "Invalid type used!", - "raw": "'Invalid type used!'" - }, - "value": "Invalid type used!" - } - ] - } - } - ], - "directives": [] - } - }, - { - "type": "ReturnStatement", - "start": 15047, - "end": 15059, - "loc": { - "start": { - "line": 429, - "column": 8 - }, - "end": { - "line": 429, - "column": 20 - } - }, - "argument": { - "type": "ThisExpression", - "start": 15054, - "end": 15058, - "loc": { - "start": { - "line": 429, - "column": 15 - }, - "end": { - "line": 429, - "column": 19 - } - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 12592, - "end": 13131, - "loc": { - "start": { - "line": 382, - "column": 4 - }, - "end": { - "line": 389, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", - "start": 15072, - "end": 15474, - "loc": { - "start": { - "line": 431, - "column": 4 - }, - "end": { - "line": 437, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 15480, - "end": 15693, - "loc": { - "start": { - "line": 438, - "column": 4 - }, - "end": { - "line": 444, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 15480, - "end": 15488, - "loc": { - "start": { - "line": 438, - "column": 4 - }, - "end": { - "line": 438, - "column": 12 - }, - "identifierName": "getFrame" - }, - "name": "getFrame", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 15489, - "end": 15495, - "loc": { - "start": { - "line": 438, - "column": 13 - }, - "end": { - "line": 438, - "column": 19 - }, - "identifierName": "pIndex" - }, - "name": "pIndex" - } - ], - "body": { - "type": "BlockStatement", - "start": 15497, - "end": 15693, - "loc": { - "start": { - "line": 438, - "column": 21 - }, - "end": { - "line": 444, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 15508, - "end": 15686, - "loc": { - "start": { - "line": 439, - "column": 8 - }, - "end": { - "line": 443, - "column": 9 - } - }, - "test": { - "type": "BinaryExpression", - "start": 15512, - "end": 15539, - "loc": { - "start": { - "line": 439, - "column": 12 - }, - "end": { - "line": 439, - "column": 39 - } - }, - "left": { - "type": "UnaryExpression", - "start": 15512, - "end": 15526, - "loc": { - "start": { - "line": 439, - "column": 12 - }, - "end": { - "line": 439, - "column": 26 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 15519, - "end": 15525, - "loc": { - "start": { - "line": 439, - "column": 19 - }, - "end": { - "line": 439, - "column": 25 - }, - "identifierName": "pIndex" - }, - "name": "pIndex", - "extra": { - "parenthesized": true, - "parenStart": 15518 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 15531, - "end": 15539, - "loc": { - "start": { - "line": 439, - "column": 31 - }, - "end": { - "line": 439, - "column": 39 - } - }, - "extra": { - "rawValue": "number", - "raw": "'number'" - }, - "value": "number" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 15541, - "end": 15594, - "loc": { - "start": { - "line": 439, - "column": 41 - }, - "end": { - "line": 441, - "column": 9 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 15556, - "end": 15583, - "loc": { - "start": { - "line": 440, - "column": 12 - }, - "end": { - "line": 440, - "column": 39 - } - }, - "argument": { - "type": "MemberExpression", - "start": 15563, - "end": 15582, - "loc": { - "start": { - "line": 440, - "column": 19 - }, - "end": { - "line": 440, - "column": 38 - } - }, - "object": { - "type": "MemberExpression", - "start": 15563, - "end": 15574, - "loc": { - "start": { - "line": 440, - "column": 19 - }, - "end": { - "line": 440, - "column": 30 - } - }, - "object": { - "type": "ThisExpression", - "start": 15563, - "end": 15567, - "loc": { - "start": { - "line": 440, - "column": 19 - }, - "end": { - "line": 440, - "column": 23 - } - } - }, - "property": { - "type": "Identifier", - "start": 15568, - "end": 15574, - "loc": { - "start": { - "line": 440, - "column": 24 - }, - "end": { - "line": 440, - "column": 30 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15575, - "end": 15581, - "loc": { - "start": { - "line": 440, - "column": 31 - }, - "end": { - "line": 440, - "column": 37 - }, - "identifierName": "pIndex" - }, - "name": "pIndex" - }, - "computed": true - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 15600, - "end": 15686, - "loc": { - "start": { - "line": 441, - "column": 15 - }, - "end": { - "line": 443, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 15615, - "end": 15675, - "loc": { - "start": { - "line": 442, - "column": 12 - }, - "end": { - "line": 442, - "column": 72 - } - }, - "expression": { - "type": "CallExpression", - "start": 15615, - "end": 15674, - "loc": { - "start": { - "line": 442, - "column": 12 - }, - "end": { - "line": 442, - "column": 71 - } - }, - "callee": { - "type": "MemberExpression", - "start": 15615, - "end": 15652, - "loc": { - "start": { - "line": 442, - "column": 12 - }, - "end": { - "line": 442, - "column": 49 - } - }, - "object": { - "type": "CallExpression", - "start": 15615, - "end": 15646, - "loc": { - "start": { - "line": 442, - "column": 12 - }, - "end": { - "line": 442, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 15615, - "end": 15632, - "loc": { - "start": { - "line": 442, - "column": 12 - }, - "end": { - "line": 442, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 15615, - "end": 15625, - "loc": { - "start": { - "line": 442, - "column": 12 - }, - "end": { - "line": 442, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 15615, - "end": 15618, - "loc": { - "start": { - "line": 442, - "column": 12 - }, - "end": { - "line": 442, - "column": 15 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 15619, - "end": 15625, - "loc": { - "start": { - "line": 442, - "column": 16 - }, - "end": { - "line": 442, - "column": 22 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 15626, - "end": 15632, - "loc": { - "start": { - "line": 442, - "column": 23 - }, - "end": { - "line": 442, - "column": 29 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 15633, - "end": 15645, - "loc": { - "start": { - "line": 442, - "column": 30 - }, - "end": { - "line": 442, - "column": 42 - } - }, - "extra": { - "rawValue": "VYI-Module", - "raw": "'VYI-Module'" - }, - "value": "VYI-Module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 15647, - "end": 15652, - "loc": { - "start": { - "line": 442, - "column": 44 - }, - "end": { - "line": 442, - "column": 49 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 15653, - "end": 15673, - "loc": { - "start": { - "line": 442, - "column": 50 - }, - "end": { - "line": 442, - "column": 70 - } - }, - "extra": { - "rawValue": "Invalid type used!", - "raw": "'Invalid type used!'" - }, - "value": "Invalid type used!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", - "start": 15072, - "end": 15474, - "loc": { - "start": { - "line": 431, - "column": 4 - }, - "end": { - "line": 437, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", - "start": 15699, - "end": 15829, - "loc": { - "start": { - "line": 445, - "column": 4 - }, - "end": { - "line": 448, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 15835, - "end": 15891, - "loc": { - "start": { - "line": 449, - "column": 4 - }, - "end": { - "line": 451, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 15835, - "end": 15844, - "loc": { - "start": { - "line": 449, - "column": 4 - }, - "end": { - "line": 449, - "column": 13 - }, - "identifierName": "getFrames" - }, - "name": "getFrames", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 15847, - "end": 15891, - "loc": { - "start": { - "line": 449, - "column": 16 - }, - "end": { - "line": 451, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 15858, - "end": 15884, - "loc": { - "start": { - "line": 450, - "column": 8 - }, - "end": { - "line": 450, - "column": 34 - } - }, - "argument": { - "type": "ArrayExpression", - "start": 15865, - "end": 15883, - "loc": { - "start": { - "line": 450, - "column": 15 - }, - "end": { - "line": 450, - "column": 33 - } - }, - "elements": [ - { - "type": "SpreadElement", - "start": 15867, - "end": 15881, - "loc": { - "start": { - "line": 450, - "column": 17 - }, - "end": { - "line": 450, - "column": 31 - } - }, - "argument": { - "type": "MemberExpression", - "start": 15870, - "end": 15881, - "loc": { - "start": { - "line": 450, - "column": 20 - }, - "end": { - "line": 450, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 15870, - "end": 15874, - "loc": { - "start": { - "line": 450, - "column": 20 - }, - "end": { - "line": 450, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "start": 15875, - "end": 15881, - "loc": { - "start": { - "line": 450, - "column": 25 - }, - "end": { - "line": 450, - "column": 31 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", - "start": 15699, - "end": 15829, - "loc": { - "start": { - "line": 445, - "column": 4 - }, - "end": { - "line": 448, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", - "start": 15897, - "end": 16053, - "loc": { - "start": { - "line": 452, - "column": 4 - }, - "end": { - "line": 456, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 16059, - "end": 16258, - "loc": { - "start": { - "line": 457, - "column": 4 - }, - "end": { - "line": 463, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 16059, - "end": 16072, - "loc": { - "start": { - "line": 457, - "column": 4 - }, - "end": { - "line": 457, - "column": 17 - }, - "identifierName": "getFramesData" - }, - "name": "getFramesData", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 16075, - "end": 16258, - "loc": { - "start": { - "line": 457, - "column": 20 - }, - "end": { - "line": 463, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 16086, - "end": 16112, - "loc": { - "start": { - "line": 458, - "column": 8 - }, - "end": { - "line": 458, - "column": 34 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16092, - "end": 16111, - "loc": { - "start": { - "line": 458, - "column": 14 - }, - "end": { - "line": 458, - "column": 33 - } - }, - "id": { - "type": "Identifier", - "start": 16092, - "end": 16106, - "loc": { - "start": { - "line": 458, - "column": 14 - }, - "end": { - "line": 458, - "column": 28 - }, - "identifierName": "frameDataArray" - }, - "name": "frameDataArray" - }, - "init": { - "type": "ArrayExpression", - "start": 16109, - "end": 16111, - "loc": { - "start": { - "line": 458, - "column": 31 - }, - "end": { - "line": 458, - "column": 33 - } - }, - "elements": [] - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 16122, - "end": 16219, - "loc": { - "start": { - "line": 459, - "column": 8 - }, - "end": { - "line": 461, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 16122, - "end": 16218, - "loc": { - "start": { - "line": 459, - "column": 8 - }, - "end": { - "line": 461, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16122, - "end": 16141, - "loc": { - "start": { - "line": 459, - "column": 8 - }, - "end": { - "line": 459, - "column": 27 - } - }, - "object": { - "type": "MemberExpression", - "start": 16122, - "end": 16133, - "loc": { - "start": { - "line": 459, - "column": 8 - }, - "end": { - "line": 459, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 16122, - "end": 16126, - "loc": { - "start": { - "line": 459, - "column": 8 - }, - "end": { - "line": 459, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 16127, - "end": 16133, - "loc": { - "start": { - "line": 459, - "column": 13 - }, - "end": { - "line": 459, - "column": 19 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16134, - "end": 16141, - "loc": { - "start": { - "line": 459, - "column": 20 - }, - "end": { - "line": 459, - "column": 27 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 16142, - "end": 16217, - "loc": { - "start": { - "line": 459, - "column": 28 - }, - "end": { - "line": 461, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 16143, - "end": 16149, - "loc": { - "start": { - "line": 459, - "column": 29 - }, - "end": { - "line": 459, - "column": 35 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - } - ], - "body": { - "type": "BlockStatement", - "start": 16154, - "end": 16217, - "loc": { - "start": { - "line": 459, - "column": 40 - }, - "end": { - "line": 461, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 16169, - "end": 16206, - "loc": { - "start": { - "line": 460, - "column": 12 - }, - "end": { - "line": 460, - "column": 49 - } - }, - "expression": { - "type": "CallExpression", - "start": 16169, - "end": 16205, - "loc": { - "start": { - "line": 460, - "column": 12 - }, - "end": { - "line": 460, - "column": 48 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16169, - "end": 16188, - "loc": { - "start": { - "line": 460, - "column": 12 - }, - "end": { - "line": 460, - "column": 31 - } - }, - "object": { - "type": "Identifier", - "start": 16169, - "end": 16183, - "loc": { - "start": { - "line": 460, - "column": 12 - }, - "end": { - "line": 460, - "column": 26 - }, - "identifierName": "frameDataArray" - }, - "name": "frameDataArray" - }, - "property": { - "type": "Identifier", - "start": 16184, - "end": 16188, - "loc": { - "start": { - "line": 460, - "column": 27 - }, - "end": { - "line": 460, - "column": 31 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 16189, - "end": 16204, - "loc": { - "start": { - "line": 460, - "column": 32 - }, - "end": { - "line": 460, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16189, - "end": 16202, - "loc": { - "start": { - "line": 460, - "column": 32 - }, - "end": { - "line": 460, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 16189, - "end": 16195, - "loc": { - "start": { - "line": 460, - "column": 32 - }, - "end": { - "line": 460, - "column": 38 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - }, - "property": { - "type": "Identifier", - "start": 16196, - "end": 16202, - "loc": { - "start": { - "line": 460, - "column": 39 - }, - "end": { - "line": 460, - "column": 45 - }, - "identifierName": "export" - }, - "name": "export" - }, - "computed": false - }, - "arguments": [] - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 16229, - "end": 16251, - "loc": { - "start": { - "line": 462, - "column": 8 - }, - "end": { - "line": 462, - "column": 30 - } - }, - "argument": { - "type": "Identifier", - "start": 16236, - "end": 16250, - "loc": { - "start": { - "line": 462, - "column": 15 - }, - "end": { - "line": 462, - "column": 29 - }, - "identifierName": "frameDataArray" - }, - "name": "frameDataArray" - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", - "start": 15897, - "end": 16053, - "loc": { - "start": { - "line": 452, - "column": 4 - }, - "end": { - "line": 456, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", - "start": 16264, - "end": 16448, - "loc": { - "start": { - "line": 464, - "column": 4 - }, - "end": { - "line": 468, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 16454, - "end": 16925, - "loc": { - "start": { - "line": 469, - "column": 4 - }, - "end": { - "line": 481, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 16454, - "end": 16462, - "loc": { - "start": { - "line": 469, - "column": 4 - }, - "end": { - "line": 469, - "column": 12 - }, - "identifierName": "getState" - }, - "name": "getState", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 16463, - "end": 16468, - "loc": { - "start": { - "line": 469, - "column": 13 - }, - "end": { - "line": 469, - "column": 18 - }, - "identifierName": "pName" - }, - "name": "pName" - } - ], - "body": { - "type": "BlockStatement", - "start": 16470, - "end": 16925, - "loc": { - "start": { - "line": 469, - "column": 20 - }, - "end": { - "line": 481, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 16481, - "end": 16918, - "loc": { - "start": { - "line": 470, - "column": 8 - }, - "end": { - "line": 480, - "column": 9 - } - }, - "test": { - "type": "BinaryExpression", - "start": 16485, - "end": 16511, - "loc": { - "start": { - "line": 470, - "column": 12 - }, - "end": { - "line": 470, - "column": 38 - } - }, - "left": { - "type": "UnaryExpression", - "start": 16485, - "end": 16498, - "loc": { - "start": { - "line": 470, - "column": 12 - }, - "end": { - "line": 470, - "column": 25 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 16492, - "end": 16497, - "loc": { - "start": { - "line": 470, - "column": 19 - }, - "end": { - "line": 470, - "column": 24 - }, - "identifierName": "pName" - }, - "name": "pName", - "extra": { - "parenthesized": true, - "parenStart": 16491 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 16503, - "end": 16511, - "loc": { - "start": { - "line": 470, - "column": 30 - }, - "end": { - "line": 470, - "column": 38 - } - }, - "extra": { - "rawValue": "string", - "raw": "'string'" - }, - "value": "string" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 16513, - "end": 16821, - "loc": { - "start": { - "line": 470, - "column": 40 - }, - "end": { - "line": 478, - "column": 9 - } - }, - "body": [ - { - "type": "ForStatement", - "start": 16528, - "end": 16810, - "loc": { - "start": { - "line": 471, - "column": 12 - }, - "end": { - "line": 477, - "column": 13 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 16533, - "end": 16563, - "loc": { - "start": { - "line": 471, - "column": 17 - }, - "end": { - "line": 471, - "column": 47 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16537, - "end": 16563, - "loc": { - "start": { - "line": 471, - "column": 21 - }, - "end": { - "line": 471, - "column": 47 - } - }, - "id": { - "type": "Identifier", - "start": 16537, - "end": 16538, - "loc": { - "start": { - "line": 471, - "column": 21 - }, - "end": { - "line": 471, - "column": 22 - }, - "identifierName": "i" - }, - "name": "i" - }, - "init": { - "type": "BinaryExpression", - "start": 16541, - "end": 16563, - "loc": { - "start": { - "line": 471, - "column": 25 - }, - "end": { - "line": 471, - "column": 47 - } - }, - "left": { - "type": "MemberExpression", - "start": 16541, - "end": 16559, - "loc": { - "start": { - "line": 471, - "column": 25 - }, - "end": { - "line": 471, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 16541, - "end": 16552, - "loc": { - "start": { - "line": 471, - "column": 25 - }, - "end": { - "line": 471, - "column": 36 - } - }, - "object": { - "type": "ThisExpression", - "start": 16541, - "end": 16545, - "loc": { - "start": { - "line": 471, - "column": 25 - }, - "end": { - "line": 471, - "column": 29 - } - } - }, - "property": { - "type": "Identifier", - "start": 16546, - "end": 16552, - "loc": { - "start": { - "line": 471, - "column": 30 - }, - "end": { - "line": 471, - "column": 36 - }, - "identifierName": "states" - }, - "name": "states" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16553, - "end": 16559, - "loc": { - "start": { - "line": 471, - "column": 37 - }, - "end": { - "line": 471, - "column": 43 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 16562, - "end": 16563, - "loc": { - "start": { - "line": 471, - "column": 46 - }, - "end": { - "line": 471, - "column": 47 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - } - } - ], - "kind": "let" - }, - "test": { - "type": "BinaryExpression", - "start": 16565, - "end": 16571, - "loc": { - "start": { - "line": 471, - "column": 49 - }, - "end": { - "line": 471, - "column": 55 - } - }, - "left": { - "type": "Identifier", - "start": 16565, - "end": 16566, - "loc": { - "start": { - "line": 471, - "column": 49 - }, - "end": { - "line": 471, - "column": 50 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": ">=", - "right": { - "type": "NumericLiteral", - "start": 16570, - "end": 16571, - "loc": { - "start": { - "line": 471, - "column": 54 - }, - "end": { - "line": 471, - "column": 55 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - }, - "update": { - "type": "UpdateExpression", - "start": 16573, - "end": 16576, - "loc": { - "start": { - "line": 471, - "column": 57 - }, - "end": { - "line": 471, - "column": 60 - } - }, - "operator": "--", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 16573, - "end": 16574, - "loc": { - "start": { - "line": 471, - "column": 57 - }, - "end": { - "line": 471, - "column": 58 - }, - "identifierName": "i" - }, - "name": "i" - } - }, - "body": { - "type": "BlockStatement", - "start": 16578, - "end": 16810, - "loc": { - "start": { - "line": 471, - "column": 62 - }, - "end": { - "line": 477, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 16597, - "end": 16625, - "loc": { - "start": { - "line": 472, - "column": 16 - }, - "end": { - "line": 472, - "column": 44 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 16603, - "end": 16624, - "loc": { - "start": { - "line": 472, - "column": 22 - }, - "end": { - "line": 472, - "column": 43 - } - }, - "id": { - "type": "Identifier", - "start": 16603, - "end": 16607, - "loc": { - "start": { - "line": 472, - "column": 22 - }, - "end": { - "line": 472, - "column": 26 - }, - "identifierName": "icon" - }, - "name": "icon" - }, - "init": { - "type": "MemberExpression", - "start": 16610, - "end": 16624, - "loc": { - "start": { - "line": 472, - "column": 29 - }, - "end": { - "line": 472, - "column": 43 - } - }, - "object": { - "type": "MemberExpression", - "start": 16610, - "end": 16621, - "loc": { - "start": { - "line": 472, - "column": 29 - }, - "end": { - "line": 472, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 16610, - "end": 16614, - "loc": { - "start": { - "line": 472, - "column": 29 - }, - "end": { - "line": 472, - "column": 33 - } - } - }, - "property": { - "type": "Identifier", - "start": 16615, - "end": 16621, - "loc": { - "start": { - "line": 472, - "column": 34 - }, - "end": { - "line": 472, - "column": 40 - }, - "identifierName": "states" - }, - "name": "states" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16622, - "end": 16623, - "loc": { - "start": { - "line": 472, - "column": 41 - }, - "end": { - "line": 472, - "column": 42 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " If the icon has the same name, return that icon", - "start": 16643, - "end": 16693, - "loc": { - "start": { - "line": 473, - "column": 16 - }, - "end": { - "line": 473, - "column": 66 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 16711, - "end": 16795, - "loc": { - "start": { - "line": 474, - "column": 16 - }, - "end": { - "line": 476, - "column": 17 - } - }, - "test": { - "type": "BinaryExpression", - "start": 16715, - "end": 16739, - "loc": { - "start": { - "line": 474, - "column": 20 - }, - "end": { - "line": 474, - "column": 44 - } - }, - "left": { - "type": "CallExpression", - "start": 16715, - "end": 16729, - "loc": { - "start": { - "line": 474, - "column": 20 - }, - "end": { - "line": 474, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16715, - "end": 16727, - "loc": { - "start": { - "line": 474, - "column": 20 - }, - "end": { - "line": 474, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 16715, - "end": 16719, - "loc": { - "start": { - "line": 474, - "column": 20 - }, - "end": { - "line": 474, - "column": 24 - }, - "identifierName": "icon" - }, - "name": "icon", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 16720, - "end": 16727, - "loc": { - "start": { - "line": 474, - "column": 25 - }, - "end": { - "line": 474, - "column": 32 - }, - "identifierName": "getName" - }, - "name": "getName" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 16734, - "end": 16739, - "loc": { - "start": { - "line": 474, - "column": 39 - }, - "end": { - "line": 474, - "column": 44 - }, - "identifierName": "pName" - }, - "name": "pName" - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 16741, - "end": 16795, - "loc": { - "start": { - "line": 474, - "column": 46 - }, - "end": { - "line": 476, - "column": 17 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 16764, - "end": 16776, - "loc": { - "start": { - "line": 475, - "column": 20 - }, - "end": { - "line": 475, - "column": 32 - } - }, - "argument": { - "type": "Identifier", - "start": 16771, - "end": 16775, - "loc": { - "start": { - "line": 475, - "column": 27 - }, - "end": { - "line": 475, - "column": 31 - }, - "identifierName": "icon" - }, - "name": "icon" - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If the icon has the same name, return that icon", - "start": 16643, - "end": 16693, - "loc": { - "start": { - "line": 473, - "column": 16 - }, - "end": { - "line": 473, - "column": 66 - } - } - } - ] - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 16827, - "end": 16918, - "loc": { - "start": { - "line": 478, - "column": 15 - }, - "end": { - "line": 480, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 16842, - "end": 16907, - "loc": { - "start": { - "line": 479, - "column": 12 - }, - "end": { - "line": 479, - "column": 77 - } - }, - "expression": { - "type": "CallExpression", - "start": 16842, - "end": 16906, - "loc": { - "start": { - "line": 479, - "column": 12 - }, - "end": { - "line": 479, - "column": 76 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16842, - "end": 16879, - "loc": { - "start": { - "line": 479, - "column": 12 - }, - "end": { - "line": 479, - "column": 49 - } - }, - "object": { - "type": "CallExpression", - "start": 16842, - "end": 16873, - "loc": { - "start": { - "line": 479, - "column": 12 - }, - "end": { - "line": 479, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 16842, - "end": 16859, - "loc": { - "start": { - "line": 479, - "column": 12 - }, - "end": { - "line": 479, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 16842, - "end": 16852, - "loc": { - "start": { - "line": 479, - "column": 12 - }, - "end": { - "line": 479, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 16842, - "end": 16845, - "loc": { - "start": { - "line": 479, - "column": 12 - }, - "end": { - "line": 479, - "column": 15 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 16846, - "end": 16852, - "loc": { - "start": { - "line": 479, - "column": 16 - }, - "end": { - "line": 479, - "column": 22 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 16853, - "end": 16859, - "loc": { - "start": { - "line": 479, - "column": 23 - }, - "end": { - "line": 479, - "column": 29 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 16860, - "end": 16872, - "loc": { - "start": { - "line": 479, - "column": 30 - }, - "end": { - "line": 479, - "column": 42 - } - }, - "extra": { - "rawValue": "VYI-module", - "raw": "'VYI-module'" - }, - "value": "VYI-module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 16874, - "end": 16879, - "loc": { - "start": { - "line": 479, - "column": 44 - }, - "end": { - "line": 479, - "column": 49 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 16880, - "end": 16905, - "loc": { - "start": { - "line": 479, - "column": 50 - }, - "end": { - "line": 479, - "column": 75 - } - }, - "extra": { - "rawValue": "Invalid name type used!", - "raw": "'Invalid name type used!'" - }, - "value": "Invalid name type used!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", - "start": 16264, - "end": 16448, - "loc": { - "start": { - "line": 464, - "column": 4 - }, - "end": { - "line": 468, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", - "start": 16931, - "end": 17061, - "loc": { - "start": { - "line": 482, - "column": 4 - }, - "end": { - "line": 485, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 17067, - "end": 17123, - "loc": { - "start": { - "line": 486, - "column": 4 - }, - "end": { - "line": 488, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 17067, - "end": 17076, - "loc": { - "start": { - "line": 486, - "column": 4 - }, - "end": { - "line": 486, - "column": 13 - }, - "identifierName": "getStates" - }, - "name": "getStates", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17079, - "end": 17123, - "loc": { - "start": { - "line": 486, - "column": 16 - }, - "end": { - "line": 488, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 17090, - "end": 17116, - "loc": { - "start": { - "line": 487, - "column": 8 - }, - "end": { - "line": 487, - "column": 34 - } - }, - "argument": { - "type": "ArrayExpression", - "start": 17097, - "end": 17115, - "loc": { - "start": { - "line": 487, - "column": 15 - }, - "end": { - "line": 487, - "column": 33 - } - }, - "elements": [ - { - "type": "SpreadElement", - "start": 17099, - "end": 17113, - "loc": { - "start": { - "line": 487, - "column": 17 - }, - "end": { - "line": 487, - "column": 31 - } - }, - "argument": { - "type": "MemberExpression", - "start": 17102, - "end": 17113, - "loc": { - "start": { - "line": 487, - "column": 20 - }, - "end": { - "line": 487, - "column": 31 - } - }, - "object": { - "type": "ThisExpression", - "start": 17102, - "end": 17106, - "loc": { - "start": { - "line": 487, - "column": 20 - }, - "end": { - "line": 487, - "column": 24 - } - } - }, - "property": { - "type": "Identifier", - "start": 17107, - "end": 17113, - "loc": { - "start": { - "line": 487, - "column": 25 - }, - "end": { - "line": 487, - "column": 31 - }, - "identifierName": "states" - }, - "name": "states" - }, - "computed": false - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", - "start": 16931, - "end": 17061, - "loc": { - "start": { - "line": 482, - "column": 4 - }, - "end": { - "line": 485, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", - "start": 17129, - "end": 17285, - "loc": { - "start": { - "line": 489, - "column": 4 - }, - "end": { - "line": 493, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 17291, - "end": 17566, - "loc": { - "start": { - "line": 494, - "column": 4 - }, - "end": { - "line": 501, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 17291, - "end": 17304, - "loc": { - "start": { - "line": 494, - "column": 4 - }, - "end": { - "line": 494, - "column": 17 - }, - "identifierName": "getStatesData" - }, - "name": "getStatesData", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17307, - "end": 17566, - "loc": { - "start": { - "line": 494, - "column": 20 - }, - "end": { - "line": 501, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 17318, - "end": 17344, - "loc": { - "start": { - "line": 495, - "column": 8 - }, - "end": { - "line": 495, - "column": 34 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 17324, - "end": 17343, - "loc": { - "start": { - "line": 495, - "column": 14 - }, - "end": { - "line": 495, - "column": 33 - } - }, - "id": { - "type": "Identifier", - "start": 17324, - "end": 17338, - "loc": { - "start": { - "line": 495, - "column": 14 - }, - "end": { - "line": 495, - "column": 28 - }, - "identifierName": "stateDataArray" - }, - "name": "stateDataArray" - }, - "init": { - "type": "ArrayExpression", - "start": 17341, - "end": 17343, - "loc": { - "start": { - "line": 495, - "column": 31 - }, - "end": { - "line": 495, - "column": 33 - } - }, - "elements": [] - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " Loop state array to export relevant information.", - "start": 17354, - "end": 17405, - "loc": { - "start": { - "line": 496, - "column": 8 - }, - "end": { - "line": 496, - "column": 59 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17415, - "end": 17519, - "loc": { - "start": { - "line": 497, - "column": 8 - }, - "end": { - "line": 499, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 17415, - "end": 17518, - "loc": { - "start": { - "line": 497, - "column": 8 - }, - "end": { - "line": 499, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17415, - "end": 17434, - "loc": { - "start": { - "line": 497, - "column": 8 - }, - "end": { - "line": 497, - "column": 27 - } - }, - "object": { - "type": "MemberExpression", - "start": 17415, - "end": 17426, - "loc": { - "start": { - "line": 497, - "column": 8 - }, - "end": { - "line": 497, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 17415, - "end": 17419, - "loc": { - "start": { - "line": 497, - "column": 8 - }, - "end": { - "line": 497, - "column": 12 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17420, - "end": 17426, - "loc": { - "start": { - "line": 497, - "column": 13 - }, - "end": { - "line": 497, - "column": 19 - }, - "identifierName": "states" - }, - "name": "states" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 17427, - "end": 17434, - "loc": { - "start": { - "line": 497, - "column": 20 - }, - "end": { - "line": 497, - "column": 27 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 17435, - "end": 17517, - "loc": { - "start": { - "line": 497, - "column": 28 - }, - "end": { - "line": 499, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 17436, - "end": 17442, - "loc": { - "start": { - "line": 497, - "column": 29 - }, - "end": { - "line": 497, - "column": 35 - }, - "identifierName": "pState" - }, - "name": "pState" - } - ], - "body": { - "type": "BlockStatement", - "start": 17447, - "end": 17517, - "loc": { - "start": { - "line": 497, - "column": 40 - }, - "end": { - "line": 499, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 17462, - "end": 17506, - "loc": { - "start": { - "line": 498, - "column": 12 - }, - "end": { - "line": 498, - "column": 56 - } - }, - "expression": { - "type": "CallExpression", - "start": 17462, - "end": 17505, - "loc": { - "start": { - "line": 498, - "column": 12 - }, - "end": { - "line": 498, - "column": 55 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17462, - "end": 17481, - "loc": { - "start": { - "line": 498, - "column": 12 - }, - "end": { - "line": 498, - "column": 31 - } - }, - "object": { - "type": "Identifier", - "start": 17462, - "end": 17476, - "loc": { - "start": { - "line": 498, - "column": 12 - }, - "end": { - "line": 498, - "column": 26 - }, - "identifierName": "stateDataArray" - }, - "name": "stateDataArray" - }, - "property": { - "type": "Identifier", - "start": 17477, - "end": 17481, - "loc": { - "start": { - "line": 498, - "column": 27 - }, - "end": { - "line": 498, - "column": 31 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 17482, - "end": 17504, - "loc": { - "start": { - "line": 498, - "column": 32 - }, - "end": { - "line": 498, - "column": 54 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17482, - "end": 17502, - "loc": { - "start": { - "line": 498, - "column": 32 - }, - "end": { - "line": 498, - "column": 52 - } - }, - "object": { - "type": "Identifier", - "start": 17482, - "end": 17488, - "loc": { - "start": { - "line": 498, - "column": 32 - }, - "end": { - "line": 498, - "column": 38 - }, - "identifierName": "pState" - }, - "name": "pState" - }, - "property": { - "type": "Identifier", - "start": 17489, - "end": 17502, - "loc": { - "start": { - "line": 498, - "column": 39 - }, - "end": { - "line": 498, - "column": 52 - }, - "identifierName": "exportAsState" - }, - "name": "exportAsState" - }, - "computed": false - }, - "arguments": [] - } - ] - } - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Loop state array to export relevant information.", - "start": 17354, - "end": 17405, - "loc": { - "start": { - "line": 496, - "column": 8 - }, - "end": { - "line": 496, - "column": 59 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "start": 17529, - "end": 17551, - "loc": { - "start": { - "line": 500, - "column": 8 - }, - "end": { - "line": 500, - "column": 30 - } - }, - "argument": { - "type": "Identifier", - "start": 17536, - "end": 17550, - "loc": { - "start": { - "line": 500, - "column": 15 - }, - "end": { - "line": 500, - "column": 29 - }, - "identifierName": "stateDataArray" - }, - "name": "stateDataArray" - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", - "start": 17129, - "end": 17285, - "loc": { - "start": { - "line": 489, - "column": 4 - }, - "end": { - "line": 493, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", - "start": 17572, - "end": 17760, - "loc": { - "start": { - "line": 502, - "column": 4 - }, - "end": { - "line": 506, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 17766, - "end": 18277, - "loc": { - "start": { - "line": 507, - "column": 4 - }, - "end": { - "line": 523, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 17766, - "end": 17779, - "loc": { - "start": { - "line": 507, - "column": 4 - }, - "end": { - "line": 507, - "column": 17 - }, - "identifierName": "exportAsState" - }, - "name": "exportAsState", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 17782, - "end": 18277, - "loc": { - "start": { - "line": 507, - "column": 20 - }, - "end": { - "line": 523, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 17793, - "end": 17814, - "loc": { - "start": { - "line": 508, - "column": 8 - }, - "end": { - "line": 508, - "column": 29 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 17799, - "end": 17813, - "loc": { - "start": { - "line": 508, - "column": 14 - }, - "end": { - "line": 508, - "column": 28 - } - }, - "id": { - "type": "Identifier", - "start": 17799, - "end": 17808, - "loc": { - "start": { - "line": 508, - "column": 14 - }, - "end": { - "line": 508, - "column": 23 - }, - "identifierName": "stateData" - }, - "name": "stateData" - }, - "init": { - "type": "ArrayExpression", - "start": 17811, - "end": 17813, - "loc": { - "start": { - "line": 508, - "column": 26 - }, - "end": { - "line": 508, - "column": 28 - } - }, - "elements": [] - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " state name", - "start": 17824, - "end": 17837, - "loc": { - "start": { - "line": 509, - "column": 8 - }, - "end": { - "line": 509, - "column": 21 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17847, - "end": 17877, - "loc": { - "start": { - "line": 510, - "column": 8 - }, - "end": { - "line": 510, - "column": 38 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 17847, - "end": 17876, - "loc": { - "start": { - "line": 510, - "column": 8 - }, - "end": { - "line": 510, - "column": 37 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17847, - "end": 17859, - "loc": { - "start": { - "line": 510, - "column": 8 - }, - "end": { - "line": 510, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 17847, - "end": 17856, - "loc": { - "start": { - "line": 510, - "column": 8 - }, - "end": { - "line": 510, - "column": 17 - }, - "identifierName": "stateData" - }, - "name": "stateData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 17857, - "end": 17858, - "loc": { - "start": { - "line": 510, - "column": 18 - }, - "end": { - "line": 510, - "column": 19 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 17862, - "end": 17876, - "loc": { - "start": { - "line": 510, - "column": 23 - }, - "end": { - "line": 510, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17862, - "end": 17874, - "loc": { - "start": { - "line": 510, - "column": 23 - }, - "end": { - "line": 510, - "column": 35 - } - }, - "object": { - "type": "ThisExpression", - "start": 17862, - "end": 17866, - "loc": { - "start": { - "line": 510, - "column": 23 - }, - "end": { - "line": 510, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 17867, - "end": 17874, - "loc": { - "start": { - "line": 510, - "column": 28 - }, - "end": { - "line": 510, - "column": 35 - }, - "identifierName": "getName" - }, - "name": "getName" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " state name", - "start": 17824, - "end": 17837, - "loc": { - "start": { - "line": 509, - "column": 8 - }, - "end": { - "line": 509, - "column": 21 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " state dataURL", - "start": 17887, - "end": 17903, - "loc": { - "start": { - "line": 511, - "column": 8 - }, - "end": { - "line": 511, - "column": 24 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17913, - "end": 17946, - "loc": { - "start": { - "line": 512, - "column": 8 - }, - "end": { - "line": 512, - "column": 41 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 17913, - "end": 17945, - "loc": { - "start": { - "line": 512, - "column": 8 - }, - "end": { - "line": 512, - "column": 40 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17913, - "end": 17925, - "loc": { - "start": { - "line": 512, - "column": 8 - }, - "end": { - "line": 512, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 17913, - "end": 17922, - "loc": { - "start": { - "line": 512, - "column": 8 - }, - "end": { - "line": 512, - "column": 17 - }, - "identifierName": "stateData" - }, - "name": "stateData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 17923, - "end": 17924, - "loc": { - "start": { - "line": 512, - "column": 18 - }, - "end": { - "line": 512, - "column": 19 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 17928, - "end": 17945, - "loc": { - "start": { - "line": 512, - "column": 23 - }, - "end": { - "line": 512, - "column": 40 - } - }, - "callee": { - "type": "MemberExpression", - "start": 17928, - "end": 17943, - "loc": { - "start": { - "line": 512, - "column": 23 - }, - "end": { - "line": 512, - "column": 38 - } - }, - "object": { - "type": "ThisExpression", - "start": 17928, - "end": 17932, - "loc": { - "start": { - "line": 512, - "column": 23 - }, - "end": { - "line": 512, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 17933, - "end": 17943, - "loc": { - "start": { - "line": 512, - "column": 28 - }, - "end": { - "line": 512, - "column": 38 - }, - "identifierName": "getDataURL" - }, - "name": "getDataURL" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " state dataURL", - "start": 17887, - "end": 17903, - "loc": { - "start": { - "line": 511, - "column": 8 - }, - "end": { - "line": 511, - "column": 24 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " state frame delay", - "start": 17956, - "end": 17976, - "loc": { - "start": { - "line": 513, - "column": 8 - }, - "end": { - "line": 513, - "column": 28 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 17986, - "end": 18017, - "loc": { - "start": { - "line": 514, - "column": 8 - }, - "end": { - "line": 514, - "column": 39 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 17986, - "end": 18016, - "loc": { - "start": { - "line": 514, - "column": 8 - }, - "end": { - "line": 514, - "column": 38 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 17986, - "end": 17998, - "loc": { - "start": { - "line": 514, - "column": 8 - }, - "end": { - "line": 514, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 17986, - "end": 17995, - "loc": { - "start": { - "line": 514, - "column": 8 - }, - "end": { - "line": 514, - "column": 17 - }, - "identifierName": "stateData" - }, - "name": "stateData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 17996, - "end": 17997, - "loc": { - "start": { - "line": 514, - "column": 18 - }, - "end": { - "line": 514, - "column": 19 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 18001, - "end": 18016, - "loc": { - "start": { - "line": 514, - "column": 23 - }, - "end": { - "line": 514, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18001, - "end": 18014, - "loc": { - "start": { - "line": 514, - "column": 23 - }, - "end": { - "line": 514, - "column": 36 - } - }, - "object": { - "type": "ThisExpression", - "start": 18001, - "end": 18005, - "loc": { - "start": { - "line": 514, - "column": 23 - }, - "end": { - "line": 514, - "column": 27 - } - } - }, - "property": { - "type": "Identifier", - "start": 18006, - "end": 18014, - "loc": { - "start": { - "line": 514, - "column": 28 - }, - "end": { - "line": 514, - "column": 36 - }, - "identifierName": "getDelay" - }, - "name": "getDelay" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " state frame delay", - "start": 17956, - "end": 17976, - "loc": { - "start": { - "line": 513, - "column": 8 - }, - "end": { - "line": 513, - "column": 28 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " state frame array", - "start": 18027, - "end": 18047, - "loc": { - "start": { - "line": 515, - "column": 8 - }, - "end": { - "line": 515, - "column": 28 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18057, - "end": 18075, - "loc": { - "start": { - "line": 516, - "column": 8 - }, - "end": { - "line": 516, - "column": 26 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 18057, - "end": 18074, - "loc": { - "start": { - "line": 516, - "column": 8 - }, - "end": { - "line": 516, - "column": 25 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 18057, - "end": 18069, - "loc": { - "start": { - "line": 516, - "column": 8 - }, - "end": { - "line": 516, - "column": 20 - } - }, - "object": { - "type": "Identifier", - "start": 18057, - "end": 18066, - "loc": { - "start": { - "line": 516, - "column": 8 - }, - "end": { - "line": 516, - "column": 17 - }, - "identifierName": "stateData" - }, - "name": "stateData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 18067, - "end": 18068, - "loc": { - "start": { - "line": 516, - "column": 18 - }, - "end": { - "line": 516, - "column": 19 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "ArrayExpression", - "start": 18072, - "end": 18074, - "loc": { - "start": { - "line": 516, - "column": 23 - }, - "end": { - "line": 516, - "column": 25 - } - }, - "elements": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " state frame array", - "start": 18027, - "end": 18047, - "loc": { - "start": { - "line": 515, - "column": 8 - }, - "end": { - "line": 515, - "column": 28 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Loop frame array to export relevant information.", - "start": 18087, - "end": 18138, - "loc": { - "start": { - "line": 518, - "column": 8 - }, - "end": { - "line": 518, - "column": 59 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18148, - "end": 18243, - "loc": { - "start": { - "line": 519, - "column": 8 - }, - "end": { - "line": 521, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 18148, - "end": 18242, - "loc": { - "start": { - "line": 519, - "column": 8 - }, - "end": { - "line": 521, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18148, - "end": 18167, - "loc": { - "start": { - "line": 519, - "column": 8 - }, - "end": { - "line": 519, - "column": 27 - } - }, - "object": { - "type": "MemberExpression", - "start": 18148, - "end": 18159, - "loc": { - "start": { - "line": 519, - "column": 8 - }, - "end": { - "line": 519, - "column": 19 - } - }, - "object": { - "type": "ThisExpression", - "start": 18148, - "end": 18152, - "loc": { - "start": { - "line": 519, - "column": 8 - }, - "end": { - "line": 519, - "column": 12 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 18153, - "end": 18159, - "loc": { - "start": { - "line": 519, - "column": 13 - }, - "end": { - "line": 519, - "column": 19 - }, - "identifierName": "frames" - }, - "name": "frames" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 18160, - "end": 18167, - "loc": { - "start": { - "line": 519, - "column": 20 - }, - "end": { - "line": 519, - "column": 27 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 18168, - "end": 18241, - "loc": { - "start": { - "line": 519, - "column": 28 - }, - "end": { - "line": 521, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 18169, - "end": 18175, - "loc": { - "start": { - "line": 519, - "column": 29 - }, - "end": { - "line": 519, - "column": 35 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - } - ], - "body": { - "type": "BlockStatement", - "start": 18180, - "end": 18241, - "loc": { - "start": { - "line": 519, - "column": 40 - }, - "end": { - "line": 521, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 18195, - "end": 18230, - "loc": { - "start": { - "line": 520, - "column": 12 - }, - "end": { - "line": 520, - "column": 47 - } - }, - "expression": { - "type": "CallExpression", - "start": 18195, - "end": 18229, - "loc": { - "start": { - "line": 520, - "column": 12 - }, - "end": { - "line": 520, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18195, - "end": 18212, - "loc": { - "start": { - "line": 520, - "column": 12 - }, - "end": { - "line": 520, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 18195, - "end": 18207, - "loc": { - "start": { - "line": 520, - "column": 12 - }, - "end": { - "line": 520, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 18195, - "end": 18204, - "loc": { - "start": { - "line": 520, - "column": 12 - }, - "end": { - "line": 520, - "column": 21 - }, - "identifierName": "stateData" - }, - "name": "stateData" - }, - "property": { - "type": "NumericLiteral", - "start": 18205, - "end": 18206, - "loc": { - "start": { - "line": 520, - "column": 22 - }, - "end": { - "line": 520, - "column": 23 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - "computed": true - }, - "property": { - "type": "Identifier", - "start": 18208, - "end": 18212, - "loc": { - "start": { - "line": 520, - "column": 25 - }, - "end": { - "line": 520, - "column": 29 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 18213, - "end": 18228, - "loc": { - "start": { - "line": 520, - "column": 30 - }, - "end": { - "line": 520, - "column": 45 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18213, - "end": 18226, - "loc": { - "start": { - "line": 520, - "column": 30 - }, - "end": { - "line": 520, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 18213, - "end": 18219, - "loc": { - "start": { - "line": 520, - "column": 30 - }, - "end": { - "line": 520, - "column": 36 - }, - "identifierName": "pFrame" - }, - "name": "pFrame" - }, - "property": { - "type": "Identifier", - "start": 18220, - "end": 18226, - "loc": { - "start": { - "line": 520, - "column": 37 - }, - "end": { - "line": 520, - "column": 43 - }, - "identifierName": "export" - }, - "name": "export" - }, - "computed": false - }, - "arguments": [] - } - ] - } - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Loop frame array to export relevant information.", - "start": 18087, - "end": 18138, - "loc": { - "start": { - "line": 518, - "column": 8 - }, - "end": { - "line": 518, - "column": 59 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "start": 18253, - "end": 18270, - "loc": { - "start": { - "line": 522, - "column": 8 - }, - "end": { - "line": 522, - "column": 25 - } - }, - "argument": { - "type": "Identifier", - "start": 18260, - "end": 18269, - "loc": { - "start": { - "line": 522, - "column": 15 - }, - "end": { - "line": 522, - "column": 24 - }, - "identifierName": "stateData" - }, - "name": "stateData" - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", - "start": 17572, - "end": 17760, - "loc": { - "start": { - "line": 502, - "column": 4 - }, - "end": { - "line": 506, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", - "start": 18283, - "end": 18458, - "loc": { - "start": { - "line": 524, - "column": 4 - }, - "end": { - "line": 528, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 18464, - "end": 19266, - "loc": { - "start": { - "line": 529, - "column": 4 - }, - "end": { - "line": 553, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 18464, - "end": 18470, - "loc": { - "start": { - "line": 529, - "column": 4 - }, - "end": { - "line": 529, - "column": 10 - }, - "identifierName": "export" - }, - "name": "export", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 18473, - "end": 19266, - "loc": { - "start": { - "line": 529, - "column": 13 - }, - "end": { - "line": 553, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 18484, - "end": 18504, - "loc": { - "start": { - "line": 530, - "column": 8 - }, - "end": { - "line": 530, - "column": 28 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18490, - "end": 18503, - "loc": { - "start": { - "line": 530, - "column": 14 - }, - "end": { - "line": 530, - "column": 27 - } - }, - "id": { - "type": "Identifier", - "start": 18490, - "end": 18498, - "loc": { - "start": { - "line": 530, - "column": 14 - }, - "end": { - "line": 530, - "column": 22 - }, - "identifierName": "iconData" - }, - "name": "iconData" - }, - "init": { - "type": "ArrayExpression", - "start": 18501, - "end": 18503, - "loc": { - "start": { - "line": 530, - "column": 25 - }, - "end": { - "line": 530, - "column": 27 - } - }, - "elements": [] - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " icon name", - "start": 18514, - "end": 18526, - "loc": { - "start": { - "line": 531, - "column": 8 - }, - "end": { - "line": 531, - "column": 20 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18536, - "end": 18565, - "loc": { - "start": { - "line": 532, - "column": 8 - }, - "end": { - "line": 532, - "column": 37 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 18536, - "end": 18564, - "loc": { - "start": { - "line": 532, - "column": 8 - }, - "end": { - "line": 532, - "column": 36 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 18536, - "end": 18547, - "loc": { - "start": { - "line": 532, - "column": 8 - }, - "end": { - "line": 532, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 18536, - "end": 18544, - "loc": { - "start": { - "line": 532, - "column": 8 - }, - "end": { - "line": 532, - "column": 16 - }, - "identifierName": "iconData" - }, - "name": "iconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 18545, - "end": 18546, - "loc": { - "start": { - "line": 532, - "column": 17 - }, - "end": { - "line": 532, - "column": 18 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 18550, - "end": 18564, - "loc": { - "start": { - "line": 532, - "column": 22 - }, - "end": { - "line": 532, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18550, - "end": 18562, - "loc": { - "start": { - "line": 532, - "column": 22 - }, - "end": { - "line": 532, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 18550, - "end": 18554, - "loc": { - "start": { - "line": 532, - "column": 22 - }, - "end": { - "line": 532, - "column": 26 - } - } - }, - "property": { - "type": "Identifier", - "start": 18555, - "end": 18562, - "loc": { - "start": { - "line": 532, - "column": 27 - }, - "end": { - "line": 532, - "column": 34 - }, - "identifierName": "getName" - }, - "name": "getName" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " icon name", - "start": 18514, - "end": 18526, - "loc": { - "start": { - "line": 531, - "column": 8 - }, - "end": { - "line": 531, - "column": 20 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Get the size of this icon.", - "start": 18575, - "end": 18604, - "loc": { - "start": { - "line": 533, - "column": 8 - }, - "end": { - "line": 533, - "column": 37 - } - } - } - ] - }, - { - "type": "VariableDeclaration", - "start": 18614, - "end": 18642, - "loc": { - "start": { - "line": 534, - "column": 8 - }, - "end": { - "line": 534, - "column": 36 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 18620, - "end": 18641, - "loc": { - "start": { - "line": 534, - "column": 14 - }, - "end": { - "line": 534, - "column": 35 - } - }, - "id": { - "type": "Identifier", - "start": 18620, - "end": 18624, - "loc": { - "start": { - "line": 534, - "column": 14 - }, - "end": { - "line": 534, - "column": 18 - }, - "identifierName": "size" - }, - "name": "size", - "leadingComments": null - }, - "init": { - "type": "CallExpression", - "start": 18627, - "end": 18641, - "loc": { - "start": { - "line": 534, - "column": 21 - }, - "end": { - "line": 534, - "column": 35 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18627, - "end": 18639, - "loc": { - "start": { - "line": 534, - "column": 21 - }, - "end": { - "line": 534, - "column": 33 - } - }, - "object": { - "type": "ThisExpression", - "start": 18627, - "end": 18631, - "loc": { - "start": { - "line": 534, - "column": 21 - }, - "end": { - "line": 534, - "column": 25 - } - } - }, - "property": { - "type": "Identifier", - "start": 18632, - "end": 18639, - "loc": { - "start": { - "line": 534, - "column": 26 - }, - "end": { - "line": 534, - "column": 33 - }, - "identifierName": "getSize" - }, - "name": "getSize" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": " Get the size of this icon.", - "start": 18575, - "end": 18604, - "loc": { - "start": { - "line": 533, - "column": 8 - }, - "end": { - "line": 533, - "column": 37 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " icon width", - "start": 18652, - "end": 18665, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 21 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18675, - "end": 18700, - "loc": { - "start": { - "line": 536, - "column": 8 - }, - "end": { - "line": 536, - "column": 33 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 18675, - "end": 18699, - "loc": { - "start": { - "line": 536, - "column": 8 - }, - "end": { - "line": 536, - "column": 32 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 18675, - "end": 18686, - "loc": { - "start": { - "line": 536, - "column": 8 - }, - "end": { - "line": 536, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 18675, - "end": 18683, - "loc": { - "start": { - "line": 536, - "column": 8 - }, - "end": { - "line": 536, - "column": 16 - }, - "identifierName": "iconData" - }, - "name": "iconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 18684, - "end": 18685, - "loc": { - "start": { - "line": 536, - "column": 17 - }, - "end": { - "line": 536, - "column": 18 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "MemberExpression", - "start": 18689, - "end": 18699, - "loc": { - "start": { - "line": 536, - "column": 22 - }, - "end": { - "line": 536, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 18689, - "end": 18693, - "loc": { - "start": { - "line": 536, - "column": 22 - }, - "end": { - "line": 536, - "column": 26 - }, - "identifierName": "size" - }, - "name": "size" - }, - "property": { - "type": "Identifier", - "start": 18694, - "end": 18699, - "loc": { - "start": { - "line": 536, - "column": 27 - }, - "end": { - "line": 536, - "column": 32 - }, - "identifierName": "width" - }, - "name": "width" - }, - "computed": false - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " icon width", - "start": 18652, - "end": 18665, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 21 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " icon height", - "start": 18710, - "end": 18724, - "loc": { - "start": { - "line": 537, - "column": 8 - }, - "end": { - "line": 537, - "column": 22 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18734, - "end": 18760, - "loc": { - "start": { - "line": 538, - "column": 8 - }, - "end": { - "line": 538, - "column": 34 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 18734, - "end": 18759, - "loc": { - "start": { - "line": 538, - "column": 8 - }, - "end": { - "line": 538, - "column": 33 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 18734, - "end": 18745, - "loc": { - "start": { - "line": 538, - "column": 8 - }, - "end": { - "line": 538, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 18734, - "end": 18742, - "loc": { - "start": { - "line": 538, - "column": 8 - }, - "end": { - "line": 538, - "column": 16 - }, - "identifierName": "iconData" - }, - "name": "iconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 18743, - "end": 18744, - "loc": { - "start": { - "line": 538, - "column": 17 - }, - "end": { - "line": 538, - "column": 18 - } - }, - "extra": { - "rawValue": 2, - "raw": "2" - }, - "value": 2 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "MemberExpression", - "start": 18748, - "end": 18759, - "loc": { - "start": { - "line": 538, - "column": 22 - }, - "end": { - "line": 538, - "column": 33 - } - }, - "object": { - "type": "Identifier", - "start": 18748, - "end": 18752, - "loc": { - "start": { - "line": 538, - "column": 22 - }, - "end": { - "line": 538, - "column": 26 - }, - "identifierName": "size" - }, - "name": "size" - }, - "property": { - "type": "Identifier", - "start": 18753, - "end": 18759, - "loc": { - "start": { - "line": 538, - "column": 27 - }, - "end": { - "line": 538, - "column": 33 - }, - "identifierName": "height" - }, - "name": "height" - }, - "computed": false - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " icon height", - "start": 18710, - "end": 18724, - "loc": { - "start": { - "line": 537, - "column": 8 - }, - "end": { - "line": 537, - "column": 22 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " frame delay", - "start": 18770, - "end": 18784, - "loc": { - "start": { - "line": 539, - "column": 8 - }, - "end": { - "line": 539, - "column": 22 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18794, - "end": 18824, - "loc": { - "start": { - "line": 540, - "column": 8 - }, - "end": { - "line": 540, - "column": 38 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 18794, - "end": 18823, - "loc": { - "start": { - "line": 540, - "column": 8 - }, - "end": { - "line": 540, - "column": 37 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 18794, - "end": 18805, - "loc": { - "start": { - "line": 540, - "column": 8 - }, - "end": { - "line": 540, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 18794, - "end": 18802, - "loc": { - "start": { - "line": 540, - "column": 8 - }, - "end": { - "line": 540, - "column": 16 - }, - "identifierName": "iconData" - }, - "name": "iconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 18803, - "end": 18804, - "loc": { - "start": { - "line": 540, - "column": 17 - }, - "end": { - "line": 540, - "column": 18 - } - }, - "extra": { - "rawValue": 3, - "raw": "3" - }, - "value": 3 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 18808, - "end": 18823, - "loc": { - "start": { - "line": 540, - "column": 22 - }, - "end": { - "line": 540, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18808, - "end": 18821, - "loc": { - "start": { - "line": 540, - "column": 22 - }, - "end": { - "line": 540, - "column": 35 - } - }, - "object": { - "type": "ThisExpression", - "start": 18808, - "end": 18812, - "loc": { - "start": { - "line": 540, - "column": 22 - }, - "end": { - "line": 540, - "column": 26 - } - } - }, - "property": { - "type": "Identifier", - "start": 18813, - "end": 18821, - "loc": { - "start": { - "line": 540, - "column": 27 - }, - "end": { - "line": 540, - "column": 35 - }, - "identifierName": "getDelay" - }, - "name": "getDelay" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " frame delay", - "start": 18770, - "end": 18784, - "loc": { - "start": { - "line": 539, - "column": 8 - }, - "end": { - "line": 539, - "column": 22 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " icon DataURL", - "start": 18834, - "end": 18849, - "loc": { - "start": { - "line": 541, - "column": 8 - }, - "end": { - "line": 541, - "column": 23 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18859, - "end": 18891, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 40 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 18859, - "end": 18890, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 39 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 18859, - "end": 18870, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 18859, - "end": 18867, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 16 - }, - "identifierName": "iconData" - }, - "name": "iconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 18868, - "end": 18869, - "loc": { - "start": { - "line": 542, - "column": 17 - }, - "end": { - "line": 542, - "column": 18 - } - }, - "extra": { - "rawValue": 4, - "raw": "4" - }, - "value": 4 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 18873, - "end": 18890, - "loc": { - "start": { - "line": 542, - "column": 22 - }, - "end": { - "line": 542, - "column": 39 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18873, - "end": 18888, - "loc": { - "start": { - "line": 542, - "column": 22 - }, - "end": { - "line": 542, - "column": 37 - } - }, - "object": { - "type": "ThisExpression", - "start": 18873, - "end": 18877, - "loc": { - "start": { - "line": 542, - "column": 22 - }, - "end": { - "line": 542, - "column": 26 - } - } - }, - "property": { - "type": "Identifier", - "start": 18878, - "end": 18888, - "loc": { - "start": { - "line": 542, - "column": 27 - }, - "end": { - "line": 542, - "column": 37 - }, - "identifierName": "getDataURL" - }, - "name": "getDataURL" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " icon DataURL", - "start": 18834, - "end": 18849, - "loc": { - "start": { - "line": 541, - "column": 8 - }, - "end": { - "line": 541, - "column": 23 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " frame array", - "start": 18901, - "end": 18915, - "loc": { - "start": { - "line": 543, - "column": 8 - }, - "end": { - "line": 543, - "column": 22 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 18925, - "end": 18960, - "loc": { - "start": { - "line": 544, - "column": 8 - }, - "end": { - "line": 544, - "column": 43 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 18925, - "end": 18959, - "loc": { - "start": { - "line": 544, - "column": 8 - }, - "end": { - "line": 544, - "column": 42 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 18925, - "end": 18936, - "loc": { - "start": { - "line": 544, - "column": 8 - }, - "end": { - "line": 544, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 18925, - "end": 18933, - "loc": { - "start": { - "line": 544, - "column": 8 - }, - "end": { - "line": 544, - "column": 16 - }, - "identifierName": "iconData" - }, - "name": "iconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 18934, - "end": 18935, - "loc": { - "start": { - "line": 544, - "column": 17 - }, - "end": { - "line": 544, - "column": 18 - } - }, - "extra": { - "rawValue": 5, - "raw": "5" - }, - "value": 5 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 18939, - "end": 18959, - "loc": { - "start": { - "line": 544, - "column": 22 - }, - "end": { - "line": 544, - "column": 42 - } - }, - "callee": { - "type": "MemberExpression", - "start": 18939, - "end": 18957, - "loc": { - "start": { - "line": 544, - "column": 22 - }, - "end": { - "line": 544, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 18939, - "end": 18943, - "loc": { - "start": { - "line": 544, - "column": 22 - }, - "end": { - "line": 544, - "column": 26 - } - } - }, - "property": { - "type": "Identifier", - "start": 18944, - "end": 18957, - "loc": { - "start": { - "line": 544, - "column": 27 - }, - "end": { - "line": 544, - "column": 40 - }, - "identifierName": "getFramesData" - }, - "name": "getFramesData" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " frame array", - "start": 18901, - "end": 18915, - "loc": { - "start": { - "line": 543, - "column": 8 - }, - "end": { - "line": 543, - "column": 22 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 18972, - "end": 19077, - "loc": { - "start": { - "line": 546, - "column": 8 - }, - "end": { - "line": 546, - "column": 113 - } - } - }, - { - "type": "CommentLine", - "value": " this will save data", - "start": 19087, - "end": 19109, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 30 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 19119, - "end": 19233, - "loc": { - "start": { - "line": 548, - "column": 8 - }, - "end": { - "line": 551, - "column": 9 - } - }, - "test": { - "type": "MemberExpression", - "start": 19123, - "end": 19141, - "loc": { - "start": { - "line": 548, - "column": 12 - }, - "end": { - "line": 548, - "column": 30 - } - }, - "object": { - "type": "MemberExpression", - "start": 19123, - "end": 19134, - "loc": { - "start": { - "line": 548, - "column": 12 - }, - "end": { - "line": 548, - "column": 23 - } - }, - "object": { - "type": "ThisExpression", - "start": 19123, - "end": 19127, - "loc": { - "start": { - "line": 548, - "column": 12 - }, - "end": { - "line": 548, - "column": 16 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 19128, - "end": 19134, - "loc": { - "start": { - "line": 548, - "column": 17 - }, - "end": { - "line": 548, - "column": 23 - }, - "identifierName": "states" - }, - "name": "states" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 19135, - "end": 19141, - "loc": { - "start": { - "line": 548, - "column": 24 - }, - "end": { - "line": 548, - "column": 30 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 19143, - "end": 19233, - "loc": { - "start": { - "line": 548, - "column": 32 - }, - "end": { - "line": 551, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 19187, - "end": 19222, - "loc": { - "start": { - "line": 550, - "column": 12 - }, - "end": { - "line": 550, - "column": 47 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 19187, - "end": 19221, - "loc": { - "start": { - "line": 550, - "column": 12 - }, - "end": { - "line": 550, - "column": 46 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 19187, - "end": 19198, - "loc": { - "start": { - "line": 550, - "column": 12 - }, - "end": { - "line": 550, - "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 19187, - "end": 19195, - "loc": { - "start": { - "line": 550, - "column": 12 - }, - "end": { - "line": 550, - "column": 20 - }, - "identifierName": "iconData" - }, - "name": "iconData", - "leadingComments": null - }, - "property": { - "type": "NumericLiteral", - "start": 19196, - "end": 19197, - "loc": { - "start": { - "line": 550, - "column": 21 - }, - "end": { - "line": 550, - "column": 22 - } - }, - "extra": { - "rawValue": 6, - "raw": "6" - }, - "value": 6 - }, - "computed": true, - "leadingComments": null - }, - "right": { - "type": "CallExpression", - "start": 19201, - "end": 19221, - "loc": { - "start": { - "line": 550, - "column": 26 - }, - "end": { - "line": 550, - "column": 46 - } - }, - "callee": { - "type": "MemberExpression", - "start": 19201, - "end": 19219, - "loc": { - "start": { - "line": 550, - "column": 26 - }, - "end": { - "line": 550, - "column": 44 - } - }, - "object": { - "type": "ThisExpression", - "start": 19201, - "end": 19205, - "loc": { - "start": { - "line": 550, - "column": 26 - }, - "end": { - "line": 550, - "column": 30 - } - } - }, - "property": { - "type": "Identifier", - "start": 19206, - "end": 19219, - "loc": { - "start": { - "line": 550, - "column": 31 - }, - "end": { - "line": 550, - "column": 44 - }, - "identifierName": "getStatesData" - }, - "name": "getStatesData" - }, - "computed": false - }, - "arguments": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " states array", - "start": 19158, - "end": 19173, - "loc": { - "start": { - "line": 549, - "column": 12 - }, - "end": { - "line": 549, - "column": 27 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 18972, - "end": 19077, - "loc": { - "start": { - "line": 546, - "column": 8 - }, - "end": { - "line": 546, - "column": 113 - } - } - }, - { - "type": "CommentLine", - "value": " this will save data", - "start": 19087, - "end": 19109, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 30 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "start": 19243, - "end": 19259, - "loc": { - "start": { - "line": 552, - "column": 8 - }, - "end": { - "line": 552, - "column": 24 - } - }, - "argument": { - "type": "Identifier", - "start": 19250, - "end": 19258, - "loc": { - "start": { - "line": 552, - "column": 15 - }, - "end": { - "line": 552, - "column": 23 - }, - "identifierName": "iconData" - }, - "name": "iconData" - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", - "start": 18283, - "end": 18458, - "loc": { - "start": { - "line": 524, - "column": 4 - }, - "end": { - "line": 528, - "column": 7 - } - } - } - ] - } - ] - }, - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n ", - "start": 99, - "end": 206, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 9, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * An arary of Frame's that are the frames of this icon.\r\n * @private\r\n * @type {Array}\r\n ", - "start": 230, - "end": 343, - "loc": { - "start": { - "line": 11, - "column": 4 - }, - "end": { - "line": 15, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The width of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", - "start": 367, - "end": 508, - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 21, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The height of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", - "start": 531, - "end": 673, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 27, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", - "start": 697, - "end": 799, - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 33, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", - "start": 819, - "end": 904, - "loc": { - "start": { - "line": 35, - "column": 4 - }, - "end": { - "line": 39, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n ", - "start": 928, - "end": 1011, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 45, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The icon that owns this icon. This means this icon is state. \r\n * @private\r\n * @type {Icon}\r\n ", - "start": 1033, - "end": 1153, - "loc": { - "start": { - "line": 47, - "column": 4 - }, - "end": { - "line": 51, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", - "start": 1172, - "end": 1268, - "loc": { - "start": { - "line": 53, - "column": 4 - }, - "end": { - "line": 58, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.\r\n * \r\n * @private\r\n * @type {string}\r\n ", - "start": 1284, - "end": 1474, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 65, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Generates a UUID (Universally Unique Identifier) version 4.\r\n * \r\n * @private\r\n * @param {VYI} pVYI - The vyi that will reserve this ID.\r\n * @returns {string} The generated UUID.\r\n ", - "start": 1489, - "end": 1698, - "loc": { - "start": { - "line": 67, - "column": 4 - }, - "end": { - "line": 73, - "column": 6 - } - } - }, - { - "type": "CommentLine", - "value": " Generate a random number in the range of 0 to 0xFFFFFFFF (8 hex digits) and convert to hex", - "start": 1867, - "end": 1960, - "loc": { - "start": { - "line": 78, - "column": 7 - }, - "end": { - "line": 78, - "column": 100 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n ", - "start": 2136, - "end": 2350, - "loc": { - "start": { - "line": 86, - "column": 4 - }, - "end": { - "line": 91, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Assigns an ID to this icon.\r\n * \r\n * @param {VYI} pVYI - The vyi that holds this ID.\r\n * @private\r\n ", - "start": 2487, - "end": 2617, - "loc": { - "start": { - "line": 97, - "column": 4 - }, - "end": { - "line": 102, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the id of this icon.\r\n * \r\n * @returns {string} The id of this icon.\r\n ", - "start": 2694, - "end": 2796, - "loc": { - "start": { - "line": 106, - "column": 4 - }, - "end": { - "line": 110, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n ", - "start": 2849, - "end": 3026, - "loc": { - "start": { - "line": 114, - "column": 4 - }, - "end": { - "line": 118, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " Loop through pIconData and create this icon", - "start": 3060, - "end": 3106, - "loc": { - "start": { - "line": 120, - "column": 8 - }, - "end": { - "line": 120, - "column": 54 - } - } - }, - { - "type": "CommentLine", - "value": " Set name", - "start": 3409, - "end": 3420, - "loc": { - "start": { - "line": 129, - "column": 8 - }, - "end": { - "line": 129, - "column": 19 - } - } - }, - { - "type": "CommentLine", - "value": " Set size", - "start": 3462, - "end": 3473, - "loc": { - "start": { - "line": 131, - "column": 8 - }, - "end": { - "line": 131, - "column": 19 - } - } - }, - { - "type": "CommentLine", - "value": " Set icon delay", - "start": 3529, - "end": 3546, - "loc": { - "start": { - "line": 133, - "column": 8 - }, - "end": { - "line": 133, - "column": 25 - } - } - }, - { - "type": "CommentLine", - "value": " Set dataURL", - "start": 3591, - "end": 3605, - "loc": { - "start": { - "line": 135, - "column": 8 - }, - "end": { - "line": 135, - "column": 22 - } - } - }, - { - "type": "CommentLine", - "value": " Check if the frame data is an array", - "start": 3654, - "end": 3692, - "loc": { - "start": { - "line": 137, - "column": 8 - }, - "end": { - "line": 137, - "column": 46 - } - } - }, - { - "type": "CommentLine", - "value": " If the frame array has data then we need to store it.", - "start": 3748, - "end": 3804, - "loc": { - "start": { - "line": 139, - "column": 12 - }, - "end": { - "line": 139, - "column": 68 - } - } - }, - { - "type": "CommentLine", - "value": " pFrame is an array holding the datalURL and frameDelay of the frame", - "start": 3914, - "end": 3984, - "loc": { - "start": { - "line": 142, - "column": 20 - }, - "end": { - "line": 142, - "column": 90 - } - } - }, - { - "type": "CommentLine", - "value": " Check if the states data is an array", - "start": 4085, - "end": 4124, - "loc": { - "start": { - "line": 147, - "column": 8 - }, - "end": { - "line": 147, - "column": 47 - } - } - }, - { - "type": "CommentLine", - "value": " If the state array has data then we need to store it.", - "start": 4180, - "end": 4236, - "loc": { - "start": { - "line": 149, - "column": 12 - }, - "end": { - "line": 149, - "column": 68 - } - } - }, - { - "type": "CommentLine", - "value": " Here we create a icon with aggregated data because the state data is not enough to make it an icon.", - "start": 4346, - "end": 4448, - "loc": { - "start": { - "line": 152, - "column": 20 - }, - "end": { - "line": 152, - "column": 122 - } - } - }, - { - "type": "CommentLine", - "value": " We do this because a state is basically an icon, but it just \"inherits\" alot of the data. But this makes it easier to manage if we treat it internally as an icon.", - "start": 4470, - "end": 4635, - "loc": { - "start": { - "line": 153, - "column": 20 - }, - "end": { - "line": 153, - "column": 185 - } - } - }, - { - "type": "CommentLine", - "value": " iconName", - "start": 4709, - "end": 4720, - "loc": { - "start": { - "line": 155, - "column": 20 - }, - "end": { - "line": 155, - "column": 31 - } - } - }, - { - "type": "CommentLine", - "value": " iconWidth", - "start": 4798, - "end": 4810, - "loc": { - "start": { - "line": 157, - "column": 20 - }, - "end": { - "line": 157, - "column": 32 - } - } - }, - { - "type": "CommentLine", - "value": " iconHeight", - "start": 4888, - "end": 4901, - "loc": { - "start": { - "line": 159, - "column": 20 - }, - "end": { - "line": 159, - "column": 33 - } - } - }, - { - "type": "CommentLine", - "value": " frame delay", - "start": 4980, - "end": 4994, - "loc": { - "start": { - "line": 161, - "column": 20 - }, - "end": { - "line": 161, - "column": 34 - } - } - }, - { - "type": "CommentLine", - "value": " iconDataURL", - "start": 5072, - "end": 5086, - "loc": { - "start": { - "line": 163, - "column": 20 - }, - "end": { - "line": 163, - "column": 34 - } - } - }, - { - "type": "CommentLine", - "value": " frame array", - "start": 5164, - "end": 5178, - "loc": { - "start": { - "line": 165, - "column": 20 - }, - "end": { - "line": 165, - "column": 34 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 5350, - "end": 5558, - "loc": { - "start": { - "line": 172, - "column": 4 - }, - "end": { - "line": 177, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n ", - "start": 5784, - "end": 5935, - "loc": { - "start": { - "line": 186, - "column": 4 - }, - "end": { - "line": 189, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6025, - "end": 6188, - "loc": { - "start": { - "line": 193, - "column": 4 - }, - "end": { - "line": 197, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 6498, - "end": 6610, - "loc": { - "start": { - "line": 208, - "column": 4 - }, - "end": { - "line": 211, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6673, - "end": 6837, - "loc": { - "start": { - "line": 215, - "column": 4 - }, - "end": { - "line": 219, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n ", - "start": 7132, - "end": 7231, - "loc": { - "start": { - "line": 230, - "column": 4 - }, - "end": { - "line": 233, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 7290, - "end": 7443, - "loc": { - "start": { - "line": 237, - "column": 4 - }, - "end": { - "line": 241, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n ", - "start": 7751, - "end": 7851, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 255, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 7908, - "end": 8099, - "loc": { - "start": { - "line": 259, - "column": 4 - }, - "end": { - "line": 263, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n ", - "start": 8528, - "end": 8755, - "loc": { - "start": { - "line": 277, - "column": 4 - }, - "end": { - "line": 281, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "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": 9007, - "end": 9388, - "loc": { - "start": { - "line": 290, - "column": 4 - }, - "end": { - "line": 295, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " The index used to remove this frame.", - "start": 9432, - "end": 9471, - "loc": { - "start": { - "line": 297, - "column": 8 - }, - "end": { - "line": 297, - "column": 47 - } - } - }, - { - "type": "CommentLine", - "value": " Remove via reference to state.", - "start": 9501, - "end": 9534, - "loc": { - "start": { - "line": 299, - "column": 8 - }, - "end": { - "line": 299, - "column": 41 - } - } - }, - { - "type": "CommentLine", - "value": " Remove via reference to name", - "start": 9639, - "end": 9670, - "loc": { - "start": { - "line": 302, - "column": 8 - }, - "end": { - "line": 302, - "column": 39 - } - } - }, - { - "type": "CommentLine", - "value": " Remove the state", - "start": 10054, - "end": 10073, - "loc": { - "start": { - "line": 313, - "column": 12 - }, - "end": { - "line": 313, - "column": 31 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Array} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", - "start": 10162, - "end": 10358, - "loc": { - "start": { - "line": 318, - "column": 4 - }, - "end": { - "line": 322, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " Add the frame to the frames array.", - "start": 10537, - "end": 10574, - "loc": { - "start": { - "line": 327, - "column": 16 - }, - "end": { - "line": 327, - "column": 53 - } - } - }, - { - "type": "CommentLine", - "value": " Re-index frames after a change", - "start": 10634, - "end": 10667, - "loc": { - "start": { - "line": 329, - "column": 16 - }, - "end": { - "line": 329, - "column": 49 - } - } - }, - { - "type": "CommentBlock", - "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": 10977, - "end": 11364, - "loc": { - "start": { - "line": 339, - "column": 4 - }, - "end": { - "line": 344, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " The index used to remove this frame.", - "start": 11409, - "end": 11448, - "loc": { - "start": { - "line": 346, - "column": 8 - }, - "end": { - "line": 346, - "column": 47 - } - } - }, - { - "type": "CommentLine", - "value": " Remove via reference to frame.", - "start": 11478, - "end": 11511, - "loc": { - "start": { - "line": 348, - "column": 8 - }, - "end": { - "line": 348, - "column": 41 - } - } - }, - { - "type": "CommentLine", - "value": " Remove via index passed.", - "start": 11616, - "end": 11643, - "loc": { - "start": { - "line": 351, - "column": 8 - }, - "end": { - "line": 351, - "column": 35 - } - } - }, - { - "type": "CommentLine", - "value": " Remove the frame", - "start": 12159, - "end": 12178, - "loc": { - "start": { - "line": 365, - "column": 12 - }, - "end": { - "line": 365, - "column": 31 - } - } - }, - { - "type": "CommentLine", - "value": " Re-index frames after a change", - "start": 12235, - "end": 12268, - "loc": { - "start": { - "line": 367, - "column": 12 - }, - "end": { - "line": 367, - "column": 45 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 12347, - "end": 12411, - "loc": { - "start": { - "line": 372, - "column": 4 - }, - "end": { - "line": 375, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " Reorder the frames after removing.", - "start": 12442, - "end": 12479, - "loc": { - "start": { - "line": 377, - "column": 8 - }, - "end": { - "line": 377, - "column": 45 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 12592, - "end": 13131, - "loc": { - "start": { - "line": 382, - "column": 4 - }, - "end": { - "line": 389, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", - "start": 13332, - "end": 13480, - "loc": { - "start": { - "line": 394, - "column": 12 - }, - "end": { - "line": 394, - "column": 160 - } - } - }, - { - "type": "CommentLine", - "value": " as the frame 0.", - "start": 13494, - "end": 13512, - "loc": { - "start": { - "line": 395, - "column": 12 - }, - "end": { - "line": 395, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " Otherwise if the index passed can be found in the frames array, then we use that frame.", - "start": 13605, - "end": 13695, - "loc": { - "start": { - "line": 398, - "column": 12 - }, - "end": { - "line": 398, - "column": 102 - } - } - }, - { - "type": "CommentLine", - "value": " We get the frame at the specified index.", - "start": 13840, - "end": 13883, - "loc": { - "start": { - "line": 403, - "column": 12 - }, - "end": { - "line": 403, - "column": 55 - } - } - }, - { - "type": "CommentLine", - "value": " If both frames can be found, we can swap their data.", - "start": 14007, - "end": 14062, - "loc": { - "start": { - "line": 408, - "column": 12 - }, - "end": { - "line": 408, - "column": 67 - } - } - }, - { - "type": "CommentLine", - "value": " Store frame data", - "start": 14129, - "end": 14148, - "loc": { - "start": { - "line": 410, - "column": 16 - }, - "end": { - "line": 410, - "column": 35 - } - } - }, - { - "type": "CommentLine", - "value": " Swap data from frame", - "start": 14450, - "end": 14473, - "loc": { - "start": { - "line": 417, - "column": 16 - }, - "end": { - "line": 417, - "column": 39 - } - } - }, - { - "type": "CommentLine", - "value": " Swap data to frame", - "start": 14613, - "end": 14634, - "loc": { - "start": { - "line": 420, - "column": 16 - }, - "end": { - "line": 420, - "column": 37 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", - "start": 15072, - "end": 15474, - "loc": { - "start": { - "line": 431, - "column": 4 - }, - "end": { - "line": 437, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", - "start": 15699, - "end": 15829, - "loc": { - "start": { - "line": 445, - "column": 4 - }, - "end": { - "line": 448, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", - "start": 15897, - "end": 16053, - "loc": { - "start": { - "line": 452, - "column": 4 - }, - "end": { - "line": 456, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", - "start": 16264, - "end": 16448, - "loc": { - "start": { - "line": 464, - "column": 4 - }, - "end": { - "line": 468, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " If the icon has the same name, return that icon", - "start": 16643, - "end": 16693, - "loc": { - "start": { - "line": 473, - "column": 16 - }, - "end": { - "line": 473, - "column": 66 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", - "start": 16931, - "end": 17061, - "loc": { - "start": { - "line": 482, - "column": 4 - }, - "end": { - "line": 485, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", - "start": 17129, - "end": 17285, - "loc": { - "start": { - "line": 489, - "column": 4 - }, - "end": { - "line": 493, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " Loop state array to export relevant information.", - "start": 17354, - "end": 17405, - "loc": { - "start": { - "line": 496, - "column": 8 - }, - "end": { - "line": 496, - "column": 59 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", - "start": 17572, - "end": 17760, - "loc": { - "start": { - "line": 502, - "column": 4 - }, - "end": { - "line": 506, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " state name", - "start": 17824, - "end": 17837, - "loc": { - "start": { - "line": 509, - "column": 8 - }, - "end": { - "line": 509, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": " state dataURL", - "start": 17887, - "end": 17903, - "loc": { - "start": { - "line": 511, - "column": 8 - }, - "end": { - "line": 511, - "column": 24 - } - } - }, - { - "type": "CommentLine", - "value": " state frame delay", - "start": 17956, - "end": 17976, - "loc": { - "start": { - "line": 513, - "column": 8 - }, - "end": { - "line": 513, - "column": 28 - } - } - }, - { - "type": "CommentLine", - "value": " state frame array", - "start": 18027, - "end": 18047, - "loc": { - "start": { - "line": 515, - "column": 8 - }, - "end": { - "line": 515, - "column": 28 - } - } - }, - { - "type": "CommentLine", - "value": " Loop frame array to export relevant information.", - "start": 18087, - "end": 18138, - "loc": { - "start": { - "line": 518, - "column": 8 - }, - "end": { - "line": 518, - "column": 59 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", - "start": 18283, - "end": 18458, - "loc": { - "start": { - "line": 524, - "column": 4 - }, - "end": { - "line": 528, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " icon name", - "start": 18514, - "end": 18526, - "loc": { - "start": { - "line": 531, - "column": 8 - }, - "end": { - "line": 531, - "column": 20 - } - } - }, - { - "type": "CommentLine", - "value": " Get the size of this icon.", - "start": 18575, - "end": 18604, - "loc": { - "start": { - "line": 533, - "column": 8 - }, - "end": { - "line": 533, - "column": 37 - } - } - }, - { - "type": "CommentLine", - "value": " icon width", - "start": 18652, - "end": 18665, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 21 - } - } - }, - { - "type": "CommentLine", - "value": " icon height", - "start": 18710, - "end": 18724, - "loc": { - "start": { - "line": 537, - "column": 8 - }, - "end": { - "line": 537, - "column": 22 - } - } - }, - { - "type": "CommentLine", - "value": " frame delay", - "start": 18770, - "end": 18784, - "loc": { - "start": { - "line": 539, - "column": 8 - }, - "end": { - "line": 539, - "column": 22 - } - } - }, - { - "type": "CommentLine", - "value": " icon DataURL", - "start": 18834, - "end": 18849, - "loc": { - "start": { - "line": 541, - "column": 8 - }, - "end": { - "line": 541, - "column": 23 - } - } - }, - { - "type": "CommentLine", - "value": " frame array", - "start": 18901, - "end": 18915, - "loc": { - "start": { - "line": 543, - "column": 8 - }, - "end": { - "line": 543, - "column": 22 - } - } - }, - { - "type": "CommentLine", - "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 18972, - "end": 19077, - "loc": { - "start": { - "line": 546, - "column": 8 - }, - "end": { - "line": 546, - "column": 113 - } - } - }, - { - "type": "CommentLine", - "value": " this will save data", - "start": 19087, - "end": 19109, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " states array", - "start": 19158, - "end": 19173, - "loc": { - "start": { - "line": 549, - "column": 12 - }, - "end": { - "line": 549, - "column": 27 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 9, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 12 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13, - "end": 14, - "loc": { - "start": { - "line": 1, - "column": 13 - }, - "end": { - "line": 1, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 15, - "end": 19, - "loc": { - "start": { - "line": 1, - "column": 15 - }, - "end": { - "line": 1, - "column": 19 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./vyi.mjs", - "start": 20, - "end": 31, - "loc": { - "start": { - "line": 1, - "column": 20 - }, - "end": { - "line": 1, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 31, - "end": 32, - "loc": { - "start": { - "line": 1, - "column": 31 - }, - "end": { - "line": 1, - "column": 32 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 34, - "end": 40, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 41, - "end": 42, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Frame", - "start": 43, - "end": 48, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 14 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 49, - "end": 50, - "loc": { - "start": { - "line": 2, - "column": 15 - }, - "end": { - "line": 2, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 51, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 17 - }, - "end": { - "line": 2, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./frame.mjs", - "start": 56, - "end": 69, - "loc": { - "start": { - "line": 2, - "column": 22 - }, - "end": { - "line": 2, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 69, - "end": 70, - "loc": { - "start": { - "line": 2, - "column": 35 - }, - "end": { - "line": 2, - "column": 36 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 74, - "end": 80, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 81, - "end": 86, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Icon", - "start": 87, - "end": 91, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 92, - "end": 93, - "loc": { - "start": { - "line": 4, - "column": 18 - }, - "end": { - "line": 4, - "column": 19 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * An array of Icon's that are state of this icon.\r\n * @private\r\n * @type {Array}\r\n ", - "start": 99, - "end": 206, - "loc": { - "start": { - "line": 5, - "column": 4 - }, - "end": { - "line": 9, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "states", - "start": 212, - "end": 218, - "loc": { - "start": { - "line": 10, - "column": 4 - }, - "end": { - "line": 10, - "column": 10 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 219, - "end": 220, - "loc": { - "start": { - "line": 10, - "column": 11 - }, - "end": { - "line": 10, - "column": 12 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 221, - "end": 222, - "loc": { - "start": { - "line": 10, - "column": 13 - }, - "end": { - "line": 10, - "column": 14 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 222, - "end": 223, - "loc": { - "start": { - "line": 10, - "column": 14 - }, - "end": { - "line": 10, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 223, - "end": 224, - "loc": { - "start": { - "line": 10, - "column": 15 - }, - "end": { - "line": 10, - "column": 16 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * An arary of Frame's that are the frames of this icon.\r\n * @private\r\n * @type {Array}\r\n ", - "start": 230, - "end": 343, - "loc": { - "start": { - "line": 11, - "column": 4 - }, - "end": { - "line": 15, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 349, - "end": 355, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 16, - "column": 10 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 356, - "end": 357, - "loc": { - "start": { - "line": 16, - "column": 11 - }, - "end": { - "line": 16, - "column": 12 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 358, - "end": 359, - "loc": { - "start": { - "line": 16, - "column": 13 - }, - "end": { - "line": 16, - "column": 14 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 359, - "end": 360, - "loc": { - "start": { - "line": 16, - "column": 14 - }, - "end": { - "line": 16, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 360, - "end": 361, - "loc": { - "start": { - "line": 16, - "column": 15 - }, - "end": { - "line": 16, - "column": 16 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The width of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", - "start": 367, - "end": 508, - "loc": { - "start": { - "line": 17, - "column": 4 - }, - "end": { - "line": 21, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "width", - "start": 514, - "end": 519, - "loc": { - "start": { - "line": 22, - "column": 4 - }, - "end": { - "line": 22, - "column": 9 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 520, - "end": 521, - "loc": { - "start": { - "line": 22, - "column": 10 - }, - "end": { - "line": 22, - "column": 11 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 32, - "start": 522, - "end": 524, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 524, - "end": 525, - "loc": { - "start": { - "line": 22, - "column": 14 - }, - "end": { - "line": 22, - "column": 15 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The height of this icon. All states and frames of this icon must match this size.\r\n * @private\r\n * @type {number}\r\n ", - "start": 531, - "end": 673, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 27, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "height", - "start": 679, - "end": 685, - "loc": { - "start": { - "line": 28, - "column": 4 - }, - "end": { - "line": 28, - "column": 10 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 686, - "end": 687, - "loc": { - "start": { - "line": 28, - "column": 11 - }, - "end": { - "line": 28, - "column": 12 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 32, - "start": 688, - "end": 690, - "loc": { - "start": { - "line": 28, - "column": 13 - }, - "end": { - "line": 28, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 690, - "end": 691, - "loc": { - "start": { - "line": 28, - "column": 15 - }, - "end": { - "line": 28, - "column": 16 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The data URL of the sprite in this frame.\r\n * @private\r\n * @type {string}\r\n ", - "start": 697, - "end": 799, - "loc": { - "start": { - "line": 29, - "column": 4 - }, - "end": { - "line": 33, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "dataURL", - "start": 805, - "end": 812, - "loc": { - "start": { - "line": 34, - "column": 4 - }, - "end": { - "line": 34, - "column": 11 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 812, - "end": 813, - "loc": { - "start": { - "line": 34, - "column": 11 - }, - "end": { - "line": 34, - "column": 12 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The delay of this frame.\r\n * @private\r\n * @type {number}\r\n ", - "start": 819, - "end": 904, - "loc": { - "start": { - "line": 35, - "column": 4 - }, - "end": { - "line": 39, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "delay", - "start": 910, - "end": 915, - "loc": { - "start": { - "line": 40, - "column": 4 - }, - "end": { - "line": 40, - "column": 9 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 916, - "end": 917, - "loc": { - "start": { - "line": 40, - "column": 10 - }, - "end": { - "line": 40, - "column": 11 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 100, - "start": 918, - "end": 921, - "loc": { - "start": { - "line": 40, - "column": 12 - }, - "end": { - "line": 40, - "column": 15 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 921, - "end": 922, - "loc": { - "start": { - "line": 40, - "column": 15 - }, - "end": { - "line": 40, - "column": 16 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The name of this icon.\r\n * @private\r\n * @type {string}\r\n ", - "start": 928, - "end": 1011, - "loc": { - "start": { - "line": 41, - "column": 4 - }, - "end": { - "line": 45, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 1017, - "end": 1021, - "loc": { - "start": { - "line": 46, - "column": 4 - }, - "end": { - "line": 46, - "column": 8 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1022, - "end": 1023, - "loc": { - "start": { - "line": 46, - "column": 9 - }, - "end": { - "line": 46, - "column": 10 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 1024, - "end": 1026, - "loc": { - "start": { - "line": 46, - "column": 11 - }, - "end": { - "line": 46, - "column": 13 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1026, - "end": 1027, - "loc": { - "start": { - "line": 46, - "column": 13 - }, - "end": { - "line": 46, - "column": 14 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The icon that owns this icon. This means this icon is state. \r\n * @private\r\n * @type {Icon}\r\n ", - "start": 1033, - "end": 1153, - "loc": { - "start": { - "line": 47, - "column": 4 - }, - "end": { - "line": 51, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parent", - "start": 1159, - "end": 1165, - "loc": { - "start": { - "line": 52, - "column": 4 - }, - "end": { - "line": 52, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1165, - "end": 1166, - "loc": { - "start": { - "line": 52, - "column": 10 - }, - "end": { - "line": 52, - "column": 11 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The vyi this icon belongs to.\r\n * \r\n * @private\r\n * @type {VYI}\r\n ", - "start": 1172, - "end": 1268, - "loc": { - "start": { - "line": 53, - "column": 4 - }, - "end": { - "line": 58, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 1274, - "end": 1277, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 7 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1277, - "end": 1278, - "loc": { - "start": { - "line": 59, - "column": 7 - }, - "end": { - "line": 59, - "column": 8 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.\r\n * \r\n * @private\r\n * @type {string}\r\n ", - "start": 1284, - "end": 1474, - "loc": { - "start": { - "line": 60, - "column": 4 - }, - "end": { - "line": 65, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "id", - "start": 1480, - "end": 1482, - "loc": { - "start": { - "line": 66, - "column": 4 - }, - "end": { - "line": 66, - "column": 6 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1482, - "end": 1483, - "loc": { - "start": { - "line": 66, - "column": 6 - }, - "end": { - "line": 66, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Generates a UUID (Universally Unique Identifier) version 4.\r\n * \r\n * @private\r\n * @param {VYI} pVYI - The vyi that will reserve this ID.\r\n * @returns {string} The generated UUID.\r\n ", - "start": 1489, - "end": 1698, - "loc": { - "start": { - "line": 67, - "column": 4 - }, - "end": { - "line": 73, - "column": 6 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "static", - "start": 1704, - "end": 1710, - "loc": { - "start": { - "line": 74, - "column": 4 - }, - "end": { - "line": 74, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "generateID", - "start": 1711, - "end": 1721, - "loc": { - "start": { - "line": 74, - "column": 11 - }, - "end": { - "line": 74, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1721, - "end": 1722, - "loc": { - "start": { - "line": 74, - "column": 21 - }, - "end": { - "line": 74, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYI", - "start": 1722, - "end": 1726, - "loc": { - "start": { - "line": 74, - "column": 22 - }, - "end": { - "line": 74, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1726, - "end": 1727, - "loc": { - "start": { - "line": 74, - "column": 26 - }, - "end": { - "line": 74, - "column": 27 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1728, - "end": 1729, - "loc": { - "start": { - "line": 74, - "column": 28 - }, - "end": { - "line": 74, - "column": 29 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 1738, - "end": 1743, - "loc": { - "start": { - "line": 75, - "column": 7 - }, - "end": { - "line": 75, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "genID", - "start": 1744, - "end": 1749, - "loc": { - "start": { - "line": 75, - "column": 13 - }, - "end": { - "line": 75, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1750, - "end": 1751, - "loc": { - "start": { - "line": 75, - "column": 19 - }, - "end": { - "line": 75, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1752, - "end": 1753, - "loc": { - "start": { - "line": 75, - "column": 21 - }, - "end": { - "line": 75, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1753, - "end": 1754, - "loc": { - "start": { - "line": 75, - "column": 22 - }, - "end": { - "line": 75, - "column": 23 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1755, - "end": 1757, - "loc": { - "start": { - "line": 75, - "column": 24 - }, - "end": { - "line": 75, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1758, - "end": 1759, - "loc": { - "start": { - "line": 75, - "column": 27 - }, - "end": { - "line": 75, - "column": 28 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 1772, - "end": 1778, - "loc": { - "start": { - "line": 76, - "column": 11 - }, - "end": { - "line": 76, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Math", - "start": 1779, - "end": 1783, - "loc": { - "start": { - "line": 76, - "column": 18 - }, - "end": { - "line": 76, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1783, - "end": 1784, - "loc": { - "start": { - "line": 76, - "column": 22 - }, - "end": { - "line": 76, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "floor", - "start": 1784, - "end": 1789, - "loc": { - "start": { - "line": 76, - "column": 23 - }, - "end": { - "line": 76, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1789, - "end": 1790, - "loc": { - "start": { - "line": 76, - "column": 28 - }, - "end": { - "line": 76, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Math", - "start": 1790, - "end": 1794, - "loc": { - "start": { - "line": 76, - "column": 29 - }, - "end": { - "line": 76, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1794, - "end": 1795, - "loc": { - "start": { - "line": 76, - "column": 33 - }, - "end": { - "line": 76, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "random", - "start": 1795, - "end": 1801, - "loc": { - "start": { - "line": 76, - "column": 34 - }, - "end": { - "line": 76, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1801, - "end": 1802, - "loc": { - "start": { - "line": 76, - "column": 40 - }, - "end": { - "line": 76, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1802, - "end": 1803, - "loc": { - "start": { - "line": 76, - "column": 41 - }, - "end": { - "line": 76, - "column": 42 - } - } - }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 1804, - "end": 1805, - "loc": { - "start": { - "line": 76, - "column": 43 - }, - "end": { - "line": 76, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4294967295, - "start": 1806, - "end": 1816, - "loc": { - "start": { - "line": 76, - "column": 45 - }, - "end": { - "line": 76, - "column": 55 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1816, - "end": 1817, - "loc": { - "start": { - "line": 76, - "column": 55 - }, - "end": { - "line": 76, - "column": 56 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1817, - "end": 1818, - "loc": { - "start": { - "line": 76, - "column": 56 - }, - "end": { - "line": 76, - "column": 57 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "toString", - "start": 1818, - "end": 1826, - "loc": { - "start": { - "line": 76, - "column": 57 - }, - "end": { - "line": 76, - "column": 65 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1826, - "end": 1827, - "loc": { - "start": { - "line": 76, - "column": 65 - }, - "end": { - "line": 76, - "column": 66 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 16, - "start": 1827, - "end": 1829, - "loc": { - "start": { - "line": 76, - "column": 66 - }, - "end": { - "line": 76, - "column": 68 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1829, - "end": 1830, - "loc": { - "start": { - "line": 76, - "column": 68 - }, - "end": { - "line": 76, - "column": 69 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1830, - "end": 1831, - "loc": { - "start": { - "line": 76, - "column": 69 - }, - "end": { - "line": 76, - "column": 70 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "padStart", - "start": 1831, - "end": 1839, - "loc": { - "start": { - "line": 76, - "column": 70 - }, - "end": { - "line": 76, - "column": 78 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1839, - "end": 1840, - "loc": { - "start": { - "line": 76, - "column": 78 - }, - "end": { - "line": 76, - "column": 79 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 8, - "start": 1840, - "end": 1841, - "loc": { - "start": { - "line": 76, - "column": 79 - }, - "end": { - "line": 76, - "column": 80 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1841, - "end": 1842, - "loc": { - "start": { - "line": 76, - "column": 80 - }, - "end": { - "line": 76, - "column": 81 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "0", - "start": 1843, - "end": 1846, - "loc": { - "start": { - "line": 76, - "column": 82 - }, - "end": { - "line": 76, - "column": 85 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1846, - "end": 1847, - "loc": { - "start": { - "line": 76, - "column": 85 - }, - "end": { - "line": 76, - "column": 86 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1847, - "end": 1848, - "loc": { - "start": { - "line": 76, - "column": 86 - }, - "end": { - "line": 76, - "column": 87 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1857, - "end": 1858, - "loc": { - "start": { - "line": 77, - "column": 7 - }, - "end": { - "line": 77, - "column": 8 - } - } - }, - { - "type": "CommentLine", - "value": " Generate a random number in the range of 0 to 0xFFFFFFFF (8 hex digits) and convert to hex", - "start": 1867, - "end": 1960, - "loc": { - "start": { - "line": 78, - "column": 7 - }, - "end": { - "line": 78, - "column": 100 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 1969, - "end": 1972, - "loc": { - "start": { - "line": 79, - "column": 7 - }, - "end": { - "line": 79, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "id", - "start": 1973, - "end": 1975, - "loc": { - "start": { - "line": 79, - "column": 11 - }, - "end": { - "line": 79, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 1976, - "end": 1977, - "loc": { - "start": { - "line": 79, - "column": 14 - }, - "end": { - "line": 79, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "genID", - "start": 1978, - "end": 1983, - "loc": { - "start": { - "line": 79, - "column": 16 - }, - "end": { - "line": 79, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1983, - "end": 1984, - "loc": { - "start": { - "line": 79, - "column": 21 - }, - "end": { - "line": 79, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1984, - "end": 1985, - "loc": { - "start": { - "line": 79, - "column": 22 - }, - "end": { - "line": 79, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1985, - "end": 1986, - "loc": { - "start": { - "line": 79, - "column": 23 - }, - "end": { - "line": 79, - "column": 24 - } - } - }, - { - "type": { - "label": "while", - "keyword": "while", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": true, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "while", - "start": 1995, - "end": 2000, - "loc": { - "start": { - "line": 80, - "column": 7 - }, - "end": { - "line": 80, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2001, - "end": 2002, - "loc": { - "start": { - "line": 80, - "column": 13 - }, - "end": { - "line": 80, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYI", - "start": 2002, - "end": 2006, - "loc": { - "start": { - "line": 80, - "column": 14 - }, - "end": { - "line": 80, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2006, - "end": 2007, - "loc": { - "start": { - "line": 80, - "column": 18 - }, - "end": { - "line": 80, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "reservedIDs", - "start": 2007, - "end": 2018, - "loc": { - "start": { - "line": 80, - "column": 19 - }, - "end": { - "line": 80, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2018, - "end": 2019, - "loc": { - "start": { - "line": 80, - "column": 30 - }, - "end": { - "line": 80, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 2019, - "end": 2027, - "loc": { - "start": { - "line": 80, - "column": 31 - }, - "end": { - "line": 80, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2027, - "end": 2028, - "loc": { - "start": { - "line": 80, - "column": 39 - }, - "end": { - "line": 80, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "id", - "start": 2028, - "end": 2030, - "loc": { - "start": { - "line": 80, - "column": 40 - }, - "end": { - "line": 80, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2030, - "end": 2031, - "loc": { - "start": { - "line": 80, - "column": 42 - }, - "end": { - "line": 80, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2031, - "end": 2032, - "loc": { - "start": { - "line": 80, - "column": 43 - }, - "end": { - "line": 80, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2033, - "end": 2034, - "loc": { - "start": { - "line": 80, - "column": 45 - }, - "end": { - "line": 80, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "id", - "start": 2047, - "end": 2049, - "loc": { - "start": { - "line": 81, - "column": 11 - }, - "end": { - "line": 81, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2050, - "end": 2051, - "loc": { - "start": { - "line": 81, - "column": 14 - }, - "end": { - "line": 81, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "genID", - "start": 2052, - "end": 2057, - "loc": { - "start": { - "line": 81, - "column": 16 - }, - "end": { - "line": 81, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2057, - "end": 2058, - "loc": { - "start": { - "line": 81, - "column": 21 - }, - "end": { - "line": 81, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2058, - "end": 2059, - "loc": { - "start": { - "line": 81, - "column": 22 - }, - "end": { - "line": 81, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2059, - "end": 2060, - "loc": { - "start": { - "line": 81, - "column": 23 - }, - "end": { - "line": 81, - "column": 24 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2069, - "end": 2070, - "loc": { - "start": { - "line": 82, - "column": 7 - }, - "end": { - "line": 82, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYI", - "start": 2079, - "end": 2083, - "loc": { - "start": { - "line": 83, - "column": 7 - }, - "end": { - "line": 83, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2083, - "end": 2084, - "loc": { - "start": { - "line": 83, - "column": 11 - }, - "end": { - "line": 83, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "reservedIDs", - "start": 2084, - "end": 2095, - "loc": { - "start": { - "line": 83, - "column": 12 - }, - "end": { - "line": 83, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2095, - "end": 2096, - "loc": { - "start": { - "line": 83, - "column": 23 - }, - "end": { - "line": 83, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 2096, - "end": 2100, - "loc": { - "start": { - "line": 83, - "column": 24 - }, - "end": { - "line": 83, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2100, - "end": 2101, - "loc": { - "start": { - "line": 83, - "column": 28 - }, - "end": { - "line": 83, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "id", - "start": 2101, - "end": 2103, - "loc": { - "start": { - "line": 83, - "column": 29 - }, - "end": { - "line": 83, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2103, - "end": 2104, - "loc": { - "start": { - "line": 83, - "column": 31 - }, - "end": { - "line": 83, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2104, - "end": 2105, - "loc": { - "start": { - "line": 83, - "column": 32 - }, - "end": { - "line": 83, - "column": 33 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 2114, - "end": 2120, - "loc": { - "start": { - "line": 84, - "column": 7 - }, - "end": { - "line": 84, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "id", - "start": 2121, - "end": 2123, - "loc": { - "start": { - "line": 84, - "column": 14 - }, - "end": { - "line": 84, - "column": 16 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2123, - "end": 2124, - "loc": { - "start": { - "line": 84, - "column": 16 - }, - "end": { - "line": 84, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2129, - "end": 2130, - "loc": { - "start": { - "line": 85, - "column": 3 - }, - "end": { - "line": 85, - "column": 4 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Creates this icon instance.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @param {VYI} pVYI - The vyi this icon | state belongs to.\r\n * @private\r\n ", - "start": 2136, - "end": 2350, - "loc": { - "start": { - "line": 86, - "column": 4 - }, - "end": { - "line": 91, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 2356, - "end": 2367, - "loc": { - "start": { - "line": 92, - "column": 4 - }, - "end": { - "line": 92, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2367, - "end": 2368, - "loc": { - "start": { - "line": 92, - "column": 15 - }, - "end": { - "line": 92, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 2368, - "end": 2377, - "loc": { - "start": { - "line": 92, - "column": 16 - }, - "end": { - "line": 92, - "column": 25 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2377, - "end": 2378, - "loc": { - "start": { - "line": 92, - "column": 25 - }, - "end": { - "line": 92, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYI", - "start": 2379, - "end": 2383, - "loc": { - "start": { - "line": 92, - "column": 27 - }, - "end": { - "line": 92, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2383, - "end": 2384, - "loc": { - "start": { - "line": 92, - "column": 31 - }, - "end": { - "line": 92, - "column": 32 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2385, - "end": 2386, - "loc": { - "start": { - "line": 92, - "column": 33 - }, - "end": { - "line": 92, - "column": 34 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 2396, - "end": 2400, - "loc": { - "start": { - "line": 93, - "column": 8 - }, - "end": { - "line": 93, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2400, - "end": 2401, - "loc": { - "start": { - "line": 93, - "column": 12 - }, - "end": { - "line": 93, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 2401, - "end": 2404, - "loc": { - "start": { - "line": 93, - "column": 13 - }, - "end": { - "line": 93, - "column": 16 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2405, - "end": 2406, - "loc": { - "start": { - "line": 93, - "column": 17 - }, - "end": { - "line": 93, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYI", - "start": 2407, - "end": 2411, - "loc": { - "start": { - "line": 93, - "column": 19 - }, - "end": { - "line": 93, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2411, - "end": 2412, - "loc": { - "start": { - "line": 93, - "column": 23 - }, - "end": { - "line": 93, - "column": 24 - } - } - }, - { - "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": 2422, - "end": 2426, - "loc": { - "start": { - "line": 94, - "column": 8 - }, - "end": { - "line": 94, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2426, - "end": 2427, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "assignID", - "start": 2427, - "end": 2435, - "loc": { - "start": { - "line": 94, - "column": 13 - }, - "end": { - "line": 94, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2435, - "end": 2436, - "loc": { - "start": { - "line": 94, - "column": 21 - }, - "end": { - "line": 94, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYI", - "start": 2436, - "end": 2440, - "loc": { - "start": { - "line": 94, - "column": 22 - }, - "end": { - "line": 94, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2440, - "end": 2441, - "loc": { - "start": { - "line": 94, - "column": 26 - }, - "end": { - "line": 94, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2441, - "end": 2442, - "loc": { - "start": { - "line": 94, - "column": 27 - }, - "end": { - "line": 94, - "column": 28 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 2452, - "end": 2456, - "loc": { - "start": { - "line": 95, - "column": 8 - }, - "end": { - "line": 95, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2456, - "end": 2457, - "loc": { - "start": { - "line": 95, - "column": 12 - }, - "end": { - "line": 95, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parse", - "start": 2457, - "end": 2462, - "loc": { - "start": { - "line": 95, - "column": 13 - }, - "end": { - "line": 95, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2462, - "end": 2463, - "loc": { - "start": { - "line": 95, - "column": 18 - }, - "end": { - "line": 95, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 2463, - "end": 2472, - "loc": { - "start": { - "line": 95, - "column": 19 - }, - "end": { - "line": 95, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2472, - "end": 2473, - "loc": { - "start": { - "line": 95, - "column": 28 - }, - "end": { - "line": 95, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2473, - "end": 2474, - "loc": { - "start": { - "line": 95, - "column": 29 - }, - "end": { - "line": 95, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2480, - "end": 2481, - "loc": { - "start": { - "line": 96, - "column": 4 - }, - "end": { - "line": 96, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Assigns an ID to this icon.\r\n * \r\n * @param {VYI} pVYI - The vyi that holds this ID.\r\n * @private\r\n ", - "start": 2487, - "end": 2617, - "loc": { - "start": { - "line": 97, - "column": 4 - }, - "end": { - "line": 102, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "assignID", - "start": 2623, - "end": 2631, - "loc": { - "start": { - "line": 103, - "column": 4 - }, - "end": { - "line": 103, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2631, - "end": 2632, - "loc": { - "start": { - "line": 103, - "column": 12 - }, - "end": { - "line": 103, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYI", - "start": 2632, - "end": 2636, - "loc": { - "start": { - "line": 103, - "column": 13 - }, - "end": { - "line": 103, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2636, - "end": 2637, - "loc": { - "start": { - "line": 103, - "column": 17 - }, - "end": { - "line": 103, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2638, - "end": 2639, - "loc": { - "start": { - "line": 103, - "column": 19 - }, - "end": { - "line": 103, - "column": 20 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 2649, - "end": 2653, - "loc": { - "start": { - "line": 104, - "column": 8 - }, - "end": { - "line": 104, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2653, - "end": 2654, - "loc": { - "start": { - "line": 104, - "column": 12 - }, - "end": { - "line": 104, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "id", - "start": 2654, - "end": 2656, - "loc": { - "start": { - "line": 104, - "column": 13 - }, - "end": { - "line": 104, - "column": 15 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2657, - "end": 2658, - "loc": { - "start": { - "line": 104, - "column": 16 - }, - "end": { - "line": 104, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Icon", - "start": 2659, - "end": 2663, - "loc": { - "start": { - "line": 104, - "column": 18 - }, - "end": { - "line": 104, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2663, - "end": 2664, - "loc": { - "start": { - "line": 104, - "column": 22 - }, - "end": { - "line": 104, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "generateID", - "start": 2664, - "end": 2674, - "loc": { - "start": { - "line": 104, - "column": 23 - }, - "end": { - "line": 104, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2674, - "end": 2675, - "loc": { - "start": { - "line": 104, - "column": 33 - }, - "end": { - "line": 104, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYI", - "start": 2675, - "end": 2679, - "loc": { - "start": { - "line": 104, - "column": 34 - }, - "end": { - "line": 104, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2679, - "end": 2680, - "loc": { - "start": { - "line": 104, - "column": 38 - }, - "end": { - "line": 104, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2680, - "end": 2681, - "loc": { - "start": { - "line": 104, - "column": 39 - }, - "end": { - "line": 104, - "column": 40 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2687, - "end": 2688, - "loc": { - "start": { - "line": 105, - "column": 4 - }, - "end": { - "line": 105, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the id of this icon.\r\n * \r\n * @returns {string} The id of this icon.\r\n ", - "start": 2694, - "end": 2796, - "loc": { - "start": { - "line": 106, - "column": 4 - }, - "end": { - "line": 110, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getID", - "start": 2802, - "end": 2807, - "loc": { - "start": { - "line": 111, - "column": 4 - }, - "end": { - "line": 111, - "column": 9 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2807, - "end": 2808, - "loc": { - "start": { - "line": 111, - "column": 9 - }, - "end": { - "line": 111, - "column": 10 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2808, - "end": 2809, - "loc": { - "start": { - "line": 111, - "column": 10 - }, - "end": { - "line": 111, - "column": 11 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2810, - "end": 2811, - "loc": { - "start": { - "line": 111, - "column": 12 - }, - "end": { - "line": 111, - "column": 13 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 2821, - "end": 2827, - "loc": { - "start": { - "line": 112, - "column": 8 - }, - "end": { - "line": 112, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 2828, - "end": 2832, - "loc": { - "start": { - "line": 112, - "column": 15 - }, - "end": { - "line": 112, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2832, - "end": 2833, - "loc": { - "start": { - "line": 112, - "column": 19 - }, - "end": { - "line": 112, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "id", - "start": 2833, - "end": 2835, - "loc": { - "start": { - "line": 112, - "column": 20 - }, - "end": { - "line": 112, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2835, - "end": 2836, - "loc": { - "start": { - "line": 112, - "column": 22 - }, - "end": { - "line": 112, - "column": 23 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2842, - "end": 2843, - "loc": { - "start": { - "line": 113, - "column": 4 - }, - "end": { - "line": 113, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * parses through the icon data and adds data to this icon.\r\n * @param {Object} pIconData - The icon data that is used to build this icon.\r\n * @private\r\n ", - "start": 2849, - "end": 3026, - "loc": { - "start": { - "line": 114, - "column": 4 - }, - "end": { - "line": 118, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parse", - "start": 3032, - "end": 3037, - "loc": { - "start": { - "line": 119, - "column": 4 - }, - "end": { - "line": 119, - "column": 9 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3037, - "end": 3038, - "loc": { - "start": { - "line": 119, - "column": 9 - }, - "end": { - "line": 119, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3038, - "end": 3047, - "loc": { - "start": { - "line": 119, - "column": 10 - }, - "end": { - "line": 119, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3047, - "end": 3048, - "loc": { - "start": { - "line": 119, - "column": 19 - }, - "end": { - "line": 119, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3049, - "end": 3050, - "loc": { - "start": { - "line": 119, - "column": 21 - }, - "end": { - "line": 119, - "column": 22 - } - } - }, - { - "type": "CommentLine", - "value": " Loop through pIconData and create this icon", - "start": 3060, - "end": 3106, - "loc": { - "start": { - "line": 120, - "column": 8 - }, - "end": { - "line": 120, - "column": 54 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3116, - "end": 3121, - "loc": { - "start": { - "line": 121, - "column": 8 - }, - "end": { - "line": 121, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconName", - "start": 3122, - "end": 3130, - "loc": { - "start": { - "line": 121, - "column": 14 - }, - "end": { - "line": 121, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3131, - "end": 3132, - "loc": { - "start": { - "line": 121, - "column": 23 - }, - "end": { - "line": 121, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3133, - "end": 3142, - "loc": { - "start": { - "line": 121, - "column": 25 - }, - "end": { - "line": 121, - "column": 34 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3142, - "end": 3143, - "loc": { - "start": { - "line": 121, - "column": 34 - }, - "end": { - "line": 121, - "column": 35 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 3143, - "end": 3144, - "loc": { - "start": { - "line": 121, - "column": 35 - }, - "end": { - "line": 121, - "column": 36 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3144, - "end": 3145, - "loc": { - "start": { - "line": 121, - "column": 36 - }, - "end": { - "line": 121, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3145, - "end": 3146, - "loc": { - "start": { - "line": 121, - "column": 37 - }, - "end": { - "line": 121, - "column": 38 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3156, - "end": 3161, - "loc": { - "start": { - "line": 122, - "column": 8 - }, - "end": { - "line": 122, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconWidth", - "start": 3162, - "end": 3171, - "loc": { - "start": { - "line": 122, - "column": 14 - }, - "end": { - "line": 122, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3172, - "end": 3173, - "loc": { - "start": { - "line": 122, - "column": 24 - }, - "end": { - "line": 122, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3174, - "end": 3183, - "loc": { - "start": { - "line": 122, - "column": 26 - }, - "end": { - "line": 122, - "column": 35 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3183, - "end": 3184, - "loc": { - "start": { - "line": 122, - "column": 35 - }, - "end": { - "line": 122, - "column": 36 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 3184, - "end": 3185, - "loc": { - "start": { - "line": 122, - "column": 36 - }, - "end": { - "line": 122, - "column": 37 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3185, - "end": 3186, - "loc": { - "start": { - "line": 122, - "column": 37 - }, - "end": { - "line": 122, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3186, - "end": 3187, - "loc": { - "start": { - "line": 122, - "column": 38 - }, - "end": { - "line": 122, - "column": 39 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3197, - "end": 3202, - "loc": { - "start": { - "line": 123, - "column": 8 - }, - "end": { - "line": 123, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconHeight", - "start": 3203, - "end": 3213, - "loc": { - "start": { - "line": 123, - "column": 14 - }, - "end": { - "line": 123, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3214, - "end": 3215, - "loc": { - "start": { - "line": 123, - "column": 25 - }, - "end": { - "line": 123, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3216, - "end": 3225, - "loc": { - "start": { - "line": 123, - "column": 27 - }, - "end": { - "line": 123, - "column": 36 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3225, - "end": 3226, - "loc": { - "start": { - "line": 123, - "column": 36 - }, - "end": { - "line": 123, - "column": 37 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 3226, - "end": 3227, - "loc": { - "start": { - "line": 123, - "column": 37 - }, - "end": { - "line": 123, - "column": 38 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3227, - "end": 3228, - "loc": { - "start": { - "line": 123, - "column": 38 - }, - "end": { - "line": 123, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3228, - "end": 3229, - "loc": { - "start": { - "line": 123, - "column": 39 - }, - "end": { - "line": 123, - "column": 40 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3239, - "end": 3244, - "loc": { - "start": { - "line": 124, - "column": 8 - }, - "end": { - "line": 124, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconDelay", - "start": 3245, - "end": 3254, - "loc": { - "start": { - "line": 124, - "column": 14 - }, - "end": { - "line": 124, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3255, - "end": 3256, - "loc": { - "start": { - "line": 124, - "column": 24 - }, - "end": { - "line": 124, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3257, - "end": 3266, - "loc": { - "start": { - "line": 124, - "column": 26 - }, - "end": { - "line": 124, - "column": 35 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3266, - "end": 3267, - "loc": { - "start": { - "line": 124, - "column": 35 - }, - "end": { - "line": 124, - "column": 36 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 3267, - "end": 3268, - "loc": { - "start": { - "line": 124, - "column": 36 - }, - "end": { - "line": 124, - "column": 37 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3268, - "end": 3269, - "loc": { - "start": { - "line": 124, - "column": 37 - }, - "end": { - "line": 124, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3269, - "end": 3270, - "loc": { - "start": { - "line": 124, - "column": 38 - }, - "end": { - "line": 124, - "column": 39 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3280, - "end": 3285, - "loc": { - "start": { - "line": 125, - "column": 8 - }, - "end": { - "line": 125, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconDataURL", - "start": 3286, - "end": 3297, - "loc": { - "start": { - "line": 125, - "column": 14 - }, - "end": { - "line": 125, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3298, - "end": 3299, - "loc": { - "start": { - "line": 125, - "column": 26 - }, - "end": { - "line": 125, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3300, - "end": 3309, - "loc": { - "start": { - "line": 125, - "column": 28 - }, - "end": { - "line": 125, - "column": 37 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3309, - "end": 3310, - "loc": { - "start": { - "line": 125, - "column": 37 - }, - "end": { - "line": 125, - "column": 38 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 3310, - "end": 3311, - "loc": { - "start": { - "line": 125, - "column": 38 - }, - "end": { - "line": 125, - "column": 39 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3311, - "end": 3312, - "loc": { - "start": { - "line": 125, - "column": 39 - }, - "end": { - "line": 125, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3312, - "end": 3313, - "loc": { - "start": { - "line": 125, - "column": 40 - }, - "end": { - "line": 125, - "column": 41 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3323, - "end": 3328, - "loc": { - "start": { - "line": 126, - "column": 8 - }, - "end": { - "line": 126, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameArray", - "start": 3329, - "end": 3339, - "loc": { - "start": { - "line": 126, - "column": 14 - }, - "end": { - "line": 126, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3340, - "end": 3341, - "loc": { - "start": { - "line": 126, - "column": 25 - }, - "end": { - "line": 126, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3342, - "end": 3351, - "loc": { - "start": { - "line": 126, - "column": 27 - }, - "end": { - "line": 126, - "column": 36 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3351, - "end": 3352, - "loc": { - "start": { - "line": 126, - "column": 36 - }, - "end": { - "line": 126, - "column": 37 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 3352, - "end": 3353, - "loc": { - "start": { - "line": 126, - "column": 37 - }, - "end": { - "line": 126, - "column": 38 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3353, - "end": 3354, - "loc": { - "start": { - "line": 126, - "column": 38 - }, - "end": { - "line": 126, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3354, - "end": 3355, - "loc": { - "start": { - "line": 126, - "column": 39 - }, - "end": { - "line": 126, - "column": 40 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3365, - "end": 3370, - "loc": { - "start": { - "line": 127, - "column": 8 - }, - "end": { - "line": 127, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateArray", - "start": 3371, - "end": 3381, - "loc": { - "start": { - "line": 127, - "column": 14 - }, - "end": { - "line": 127, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3382, - "end": 3383, - "loc": { - "start": { - "line": 127, - "column": 25 - }, - "end": { - "line": 127, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3384, - "end": 3393, - "loc": { - "start": { - "line": 127, - "column": 27 - }, - "end": { - "line": 127, - "column": 36 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3393, - "end": 3394, - "loc": { - "start": { - "line": 127, - "column": 36 - }, - "end": { - "line": 127, - "column": 37 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 6, - "start": 3394, - "end": 3395, - "loc": { - "start": { - "line": 127, - "column": 37 - }, - "end": { - "line": 127, - "column": 38 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3395, - "end": 3396, - "loc": { - "start": { - "line": 127, - "column": 38 - }, - "end": { - "line": 127, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3396, - "end": 3397, - "loc": { - "start": { - "line": 127, - "column": 39 - }, - "end": { - "line": 127, - "column": 40 - } - } - }, - { - "type": "CommentLine", - "value": " Set name", - "start": 3409, - "end": 3420, - "loc": { - "start": { - "line": 129, - "column": 8 - }, - "end": { - "line": 129, - "column": 19 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 3430, - "end": 3434, - "loc": { - "start": { - "line": 130, - "column": 8 - }, - "end": { - "line": 130, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3434, - "end": 3435, - "loc": { - "start": { - "line": 130, - "column": 12 - }, - "end": { - "line": 130, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rename", - "start": 3435, - "end": 3441, - "loc": { - "start": { - "line": 130, - "column": 13 - }, - "end": { - "line": 130, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3441, - "end": 3442, - "loc": { - "start": { - "line": 130, - "column": 19 - }, - "end": { - "line": 130, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconName", - "start": 3442, - "end": 3450, - "loc": { - "start": { - "line": 130, - "column": 20 - }, - "end": { - "line": 130, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3450, - "end": 3451, - "loc": { - "start": { - "line": 130, - "column": 28 - }, - "end": { - "line": 130, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3451, - "end": 3452, - "loc": { - "start": { - "line": 130, - "column": 29 - }, - "end": { - "line": 130, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " Set size", - "start": 3462, - "end": 3473, - "loc": { - "start": { - "line": 131, - "column": 8 - }, - "end": { - "line": 131, - "column": 19 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 3483, - "end": 3487, - "loc": { - "start": { - "line": 132, - "column": 8 - }, - "end": { - "line": 132, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3487, - "end": 3488, - "loc": { - "start": { - "line": 132, - "column": 12 - }, - "end": { - "line": 132, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setSize", - "start": 3488, - "end": 3495, - "loc": { - "start": { - "line": 132, - "column": 13 - }, - "end": { - "line": 132, - "column": 20 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3495, - "end": 3496, - "loc": { - "start": { - "line": 132, - "column": 20 - }, - "end": { - "line": 132, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconWidth", - "start": 3496, - "end": 3505, - "loc": { - "start": { - "line": 132, - "column": 21 - }, - "end": { - "line": 132, - "column": 30 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3505, - "end": 3506, - "loc": { - "start": { - "line": 132, - "column": 30 - }, - "end": { - "line": 132, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconHeight", - "start": 3507, - "end": 3517, - "loc": { - "start": { - "line": 132, - "column": 32 - }, - "end": { - "line": 132, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3517, - "end": 3518, - "loc": { - "start": { - "line": 132, - "column": 42 - }, - "end": { - "line": 132, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3518, - "end": 3519, - "loc": { - "start": { - "line": 132, - "column": 43 - }, - "end": { - "line": 132, - "column": 44 - } - } - }, - { - "type": "CommentLine", - "value": " Set icon delay", - "start": 3529, - "end": 3546, - "loc": { - "start": { - "line": 133, - "column": 8 - }, - "end": { - "line": 133, - "column": 25 - } - } - }, - { - "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": 3556, - "end": 3560, - "loc": { - "start": { - "line": 134, - "column": 8 - }, - "end": { - "line": 134, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3560, - "end": 3561, - "loc": { - "start": { - "line": 134, - "column": 12 - }, - "end": { - "line": 134, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDelay", - "start": 3561, - "end": 3569, - "loc": { - "start": { - "line": 134, - "column": 13 - }, - "end": { - "line": 134, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3569, - "end": 3570, - "loc": { - "start": { - "line": 134, - "column": 21 - }, - "end": { - "line": 134, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconDelay", - "start": 3570, - "end": 3579, - "loc": { - "start": { - "line": 134, - "column": 22 - }, - "end": { - "line": 134, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3579, - "end": 3580, - "loc": { - "start": { - "line": 134, - "column": 31 - }, - "end": { - "line": 134, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3580, - "end": 3581, - "loc": { - "start": { - "line": 134, - "column": 32 - }, - "end": { - "line": 134, - "column": 33 - } - } - }, - { - "type": "CommentLine", - "value": " Set dataURL", - "start": 3591, - "end": 3605, - "loc": { - "start": { - "line": 135, - "column": 8 - }, - "end": { - "line": 135, - "column": 22 - } - } - }, - { - "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": 3615, - "end": 3619, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3619, - "end": 3620, - "loc": { - "start": { - "line": 136, - "column": 12 - }, - "end": { - "line": 136, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDataURL", - "start": 3620, - "end": 3630, - "loc": { - "start": { - "line": 136, - "column": 13 - }, - "end": { - "line": 136, - "column": 23 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3630, - "end": 3631, - "loc": { - "start": { - "line": 136, - "column": 23 - }, - "end": { - "line": 136, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconDataURL", - "start": 3631, - "end": 3642, - "loc": { - "start": { - "line": 136, - "column": 24 - }, - "end": { - "line": 136, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3642, - "end": 3643, - "loc": { - "start": { - "line": 136, - "column": 35 - }, - "end": { - "line": 136, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3643, - "end": 3644, - "loc": { - "start": { - "line": 136, - "column": 36 - }, - "end": { - "line": 136, - "column": 37 - } - } - }, - { - "type": "CommentLine", - "value": " Check if the frame data is an array", - "start": 3654, - "end": 3692, - "loc": { - "start": { - "line": 137, - "column": 8 - }, - "end": { - "line": 137, - "column": 46 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 3702, - "end": 3704, - "loc": { - "start": { - "line": 138, - "column": 8 - }, - "end": { - "line": 138, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3705, - "end": 3706, - "loc": { - "start": { - "line": 138, - "column": 11 - }, - "end": { - "line": 138, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Array", - "start": 3706, - "end": 3711, - "loc": { - "start": { - "line": 138, - "column": 12 - }, - "end": { - "line": 138, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3711, - "end": 3712, - "loc": { - "start": { - "line": 138, - "column": 17 - }, - "end": { - "line": 138, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isArray", - "start": 3712, - "end": 3719, - "loc": { - "start": { - "line": 138, - "column": 18 - }, - "end": { - "line": 138, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3719, - "end": 3720, - "loc": { - "start": { - "line": 138, - "column": 25 - }, - "end": { - "line": 138, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameArray", - "start": 3720, - "end": 3730, - "loc": { - "start": { - "line": 138, - "column": 26 - }, - "end": { - "line": 138, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3730, - "end": 3731, - "loc": { - "start": { - "line": 138, - "column": 36 - }, - "end": { - "line": 138, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3731, - "end": 3732, - "loc": { - "start": { - "line": 138, - "column": 37 - }, - "end": { - "line": 138, - "column": 38 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3733, - "end": 3734, - "loc": { - "start": { - "line": 138, - "column": 39 - }, - "end": { - "line": 138, - "column": 40 - } - } - }, - { - "type": "CommentLine", - "value": " If the frame array has data then we need to store it.", - "start": 3748, - "end": 3804, - "loc": { - "start": { - "line": 139, - "column": 12 - }, - "end": { - "line": 139, - "column": 68 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 3818, - "end": 3820, - "loc": { - "start": { - "line": 140, - "column": 12 - }, - "end": { - "line": 140, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3821, - "end": 3822, - "loc": { - "start": { - "line": 140, - "column": 15 - }, - "end": { - "line": 140, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameArray", - "start": 3822, - "end": 3832, - "loc": { - "start": { - "line": 140, - "column": 16 - }, - "end": { - "line": 140, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3832, - "end": 3833, - "loc": { - "start": { - "line": 140, - "column": 26 - }, - "end": { - "line": 140, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 3833, - "end": 3839, - "loc": { - "start": { - "line": 140, - "column": 27 - }, - "end": { - "line": 140, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3839, - "end": 3840, - "loc": { - "start": { - "line": 140, - "column": 33 - }, - "end": { - "line": 140, - "column": 34 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3841, - "end": 3842, - "loc": { - "start": { - "line": 140, - "column": 35 - }, - "end": { - "line": 140, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameArray", - "start": 3860, - "end": 3870, - "loc": { - "start": { - "line": 141, - "column": 16 - }, - "end": { - "line": 141, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3870, - "end": 3871, - "loc": { - "start": { - "line": 141, - "column": 26 - }, - "end": { - "line": 141, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 3871, - "end": 3878, - "loc": { - "start": { - "line": 141, - "column": 27 - }, - "end": { - "line": 141, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3878, - "end": 3879, - "loc": { - "start": { - "line": 141, - "column": 34 - }, - "end": { - "line": 141, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3879, - "end": 3880, - "loc": { - "start": { - "line": 141, - "column": 35 - }, - "end": { - "line": 141, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 3880, - "end": 3886, - "loc": { - "start": { - "line": 141, - "column": 36 - }, - "end": { - "line": 141, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3886, - "end": 3887, - "loc": { - "start": { - "line": 141, - "column": 42 - }, - "end": { - "line": 141, - "column": 43 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3888, - "end": 3890, - "loc": { - "start": { - "line": 141, - "column": 44 - }, - "end": { - "line": 141, - "column": 46 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3891, - "end": 3892, - "loc": { - "start": { - "line": 141, - "column": 47 - }, - "end": { - "line": 141, - "column": 48 - } - } - }, - { - "type": "CommentLine", - "value": " pFrame is an array holding the datalURL and frameDelay of the frame", - "start": 3914, - "end": 3984, - "loc": { - "start": { - "line": 142, - "column": 20 - }, - "end": { - "line": 142, - "column": 90 - } - } - }, - { - "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": 4006, - "end": 4010, - "loc": { - "start": { - "line": 143, - "column": 20 - }, - "end": { - "line": 143, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4010, - "end": 4011, - "loc": { - "start": { - "line": 143, - "column": 24 - }, - "end": { - "line": 143, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addFrame", - "start": 4011, - "end": 4019, - "loc": { - "start": { - "line": 143, - "column": 25 - }, - "end": { - "line": 143, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4019, - "end": 4020, - "loc": { - "start": { - "line": 143, - "column": 33 - }, - "end": { - "line": 143, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 4020, - "end": 4026, - "loc": { - "start": { - "line": 143, - "column": 34 - }, - "end": { - "line": 143, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4026, - "end": 4027, - "loc": { - "start": { - "line": 143, - "column": 40 - }, - "end": { - "line": 143, - "column": 41 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4027, - "end": 4028, - "loc": { - "start": { - "line": 143, - "column": 41 - }, - "end": { - "line": 143, - "column": 42 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4046, - "end": 4047, - "loc": { - "start": { - "line": 144, - "column": 16 - }, - "end": { - "line": 144, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4047, - "end": 4048, - "loc": { - "start": { - "line": 144, - "column": 17 - }, - "end": { - "line": 144, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4048, - "end": 4049, - "loc": { - "start": { - "line": 144, - "column": 18 - }, - "end": { - "line": 144, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4063, - "end": 4064, - "loc": { - "start": { - "line": 145, - "column": 12 - }, - "end": { - "line": 145, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4074, - "end": 4075, - "loc": { - "start": { - "line": 146, - "column": 8 - }, - "end": { - "line": 146, - "column": 9 - } - } - }, - { - "type": "CommentLine", - "value": " Check if the states data is an array", - "start": 4085, - "end": 4124, - "loc": { - "start": { - "line": 147, - "column": 8 - }, - "end": { - "line": 147, - "column": 47 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 4134, - "end": 4136, - "loc": { - "start": { - "line": 148, - "column": 8 - }, - "end": { - "line": 148, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4137, - "end": 4138, - "loc": { - "start": { - "line": 148, - "column": 11 - }, - "end": { - "line": 148, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Array", - "start": 4138, - "end": 4143, - "loc": { - "start": { - "line": 148, - "column": 12 - }, - "end": { - "line": 148, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4143, - "end": 4144, - "loc": { - "start": { - "line": 148, - "column": 17 - }, - "end": { - "line": 148, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isArray", - "start": 4144, - "end": 4151, - "loc": { - "start": { - "line": 148, - "column": 18 - }, - "end": { - "line": 148, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4151, - "end": 4152, - "loc": { - "start": { - "line": 148, - "column": 25 - }, - "end": { - "line": 148, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateArray", - "start": 4152, - "end": 4162, - "loc": { - "start": { - "line": 148, - "column": 26 - }, - "end": { - "line": 148, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4162, - "end": 4163, - "loc": { - "start": { - "line": 148, - "column": 36 - }, - "end": { - "line": 148, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4163, - "end": 4164, - "loc": { - "start": { - "line": 148, - "column": 37 - }, - "end": { - "line": 148, - "column": 38 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4165, - "end": 4166, - "loc": { - "start": { - "line": 148, - "column": 39 - }, - "end": { - "line": 148, - "column": 40 - } - } - }, - { - "type": "CommentLine", - "value": " If the state array has data then we need to store it.", - "start": 4180, - "end": 4236, - "loc": { - "start": { - "line": 149, - "column": 12 - }, - "end": { - "line": 149, - "column": 68 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 4250, - "end": 4252, - "loc": { - "start": { - "line": 150, - "column": 12 - }, - "end": { - "line": 150, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4253, - "end": 4254, - "loc": { - "start": { - "line": 150, - "column": 15 - }, - "end": { - "line": 150, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateArray", - "start": 4254, - "end": 4264, - "loc": { - "start": { - "line": 150, - "column": 16 - }, - "end": { - "line": 150, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4264, - "end": 4265, - "loc": { - "start": { - "line": 150, - "column": 26 - }, - "end": { - "line": 150, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 4265, - "end": 4271, - "loc": { - "start": { - "line": 150, - "column": 27 - }, - "end": { - "line": 150, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4271, - "end": 4272, - "loc": { - "start": { - "line": 150, - "column": 33 - }, - "end": { - "line": 150, - "column": 34 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4273, - "end": 4274, - "loc": { - "start": { - "line": 150, - "column": 35 - }, - "end": { - "line": 150, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateArray", - "start": 4292, - "end": 4302, - "loc": { - "start": { - "line": 151, - "column": 16 - }, - "end": { - "line": 151, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4302, - "end": 4303, - "loc": { - "start": { - "line": 151, - "column": 26 - }, - "end": { - "line": 151, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 4303, - "end": 4310, - "loc": { - "start": { - "line": 151, - "column": 27 - }, - "end": { - "line": 151, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4310, - "end": 4311, - "loc": { - "start": { - "line": 151, - "column": 34 - }, - "end": { - "line": 151, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4311, - "end": 4312, - "loc": { - "start": { - "line": 151, - "column": 35 - }, - "end": { - "line": 151, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pState", - "start": 4312, - "end": 4318, - "loc": { - "start": { - "line": 151, - "column": 36 - }, - "end": { - "line": 151, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4318, - "end": 4319, - "loc": { - "start": { - "line": 151, - "column": 42 - }, - "end": { - "line": 151, - "column": 43 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4320, - "end": 4322, - "loc": { - "start": { - "line": 151, - "column": 44 - }, - "end": { - "line": 151, - "column": 46 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4323, - "end": 4324, - "loc": { - "start": { - "line": 151, - "column": 47 - }, - "end": { - "line": 151, - "column": 48 - } - } - }, - { - "type": "CommentLine", - "value": " Here we create a icon with aggregated data because the state data is not enough to make it an icon.", - "start": 4346, - "end": 4448, - "loc": { - "start": { - "line": 152, - "column": 20 - }, - "end": { - "line": 152, - "column": 122 - } - } - }, - { - "type": "CommentLine", - "value": " We do this because a state is basically an icon, but it just \"inherits\" alot of the data. But this makes it easier to manage if we treat it internally as an icon.", - "start": 4470, - "end": 4635, - "loc": { - "start": { - "line": 153, - "column": 20 - }, - "end": { - "line": 153, - "column": 185 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 4657, - "end": 4662, - "loc": { - "start": { - "line": 154, - "column": 20 - }, - "end": { - "line": 154, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "aggregatedIconData", - "start": 4663, - "end": 4681, - "loc": { - "start": { - "line": 154, - "column": 26 - }, - "end": { - "line": 154, - "column": 44 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 4682, - "end": 4683, - "loc": { - "start": { - "line": 154, - "column": 45 - }, - "end": { - "line": 154, - "column": 46 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4684, - "end": 4685, - "loc": { - "start": { - "line": 154, - "column": 47 - }, - "end": { - "line": 154, - "column": 48 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4685, - "end": 4686, - "loc": { - "start": { - "line": 154, - "column": 48 - }, - "end": { - "line": 154, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4686, - "end": 4687, - "loc": { - "start": { - "line": 154, - "column": 49 - }, - "end": { - "line": 154, - "column": 50 - } - } - }, - { - "type": "CommentLine", - "value": " iconName", - "start": 4709, - "end": 4720, - "loc": { - "start": { - "line": 155, - "column": 20 - }, - "end": { - "line": 155, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "aggregatedIconData", - "start": 4742, - "end": 4760, - "loc": { - "start": { - "line": 156, - "column": 20 - }, - "end": { - "line": 156, - "column": 38 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4760, - "end": 4761, - "loc": { - "start": { - "line": 156, - "column": 38 - }, - "end": { - "line": 156, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 4761, - "end": 4762, - "loc": { - "start": { - "line": 156, - "column": 39 - }, - "end": { - "line": 156, - "column": 40 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4762, - "end": 4763, - "loc": { - "start": { - "line": 156, - "column": 40 - }, - "end": { - "line": 156, - "column": 41 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 4764, - "end": 4765, - "loc": { - "start": { - "line": 156, - "column": 42 - }, - "end": { - "line": 156, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pState", - "start": 4766, - "end": 4772, - "loc": { - "start": { - "line": 156, - "column": 44 - }, - "end": { - "line": 156, - "column": 50 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4772, - "end": 4773, - "loc": { - "start": { - "line": 156, - "column": 50 - }, - "end": { - "line": 156, - "column": 51 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 4773, - "end": 4774, - "loc": { - "start": { - "line": 156, - "column": 51 - }, - "end": { - "line": 156, - "column": 52 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4774, - "end": 4775, - "loc": { - "start": { - "line": 156, - "column": 52 - }, - "end": { - "line": 156, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4775, - "end": 4776, - "loc": { - "start": { - "line": 156, - "column": 53 - }, - "end": { - "line": 156, - "column": 54 - } - } - }, - { - "type": "CommentLine", - "value": " iconWidth", - "start": 4798, - "end": 4810, - "loc": { - "start": { - "line": 157, - "column": 20 - }, - "end": { - "line": 157, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "aggregatedIconData", - "start": 4832, - "end": 4850, - "loc": { - "start": { - "line": 158, - "column": 20 - }, - "end": { - "line": 158, - "column": 38 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4850, - "end": 4851, - "loc": { - "start": { - "line": 158, - "column": 38 - }, - "end": { - "line": 158, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 4851, - "end": 4852, - "loc": { - "start": { - "line": 158, - "column": 39 - }, - "end": { - "line": 158, - "column": 40 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4852, - "end": 4853, - "loc": { - "start": { - "line": 158, - "column": 40 - }, - "end": { - "line": 158, - "column": 41 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 4854, - "end": 4855, - "loc": { - "start": { - "line": 158, - "column": 42 - }, - "end": { - "line": 158, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconWidth", - "start": 4856, - "end": 4865, - "loc": { - "start": { - "line": 158, - "column": 44 - }, - "end": { - "line": 158, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4865, - "end": 4866, - "loc": { - "start": { - "line": 158, - "column": 53 - }, - "end": { - "line": 158, - "column": 54 - } - } - }, - { - "type": "CommentLine", - "value": " iconHeight", - "start": 4888, - "end": 4901, - "loc": { - "start": { - "line": 159, - "column": 20 - }, - "end": { - "line": 159, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "aggregatedIconData", - "start": 4923, - "end": 4941, - "loc": { - "start": { - "line": 160, - "column": 20 - }, - "end": { - "line": 160, - "column": 38 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4941, - "end": 4942, - "loc": { - "start": { - "line": 160, - "column": 38 - }, - "end": { - "line": 160, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 4942, - "end": 4943, - "loc": { - "start": { - "line": 160, - "column": 39 - }, - "end": { - "line": 160, - "column": 40 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4943, - "end": 4944, - "loc": { - "start": { - "line": 160, - "column": 40 - }, - "end": { - "line": 160, - "column": 41 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 4945, - "end": 4946, - "loc": { - "start": { - "line": 160, - "column": 42 - }, - "end": { - "line": 160, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconHeight", - "start": 4947, - "end": 4957, - "loc": { - "start": { - "line": 160, - "column": 44 - }, - "end": { - "line": 160, - "column": 54 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4957, - "end": 4958, - "loc": { - "start": { - "line": 160, - "column": 54 - }, - "end": { - "line": 160, - "column": 55 - } - } - }, - { - "type": "CommentLine", - "value": " frame delay", - "start": 4980, - "end": 4994, - "loc": { - "start": { - "line": 161, - "column": 20 - }, - "end": { - "line": 161, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "aggregatedIconData", - "start": 5016, - "end": 5034, - "loc": { - "start": { - "line": 162, - "column": 20 - }, - "end": { - "line": 162, - "column": 38 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5034, - "end": 5035, - "loc": { - "start": { - "line": 162, - "column": 38 - }, - "end": { - "line": 162, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 5035, - "end": 5036, - "loc": { - "start": { - "line": 162, - "column": 39 - }, - "end": { - "line": 162, - "column": 40 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5036, - "end": 5037, - "loc": { - "start": { - "line": 162, - "column": 40 - }, - "end": { - "line": 162, - "column": 41 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 5038, - "end": 5039, - "loc": { - "start": { - "line": 162, - "column": 42 - }, - "end": { - "line": 162, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pState", - "start": 5040, - "end": 5046, - "loc": { - "start": { - "line": 162, - "column": 44 - }, - "end": { - "line": 162, - "column": 50 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5046, - "end": 5047, - "loc": { - "start": { - "line": 162, - "column": 50 - }, - "end": { - "line": 162, - "column": 51 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 5047, - "end": 5048, - "loc": { - "start": { - "line": 162, - "column": 51 - }, - "end": { - "line": 162, - "column": 52 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5048, - "end": 5049, - "loc": { - "start": { - "line": 162, - "column": 52 - }, - "end": { - "line": 162, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5049, - "end": 5050, - "loc": { - "start": { - "line": 162, - "column": 53 - }, - "end": { - "line": 162, - "column": 54 - } - } - }, - { - "type": "CommentLine", - "value": " iconDataURL", - "start": 5072, - "end": 5086, - "loc": { - "start": { - "line": 163, - "column": 20 - }, - "end": { - "line": 163, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "aggregatedIconData", - "start": 5108, - "end": 5126, - "loc": { - "start": { - "line": 164, - "column": 20 - }, - "end": { - "line": 164, - "column": 38 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5126, - "end": 5127, - "loc": { - "start": { - "line": 164, - "column": 38 - }, - "end": { - "line": 164, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 5127, - "end": 5128, - "loc": { - "start": { - "line": 164, - "column": 39 - }, - "end": { - "line": 164, - "column": 40 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5128, - "end": 5129, - "loc": { - "start": { - "line": 164, - "column": 40 - }, - "end": { - "line": 164, - "column": 41 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 5130, - "end": 5131, - "loc": { - "start": { - "line": 164, - "column": 42 - }, - "end": { - "line": 164, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pState", - "start": 5132, - "end": 5138, - "loc": { - "start": { - "line": 164, - "column": 44 - }, - "end": { - "line": 164, - "column": 50 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5138, - "end": 5139, - "loc": { - "start": { - "line": 164, - "column": 50 - }, - "end": { - "line": 164, - "column": 51 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 5139, - "end": 5140, - "loc": { - "start": { - "line": 164, - "column": 51 - }, - "end": { - "line": 164, - "column": 52 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5140, - "end": 5141, - "loc": { - "start": { - "line": 164, - "column": 52 - }, - "end": { - "line": 164, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5141, - "end": 5142, - "loc": { - "start": { - "line": 164, - "column": 53 - }, - "end": { - "line": 164, - "column": 54 - } - } - }, - { - "type": "CommentLine", - "value": " frame array", - "start": 5164, - "end": 5178, - "loc": { - "start": { - "line": 165, - "column": 20 - }, - "end": { - "line": 165, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "aggregatedIconData", - "start": 5200, - "end": 5218, - "loc": { - "start": { - "line": 166, - "column": 20 - }, - "end": { - "line": 166, - "column": 38 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5218, - "end": 5219, - "loc": { - "start": { - "line": 166, - "column": 38 - }, - "end": { - "line": 166, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 5219, - "end": 5220, - "loc": { - "start": { - "line": 166, - "column": 39 - }, - "end": { - "line": 166, - "column": 40 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5220, - "end": 5221, - "loc": { - "start": { - "line": 166, - "column": 40 - }, - "end": { - "line": 166, - "column": 41 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 5222, - "end": 5223, - "loc": { - "start": { - "line": 166, - "column": 42 - }, - "end": { - "line": 166, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pState", - "start": 5224, - "end": 5230, - "loc": { - "start": { - "line": 166, - "column": 44 - }, - "end": { - "line": 166, - "column": 50 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5230, - "end": 5231, - "loc": { - "start": { - "line": 166, - "column": 50 - }, - "end": { - "line": 166, - "column": 51 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 5231, - "end": 5232, - "loc": { - "start": { - "line": 166, - "column": 51 - }, - "end": { - "line": 166, - "column": 52 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5232, - "end": 5233, - "loc": { - "start": { - "line": 166, - "column": 52 - }, - "end": { - "line": 166, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5233, - "end": 5234, - "loc": { - "start": { - "line": 166, - "column": 53 - }, - "end": { - "line": 166, - "column": 54 - } - } - }, - { - "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": 5256, - "end": 5260, - "loc": { - "start": { - "line": 167, - "column": 20 - }, - "end": { - "line": 167, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5260, - "end": 5261, - "loc": { - "start": { - "line": 167, - "column": 24 - }, - "end": { - "line": 167, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addState", - "start": 5261, - "end": 5269, - "loc": { - "start": { - "line": 167, - "column": 25 - }, - "end": { - "line": 167, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5269, - "end": 5270, - "loc": { - "start": { - "line": 167, - "column": 33 - }, - "end": { - "line": 167, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "aggregatedIconData", - "start": 5270, - "end": 5288, - "loc": { - "start": { - "line": 167, - "column": 34 - }, - "end": { - "line": 167, - "column": 52 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5288, - "end": 5289, - "loc": { - "start": { - "line": 167, - "column": 52 - }, - "end": { - "line": 167, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5289, - "end": 5290, - "loc": { - "start": { - "line": 167, - "column": 53 - }, - "end": { - "line": 167, - "column": 54 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5308, - "end": 5309, - "loc": { - "start": { - "line": 168, - "column": 16 - }, - "end": { - "line": 168, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5309, - "end": 5310, - "loc": { - "start": { - "line": 168, - "column": 17 - }, - "end": { - "line": 168, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5310, - "end": 5311, - "loc": { - "start": { - "line": 168, - "column": 18 - }, - "end": { - "line": 168, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5325, - "end": 5326, - "loc": { - "start": { - "line": 169, - "column": 12 - }, - "end": { - "line": 169, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5336, - "end": 5337, - "loc": { - "start": { - "line": 170, - "column": 8 - }, - "end": { - "line": 170, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5343, - "end": 5344, - "loc": { - "start": { - "line": 171, - "column": 4 - }, - "end": { - "line": 171, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Sets the size of this icon.\r\n * @param {number} pWidth - The width of this icon.\r\n * @param {number} pHeight - THe height of this icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 5350, - "end": 5558, - "loc": { - "start": { - "line": 172, - "column": 4 - }, - "end": { - "line": 177, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setSize", - "start": 5564, - "end": 5571, - "loc": { - "start": { - "line": 178, - "column": 4 - }, - "end": { - "line": 178, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5571, - "end": 5572, - "loc": { - "start": { - "line": 178, - "column": 11 - }, - "end": { - "line": 178, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pWidth", - "start": 5572, - "end": 5578, - "loc": { - "start": { - "line": 178, - "column": 12 - }, - "end": { - "line": 178, - "column": 18 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5578, - "end": 5579, - "loc": { - "start": { - "line": 178, - "column": 18 - }, - "end": { - "line": 178, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pHeight", - "start": 5580, - "end": 5587, - "loc": { - "start": { - "line": 178, - "column": 20 - }, - "end": { - "line": 178, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5587, - "end": 5588, - "loc": { - "start": { - "line": 178, - "column": 27 - }, - "end": { - "line": 178, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5589, - "end": 5590, - "loc": { - "start": { - "line": 178, - "column": 29 - }, - "end": { - "line": 178, - "column": 30 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 5600, - "end": 5602, - "loc": { - "start": { - "line": 179, - "column": 8 - }, - "end": { - "line": 179, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5603, - "end": 5604, - "loc": { - "start": { - "line": 179, - "column": 11 - }, - "end": { - "line": 179, - "column": 12 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 5604, - "end": 5610, - "loc": { - "start": { - "line": 179, - "column": 12 - }, - "end": { - "line": 179, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5610, - "end": 5611, - "loc": { - "start": { - "line": 179, - "column": 18 - }, - "end": { - "line": 179, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pWidth", - "start": 5611, - "end": 5617, - "loc": { - "start": { - "line": 179, - "column": 19 - }, - "end": { - "line": 179, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5617, - "end": 5618, - "loc": { - "start": { - "line": 179, - "column": 25 - }, - "end": { - "line": 179, - "column": 26 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 5619, - "end": 5622, - "loc": { - "start": { - "line": 179, - "column": 27 - }, - "end": { - "line": 179, - "column": 30 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "number", - "start": 5623, - "end": 5631, - "loc": { - "start": { - "line": 179, - "column": 31 - }, - "end": { - "line": 179, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5631, - "end": 5632, - "loc": { - "start": { - "line": 179, - "column": 39 - }, - "end": { - "line": 179, - "column": 40 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5633, - "end": 5634, - "loc": { - "start": { - "line": 179, - "column": 41 - }, - "end": { - "line": 179, - "column": 42 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 5648, - "end": 5652, - "loc": { - "start": { - "line": 180, - "column": 12 - }, - "end": { - "line": 180, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5652, - "end": 5653, - "loc": { - "start": { - "line": 180, - "column": 16 - }, - "end": { - "line": 180, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "width", - "start": 5653, - "end": 5658, - "loc": { - "start": { - "line": 180, - "column": 17 - }, - "end": { - "line": 180, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 5659, - "end": 5660, - "loc": { - "start": { - "line": 180, - "column": 23 - }, - "end": { - "line": 180, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pWidth", - "start": 5661, - "end": 5667, - "loc": { - "start": { - "line": 180, - "column": 25 - }, - "end": { - "line": 180, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5667, - "end": 5668, - "loc": { - "start": { - "line": 180, - "column": 31 - }, - "end": { - "line": 180, - "column": 32 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5678, - "end": 5679, - "loc": { - "start": { - "line": 181, - "column": 8 - }, - "end": { - "line": 181, - "column": 9 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 5689, - "end": 5691, - "loc": { - "start": { - "line": 182, - "column": 8 - }, - "end": { - "line": 182, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5692, - "end": 5693, - "loc": { - "start": { - "line": 182, - "column": 11 - }, - "end": { - "line": 182, - "column": 12 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 5693, - "end": 5699, - "loc": { - "start": { - "line": 182, - "column": 12 - }, - "end": { - "line": 182, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5699, - "end": 5700, - "loc": { - "start": { - "line": 182, - "column": 18 - }, - "end": { - "line": 182, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pHeight", - "start": 5700, - "end": 5707, - "loc": { - "start": { - "line": 182, - "column": 19 - }, - "end": { - "line": 182, - "column": 26 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5707, - "end": 5708, - "loc": { - "start": { - "line": 182, - "column": 26 - }, - "end": { - "line": 182, - "column": 27 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 5709, - "end": 5712, - "loc": { - "start": { - "line": 182, - "column": 28 - }, - "end": { - "line": 182, - "column": 31 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "number", - "start": 5713, - "end": 5721, - "loc": { - "start": { - "line": 182, - "column": 32 - }, - "end": { - "line": 182, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5721, - "end": 5722, - "loc": { - "start": { - "line": 182, - "column": 40 - }, - "end": { - "line": 182, - "column": 41 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5723, - "end": 5724, - "loc": { - "start": { - "line": 182, - "column": 42 - }, - "end": { - "line": 182, - "column": 43 - } - } - }, - { - "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": 5738, - "end": 5742, - "loc": { - "start": { - "line": 183, - "column": 12 - }, - "end": { - "line": 183, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5742, - "end": 5743, - "loc": { - "start": { - "line": 183, - "column": 16 - }, - "end": { - "line": 183, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "height", - "start": 5743, - "end": 5749, - "loc": { - "start": { - "line": 183, - "column": 17 - }, - "end": { - "line": 183, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 5750, - "end": 5751, - "loc": { - "start": { - "line": 183, - "column": 24 - }, - "end": { - "line": 183, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pHeight", - "start": 5752, - "end": 5759, - "loc": { - "start": { - "line": 183, - "column": 26 - }, - "end": { - "line": 183, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5759, - "end": 5760, - "loc": { - "start": { - "line": 183, - "column": 33 - }, - "end": { - "line": 183, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5770, - "end": 5771, - "loc": { - "start": { - "line": 184, - "column": 8 - }, - "end": { - "line": 184, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5777, - "end": 5778, - "loc": { - "start": { - "line": 185, - "column": 4 - }, - "end": { - "line": 185, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the width and height of this icon and returns it.\r\n * @returns {Object} An object with the width and height of this icon.\r\n ", - "start": 5784, - "end": 5935, - "loc": { - "start": { - "line": 186, - "column": 4 - }, - "end": { - "line": 189, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getSize", - "start": 5941, - "end": 5948, - "loc": { - "start": { - "line": 190, - "column": 4 - }, - "end": { - "line": 190, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5948, - "end": 5949, - "loc": { - "start": { - "line": 190, - "column": 11 - }, - "end": { - "line": 190, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5949, - "end": 5950, - "loc": { - "start": { - "line": 190, - "column": 12 - }, - "end": { - "line": 190, - "column": 13 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5951, - "end": 5952, - "loc": { - "start": { - "line": 190, - "column": 14 - }, - "end": { - "line": 190, - "column": 15 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 5962, - "end": 5968, - "loc": { - "start": { - "line": 191, - "column": 8 - }, - "end": { - "line": 191, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5969, - "end": 5970, - "loc": { - "start": { - "line": 191, - "column": 15 - }, - "end": { - "line": 191, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "width", - "start": 5971, - "end": 5976, - "loc": { - "start": { - "line": 191, - "column": 17 - }, - "end": { - "line": 191, - "column": 22 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5976, - "end": 5977, - "loc": { - "start": { - "line": 191, - "column": 22 - }, - "end": { - "line": 191, - "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": 5978, - "end": 5982, - "loc": { - "start": { - "line": 191, - "column": 24 - }, - "end": { - "line": 191, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5982, - "end": 5983, - "loc": { - "start": { - "line": 191, - "column": 28 - }, - "end": { - "line": 191, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "width", - "start": 5983, - "end": 5988, - "loc": { - "start": { - "line": 191, - "column": 29 - }, - "end": { - "line": 191, - "column": 34 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5988, - "end": 5989, - "loc": { - "start": { - "line": 191, - "column": 34 - }, - "end": { - "line": 191, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "height", - "start": 5990, - "end": 5996, - "loc": { - "start": { - "line": 191, - "column": 36 - }, - "end": { - "line": 191, - "column": 42 - } - } - }, - { - "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5996, - "end": 5997, - "loc": { - "start": { - "line": 191, - "column": 42 - }, - "end": { - "line": 191, - "column": 43 - } - } - }, - { - "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": 5998, - "end": 6002, - "loc": { - "start": { - "line": 191, - "column": 44 - }, - "end": { - "line": 191, - "column": 48 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6002, - "end": 6003, - "loc": { - "start": { - "line": 191, - "column": 48 - }, - "end": { - "line": 191, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "height", - "start": 6003, - "end": 6009, - "loc": { - "start": { - "line": 191, - "column": 49 - }, - "end": { - "line": 191, - "column": 55 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6010, - "end": 6011, - "loc": { - "start": { - "line": 191, - "column": 56 - }, - "end": { - "line": 191, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6011, - "end": 6012, - "loc": { - "start": { - "line": 191, - "column": 57 - }, - "end": { - "line": 191, - "column": 58 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6018, - "end": 6019, - "loc": { - "start": { - "line": 192, - "column": 4 - }, - "end": { - "line": 192, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Sets the data url of this icon.\r\n * @param {DataURL} pDataURL - The base64 data of this image.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6025, - "end": 6188, - "loc": { - "start": { - "line": 193, - "column": 4 - }, - "end": { - "line": 197, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDataURL", - "start": 6194, - "end": 6204, - "loc": { - "start": { - "line": 198, - "column": 4 - }, - "end": { - "line": 198, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6204, - "end": 6205, - "loc": { - "start": { - "line": 198, - "column": 14 - }, - "end": { - "line": 198, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDataURL", - "start": 6205, - "end": 6213, - "loc": { - "start": { - "line": 198, - "column": 15 - }, - "end": { - "line": 198, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6213, - "end": 6214, - "loc": { - "start": { - "line": 198, - "column": 23 - }, - "end": { - "line": 198, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6215, - "end": 6216, - "loc": { - "start": { - "line": 198, - "column": 25 - }, - "end": { - "line": 198, - "column": 26 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 6226, - "end": 6228, - "loc": { - "start": { - "line": 199, - "column": 8 - }, - "end": { - "line": 199, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6229, - "end": 6230, - "loc": { - "start": { - "line": 199, - "column": 11 - }, - "end": { - "line": 199, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDataURL", - "start": 6230, - "end": 6238, - "loc": { - "start": { - "line": 199, - "column": 12 - }, - "end": { - "line": 199, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6238, - "end": 6239, - "loc": { - "start": { - "line": 199, - "column": 20 - }, - "end": { - "line": 199, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6240, - "end": 6241, - "loc": { - "start": { - "line": 199, - "column": 22 - }, - "end": { - "line": 199, - "column": 23 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 6255, - "end": 6257, - "loc": { - "start": { - "line": 200, - "column": 12 - }, - "end": { - "line": 200, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6258, - "end": 6259, - "loc": { - "start": { - "line": 200, - "column": 15 - }, - "end": { - "line": 200, - "column": 16 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 6259, - "end": 6265, - "loc": { - "start": { - "line": 200, - "column": 16 - }, - "end": { - "line": 200, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6265, - "end": 6266, - "loc": { - "start": { - "line": 200, - "column": 22 - }, - "end": { - "line": 200, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDataURL", - "start": 6266, - "end": 6274, - "loc": { - "start": { - "line": 200, - "column": 23 - }, - "end": { - "line": 200, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6274, - "end": 6275, - "loc": { - "start": { - "line": 200, - "column": 31 - }, - "end": { - "line": 200, - "column": 32 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 6276, - "end": 6279, - "loc": { - "start": { - "line": 200, - "column": 33 - }, - "end": { - "line": 200, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "string", - "start": 6280, - "end": 6288, - "loc": { - "start": { - "line": 200, - "column": 37 - }, - "end": { - "line": 200, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6288, - "end": 6289, - "loc": { - "start": { - "line": 200, - "column": 45 - }, - "end": { - "line": 200, - "column": 46 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6290, - "end": 6291, - "loc": { - "start": { - "line": 200, - "column": 47 - }, - "end": { - "line": 200, - "column": 48 - } - } - }, - { - "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": 6309, - "end": 6313, - "loc": { - "start": { - "line": 201, - "column": 16 - }, - "end": { - "line": 201, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6313, - "end": 6314, - "loc": { - "start": { - "line": 201, - "column": 20 - }, - "end": { - "line": 201, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "dataURL", - "start": 6314, - "end": 6321, - "loc": { - "start": { - "line": 201, - "column": 21 - }, - "end": { - "line": 201, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 6322, - "end": 6323, - "loc": { - "start": { - "line": 201, - "column": 29 - }, - "end": { - "line": 201, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDataURL", - "start": 6324, - "end": 6332, - "loc": { - "start": { - "line": 201, - "column": 31 - }, - "end": { - "line": 201, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6332, - "end": 6333, - "loc": { - "start": { - "line": 201, - "column": 39 - }, - "end": { - "line": 201, - "column": 40 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6347, - "end": 6348, - "loc": { - "start": { - "line": 202, - "column": 12 - }, - "end": { - "line": 202, - "column": 13 - } - } - }, - { - "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": 6349, - "end": 6353, - "loc": { - "start": { - "line": 202, - "column": 14 - }, - "end": { - "line": 202, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6354, - "end": 6355, - "loc": { - "start": { - "line": 202, - "column": 19 - }, - "end": { - "line": 202, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 6373, - "end": 6376, - "loc": { - "start": { - "line": 203, - "column": 16 - }, - "end": { - "line": 203, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6376, - "end": 6377, - "loc": { - "start": { - "line": 203, - "column": 19 - }, - "end": { - "line": 203, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 6377, - "end": 6383, - "loc": { - "start": { - "line": 203, - "column": 20 - }, - "end": { - "line": 203, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6383, - "end": 6384, - "loc": { - "start": { - "line": 203, - "column": 26 - }, - "end": { - "line": 203, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 6384, - "end": 6390, - "loc": { - "start": { - "line": 203, - "column": 27 - }, - "end": { - "line": 203, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6390, - "end": 6391, - "loc": { - "start": { - "line": 203, - "column": 33 - }, - "end": { - "line": 203, - "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": 6391, - "end": 6403, - "loc": { - "start": { - "line": 203, - "column": 34 - }, - "end": { - "line": 203, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6403, - "end": 6404, - "loc": { - "start": { - "line": 203, - "column": 46 - }, - "end": { - "line": 203, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6404, - "end": 6405, - "loc": { - "start": { - "line": 203, - "column": 47 - }, - "end": { - "line": 203, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 6405, - "end": 6410, - "loc": { - "start": { - "line": 203, - "column": 48 - }, - "end": { - "line": 203, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6410, - "end": 6411, - "loc": { - "start": { - "line": 203, - "column": 53 - }, - "end": { - "line": 203, - "column": 54 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid data url type!", - "start": 6411, - "end": 6435, - "loc": { - "start": { - "line": 203, - "column": 54 - }, - "end": { - "line": 203, - "column": 78 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6435, - "end": 6436, - "loc": { - "start": { - "line": 203, - "column": 78 - }, - "end": { - "line": 203, - "column": 79 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6436, - "end": 6437, - "loc": { - "start": { - "line": 203, - "column": 79 - }, - "end": { - "line": 203, - "column": 80 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6451, - "end": 6452, - "loc": { - "start": { - "line": 204, - "column": 12 - }, - "end": { - "line": 204, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6462, - "end": 6463, - "loc": { - "start": { - "line": 205, - "column": 8 - }, - "end": { - "line": 205, - "column": 9 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 6473, - "end": 6479, - "loc": { - "start": { - "line": 206, - "column": 8 - }, - "end": { - "line": 206, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 6480, - "end": 6484, - "loc": { - "start": { - "line": 206, - "column": 15 - }, - "end": { - "line": 206, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6484, - "end": 6485, - "loc": { - "start": { - "line": 206, - "column": 19 - }, - "end": { - "line": 206, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6491, - "end": 6492, - "loc": { - "start": { - "line": 207, - "column": 4 - }, - "end": { - "line": 207, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the data URL of this icon.\r\n * @returns {DataURL} - The base64 data of this image.\r\n ", - "start": 6498, - "end": 6610, - "loc": { - "start": { - "line": 208, - "column": 4 - }, - "end": { - "line": 211, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDataURL", - "start": 6616, - "end": 6626, - "loc": { - "start": { - "line": 212, - "column": 4 - }, - "end": { - "line": 212, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6626, - "end": 6627, - "loc": { - "start": { - "line": 212, - "column": 14 - }, - "end": { - "line": 212, - "column": 15 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6627, - "end": 6628, - "loc": { - "start": { - "line": 212, - "column": 15 - }, - "end": { - "line": 212, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6629, - "end": 6630, - "loc": { - "start": { - "line": 212, - "column": 17 - }, - "end": { - "line": 212, - "column": 18 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 6640, - "end": 6646, - "loc": { - "start": { - "line": 213, - "column": 8 - }, - "end": { - "line": 213, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 6647, - "end": 6651, - "loc": { - "start": { - "line": 213, - "column": 15 - }, - "end": { - "line": 213, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6651, - "end": 6652, - "loc": { - "start": { - "line": 213, - "column": 19 - }, - "end": { - "line": 213, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "dataURL", - "start": 6652, - "end": 6659, - "loc": { - "start": { - "line": 213, - "column": 20 - }, - "end": { - "line": 213, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6659, - "end": 6660, - "loc": { - "start": { - "line": 213, - "column": 27 - }, - "end": { - "line": 213, - "column": 28 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6666, - "end": 6667, - "loc": { - "start": { - "line": 214, - "column": 4 - }, - "end": { - "line": 214, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Sets the frame delay of this icon.\r\n * @param {number} pDelay - The delay to set this frame to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 6673, - "end": 6837, - "loc": { - "start": { - "line": 215, - "column": 4 - }, - "end": { - "line": 219, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDelay", - "start": 6843, - "end": 6851, - "loc": { - "start": { - "line": 220, - "column": 4 - }, - "end": { - "line": 220, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6851, - "end": 6852, - "loc": { - "start": { - "line": 220, - "column": 12 - }, - "end": { - "line": 220, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 6852, - "end": 6858, - "loc": { - "start": { - "line": 220, - "column": 13 - }, - "end": { - "line": 220, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6858, - "end": 6859, - "loc": { - "start": { - "line": 220, - "column": 19 - }, - "end": { - "line": 220, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6860, - "end": 6861, - "loc": { - "start": { - "line": 220, - "column": 21 - }, - "end": { - "line": 220, - "column": 22 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 6871, - "end": 6873, - "loc": { - "start": { - "line": 221, - "column": 8 - }, - "end": { - "line": 221, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6874, - "end": 6875, - "loc": { - "start": { - "line": 221, - "column": 11 - }, - "end": { - "line": 221, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 6875, - "end": 6881, - "loc": { - "start": { - "line": 221, - "column": 12 - }, - "end": { - "line": 221, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6881, - "end": 6882, - "loc": { - "start": { - "line": 221, - "column": 18 - }, - "end": { - "line": 221, - "column": 19 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6883, - "end": 6884, - "loc": { - "start": { - "line": 221, - "column": 20 - }, - "end": { - "line": 221, - "column": 21 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 6898, - "end": 6900, - "loc": { - "start": { - "line": 222, - "column": 12 - }, - "end": { - "line": 222, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6901, - "end": 6902, - "loc": { - "start": { - "line": 222, - "column": 15 - }, - "end": { - "line": 222, - "column": 16 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 6902, - "end": 6908, - "loc": { - "start": { - "line": 222, - "column": 16 - }, - "end": { - "line": 222, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6908, - "end": 6909, - "loc": { - "start": { - "line": 222, - "column": 22 - }, - "end": { - "line": 222, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 6909, - "end": 6915, - "loc": { - "start": { - "line": 222, - "column": 23 - }, - "end": { - "line": 222, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6915, - "end": 6916, - "loc": { - "start": { - "line": 222, - "column": 29 - }, - "end": { - "line": 222, - "column": 30 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 6917, - "end": 6920, - "loc": { - "start": { - "line": 222, - "column": 31 - }, - "end": { - "line": 222, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "number", - "start": 6921, - "end": 6929, - "loc": { - "start": { - "line": 222, - "column": 35 - }, - "end": { - "line": 222, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6929, - "end": 6930, - "loc": { - "start": { - "line": 222, - "column": 43 - }, - "end": { - "line": 222, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6931, - "end": 6932, - "loc": { - "start": { - "line": 222, - "column": 45 - }, - "end": { - "line": 222, - "column": 46 - } - } - }, - { - "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": 6950, - "end": 6954, - "loc": { - "start": { - "line": 223, - "column": 16 - }, - "end": { - "line": 223, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6954, - "end": 6955, - "loc": { - "start": { - "line": 223, - "column": 20 - }, - "end": { - "line": 223, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "delay", - "start": 6955, - "end": 6960, - "loc": { - "start": { - "line": 223, - "column": 21 - }, - "end": { - "line": 223, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 6961, - "end": 6962, - "loc": { - "start": { - "line": 223, - "column": 27 - }, - "end": { - "line": 223, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 6963, - "end": 6969, - "loc": { - "start": { - "line": 223, - "column": 29 - }, - "end": { - "line": 223, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6969, - "end": 6970, - "loc": { - "start": { - "line": 223, - "column": 35 - }, - "end": { - "line": 223, - "column": 36 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6984, - "end": 6985, - "loc": { - "start": { - "line": 224, - "column": 12 - }, - "end": { - "line": 224, - "column": 13 - } - } - }, - { - "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": 6986, - "end": 6990, - "loc": { - "start": { - "line": 224, - "column": 14 - }, - "end": { - "line": 224, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6991, - "end": 6992, - "loc": { - "start": { - "line": 224, - "column": 19 - }, - "end": { - "line": 224, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 7010, - "end": 7013, - "loc": { - "start": { - "line": 225, - "column": 16 - }, - "end": { - "line": 225, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7013, - "end": 7014, - "loc": { - "start": { - "line": 225, - "column": 19 - }, - "end": { - "line": 225, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 7014, - "end": 7020, - "loc": { - "start": { - "line": 225, - "column": 20 - }, - "end": { - "line": 225, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7020, - "end": 7021, - "loc": { - "start": { - "line": 225, - "column": 26 - }, - "end": { - "line": 225, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 7021, - "end": 7027, - "loc": { - "start": { - "line": 225, - "column": 27 - }, - "end": { - "line": 225, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7027, - "end": 7028, - "loc": { - "start": { - "line": 225, - "column": 33 - }, - "end": { - "line": 225, - "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": 7028, - "end": 7040, - "loc": { - "start": { - "line": 225, - "column": 34 - }, - "end": { - "line": 225, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7040, - "end": 7041, - "loc": { - "start": { - "line": 225, - "column": 46 - }, - "end": { - "line": 225, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7041, - "end": 7042, - "loc": { - "start": { - "line": 225, - "column": 47 - }, - "end": { - "line": 225, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 7042, - "end": 7047, - "loc": { - "start": { - "line": 225, - "column": 48 - }, - "end": { - "line": 225, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7047, - "end": 7048, - "loc": { - "start": { - "line": 225, - "column": 53 - }, - "end": { - "line": 225, - "column": 54 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid delay type!", - "start": 7048, - "end": 7069, - "loc": { - "start": { - "line": 225, - "column": 54 - }, - "end": { - "line": 225, - "column": 75 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7069, - "end": 7070, - "loc": { - "start": { - "line": 225, - "column": 75 - }, - "end": { - "line": 225, - "column": 76 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7070, - "end": 7071, - "loc": { - "start": { - "line": 225, - "column": 76 - }, - "end": { - "line": 225, - "column": 77 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7085, - "end": 7086, - "loc": { - "start": { - "line": 226, - "column": 12 - }, - "end": { - "line": 226, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7096, - "end": 7097, - "loc": { - "start": { - "line": 227, - "column": 8 - }, - "end": { - "line": 227, - "column": 9 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 7107, - "end": 7113, - "loc": { - "start": { - "line": 228, - "column": 8 - }, - "end": { - "line": 228, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 7114, - "end": 7118, - "loc": { - "start": { - "line": 228, - "column": 15 - }, - "end": { - "line": 228, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7118, - "end": 7119, - "loc": { - "start": { - "line": 228, - "column": 19 - }, - "end": { - "line": 228, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7125, - "end": 7126, - "loc": { - "start": { - "line": 229, - "column": 4 - }, - "end": { - "line": 229, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the delay of this icon.\r\n * @returns {number} The delay of this icon.\r\n ", - "start": 7132, - "end": 7231, - "loc": { - "start": { - "line": 230, - "column": 4 - }, - "end": { - "line": 233, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDelay", - "start": 7237, - "end": 7245, - "loc": { - "start": { - "line": 234, - "column": 4 - }, - "end": { - "line": 234, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7245, - "end": 7246, - "loc": { - "start": { - "line": 234, - "column": 12 - }, - "end": { - "line": 234, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7246, - "end": 7247, - "loc": { - "start": { - "line": 234, - "column": 13 - }, - "end": { - "line": 234, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7248, - "end": 7249, - "loc": { - "start": { - "line": 234, - "column": 15 - }, - "end": { - "line": 234, - "column": 16 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 7259, - "end": 7265, - "loc": { - "start": { - "line": 235, - "column": 8 - }, - "end": { - "line": 235, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 7266, - "end": 7270, - "loc": { - "start": { - "line": 235, - "column": 15 - }, - "end": { - "line": 235, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7270, - "end": 7271, - "loc": { - "start": { - "line": 235, - "column": 19 - }, - "end": { - "line": 235, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "delay", - "start": 7271, - "end": 7276, - "loc": { - "start": { - "line": 235, - "column": 20 - }, - "end": { - "line": 235, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7276, - "end": 7277, - "loc": { - "start": { - "line": 235, - "column": 25 - }, - "end": { - "line": 235, - "column": 26 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7283, - "end": 7284, - "loc": { - "start": { - "line": 236, - "column": 4 - }, - "end": { - "line": 236, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Changes the name of this icon.\r\n * @param {string} pName - The new name of the icon.\r\n * @returns {self} This icon instance.\r\n ", - "start": 7290, - "end": 7443, - "loc": { - "start": { - "line": 237, - "column": 4 - }, - "end": { - "line": 241, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "rename", - "start": 7449, - "end": 7455, - "loc": { - "start": { - "line": 242, - "column": 4 - }, - "end": { - "line": 242, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7455, - "end": 7456, - "loc": { - "start": { - "line": 242, - "column": 10 - }, - "end": { - "line": 242, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 7456, - "end": 7461, - "loc": { - "start": { - "line": 242, - "column": 11 - }, - "end": { - "line": 242, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7461, - "end": 7462, - "loc": { - "start": { - "line": 242, - "column": 16 - }, - "end": { - "line": 242, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7463, - "end": 7464, - "loc": { - "start": { - "line": 242, - "column": 18 - }, - "end": { - "line": 242, - "column": 19 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 7474, - "end": 7476, - "loc": { - "start": { - "line": 243, - "column": 8 - }, - "end": { - "line": 243, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7477, - "end": 7478, - "loc": { - "start": { - "line": 243, - "column": 11 - }, - "end": { - "line": 243, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 7478, - "end": 7483, - "loc": { - "start": { - "line": 243, - "column": 12 - }, - "end": { - "line": 243, - "column": 17 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 7484, - "end": 7486, - "loc": { - "start": { - "line": 243, - "column": 18 - }, - "end": { - "line": 243, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 7487, - "end": 7492, - "loc": { - "start": { - "line": 243, - "column": 21 - }, - "end": { - "line": 243, - "column": 26 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 7493, - "end": 7496, - "loc": { - "start": { - "line": 243, - "column": 27 - }, - "end": { - "line": 243, - "column": 30 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 7497, - "end": 7499, - "loc": { - "start": { - "line": 243, - "column": 31 - }, - "end": { - "line": 243, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7499, - "end": 7500, - "loc": { - "start": { - "line": 243, - "column": 33 - }, - "end": { - "line": 243, - "column": 34 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7501, - "end": 7502, - "loc": { - "start": { - "line": 243, - "column": 35 - }, - "end": { - "line": 243, - "column": 36 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 7516, - "end": 7518, - "loc": { - "start": { - "line": 244, - "column": 12 - }, - "end": { - "line": 244, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7519, - "end": 7520, - "loc": { - "start": { - "line": 244, - "column": 15 - }, - "end": { - "line": 244, - "column": 16 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 7520, - "end": 7526, - "loc": { - "start": { - "line": 244, - "column": 16 - }, - "end": { - "line": 244, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7526, - "end": 7527, - "loc": { - "start": { - "line": 244, - "column": 22 - }, - "end": { - "line": 244, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 7527, - "end": 7532, - "loc": { - "start": { - "line": 244, - "column": 23 - }, - "end": { - "line": 244, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7532, - "end": 7533, - "loc": { - "start": { - "line": 244, - "column": 28 - }, - "end": { - "line": 244, - "column": 29 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 7534, - "end": 7537, - "loc": { - "start": { - "line": 244, - "column": 30 - }, - "end": { - "line": 244, - "column": 33 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "string", - "start": 7538, - "end": 7546, - "loc": { - "start": { - "line": 244, - "column": 34 - }, - "end": { - "line": 244, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7546, - "end": 7547, - "loc": { - "start": { - "line": 244, - "column": 42 - }, - "end": { - "line": 244, - "column": 43 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7548, - "end": 7549, - "loc": { - "start": { - "line": 244, - "column": 44 - }, - "end": { - "line": 244, - "column": 45 - } - } - }, - { - "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": 7567, - "end": 7571, - "loc": { - "start": { - "line": 245, - "column": 16 - }, - "end": { - "line": 245, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7571, - "end": 7572, - "loc": { - "start": { - "line": 245, - "column": 20 - }, - "end": { - "line": 245, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 7572, - "end": 7576, - "loc": { - "start": { - "line": 245, - "column": 21 - }, - "end": { - "line": 245, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 7577, - "end": 7578, - "loc": { - "start": { - "line": 245, - "column": 26 - }, - "end": { - "line": 245, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 7579, - "end": 7584, - "loc": { - "start": { - "line": 245, - "column": 28 - }, - "end": { - "line": 245, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7584, - "end": 7585, - "loc": { - "start": { - "line": 245, - "column": 33 - }, - "end": { - "line": 245, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7599, - "end": 7600, - "loc": { - "start": { - "line": 246, - "column": 12 - }, - "end": { - "line": 246, - "column": 13 - } - } - }, - { - "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": 7601, - "end": 7605, - "loc": { - "start": { - "line": 246, - "column": 14 - }, - "end": { - "line": 246, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7606, - "end": 7607, - "loc": { - "start": { - "line": 246, - "column": 19 - }, - "end": { - "line": 246, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 7625, - "end": 7628, - "loc": { - "start": { - "line": 247, - "column": 16 - }, - "end": { - "line": 247, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7628, - "end": 7629, - "loc": { - "start": { - "line": 247, - "column": 19 - }, - "end": { - "line": 247, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 7629, - "end": 7635, - "loc": { - "start": { - "line": 247, - "column": 20 - }, - "end": { - "line": 247, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7635, - "end": 7636, - "loc": { - "start": { - "line": 247, - "column": 26 - }, - "end": { - "line": 247, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 7636, - "end": 7642, - "loc": { - "start": { - "line": 247, - "column": 27 - }, - "end": { - "line": 247, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7642, - "end": 7643, - "loc": { - "start": { - "line": 247, - "column": 33 - }, - "end": { - "line": 247, - "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": 7643, - "end": 7655, - "loc": { - "start": { - "line": 247, - "column": 34 - }, - "end": { - "line": 247, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7655, - "end": 7656, - "loc": { - "start": { - "line": 247, - "column": 46 - }, - "end": { - "line": 247, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7656, - "end": 7657, - "loc": { - "start": { - "line": 247, - "column": 47 - }, - "end": { - "line": 247, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 7657, - "end": 7662, - "loc": { - "start": { - "line": 247, - "column": 48 - }, - "end": { - "line": 247, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7662, - "end": 7663, - "loc": { - "start": { - "line": 247, - "column": 53 - }, - "end": { - "line": 247, - "column": 54 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid type for pName!", - "start": 7663, - "end": 7688, - "loc": { - "start": { - "line": 247, - "column": 54 - }, - "end": { - "line": 247, - "column": 79 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7688, - "end": 7689, - "loc": { - "start": { - "line": 247, - "column": 79 - }, - "end": { - "line": 247, - "column": 80 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7689, - "end": 7690, - "loc": { - "start": { - "line": 247, - "column": 80 - }, - "end": { - "line": 247, - "column": 81 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7704, - "end": 7705, - "loc": { - "start": { - "line": 248, - "column": 12 - }, - "end": { - "line": 248, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7715, - "end": 7716, - "loc": { - "start": { - "line": 249, - "column": 8 - }, - "end": { - "line": 249, - "column": 9 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 7726, - "end": 7732, - "loc": { - "start": { - "line": 250, - "column": 8 - }, - "end": { - "line": 250, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 7733, - "end": 7737, - "loc": { - "start": { - "line": 250, - "column": 15 - }, - "end": { - "line": 250, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7737, - "end": 7738, - "loc": { - "start": { - "line": 250, - "column": 19 - }, - "end": { - "line": 250, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7744, - "end": 7745, - "loc": { - "start": { - "line": 251, - "column": 4 - }, - "end": { - "line": 251, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Returns the name of this icon.\r\n * @returns {string} The name of this icon.\r\n ", - "start": 7751, - "end": 7851, - "loc": { - "start": { - "line": 252, - "column": 4 - }, - "end": { - "line": 255, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getName", - "start": 7857, - "end": 7864, - "loc": { - "start": { - "line": 256, - "column": 4 - }, - "end": { - "line": 256, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7864, - "end": 7865, - "loc": { - "start": { - "line": 256, - "column": 11 - }, - "end": { - "line": 256, - "column": 12 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7865, - "end": 7866, - "loc": { - "start": { - "line": 256, - "column": 12 - }, - "end": { - "line": 256, - "column": 13 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7867, - "end": 7868, - "loc": { - "start": { - "line": 256, - "column": 14 - }, - "end": { - "line": 256, - "column": 15 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 7878, - "end": 7884, - "loc": { - "start": { - "line": 257, - "column": 8 - }, - "end": { - "line": 257, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 7885, - "end": 7889, - "loc": { - "start": { - "line": 257, - "column": 15 - }, - "end": { - "line": 257, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7889, - "end": 7890, - "loc": { - "start": { - "line": 257, - "column": 19 - }, - "end": { - "line": 257, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 7890, - "end": 7894, - "loc": { - "start": { - "line": 257, - "column": 20 - }, - "end": { - "line": 257, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 7894, - "end": 7895, - "loc": { - "start": { - "line": 257, - "column": 24 - }, - "end": { - "line": 257, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7901, - "end": 7902, - "loc": { - "start": { - "line": 258, - "column": 4 - }, - "end": { - "line": 258, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Sets all the frames belonging to this icon to the same delay.\r\n * @param {number} pDelay - The delay to set all frames to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 7908, - "end": 8099, - "loc": { - "start": { - "line": 259, - "column": 4 - }, - "end": { - "line": 263, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setAllFrameDelays", - "start": 8105, - "end": 8122, - "loc": { - "start": { - "line": 264, - "column": 4 - }, - "end": { - "line": 264, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8122, - "end": 8123, - "loc": { - "start": { - "line": 264, - "column": 21 - }, - "end": { - "line": 264, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 8123, - "end": 8129, - "loc": { - "start": { - "line": 264, - "column": 22 - }, - "end": { - "line": 264, - "column": 28 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8129, - "end": 8130, - "loc": { - "start": { - "line": 264, - "column": 28 - }, - "end": { - "line": 264, - "column": 29 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8131, - "end": 8132, - "loc": { - "start": { - "line": 264, - "column": 30 - }, - "end": { - "line": 264, - "column": 31 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 8142, - "end": 8144, - "loc": { - "start": { - "line": 265, - "column": 8 - }, - "end": { - "line": 265, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8145, - "end": 8146, - "loc": { - "start": { - "line": 265, - "column": 11 - }, - "end": { - "line": 265, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 8146, - "end": 8152, - "loc": { - "start": { - "line": 265, - "column": 12 - }, - "end": { - "line": 265, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8152, - "end": 8153, - "loc": { - "start": { - "line": 265, - "column": 18 - }, - "end": { - "line": 265, - "column": 19 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8154, - "end": 8155, - "loc": { - "start": { - "line": 265, - "column": 20 - }, - "end": { - "line": 265, - "column": 21 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 8169, - "end": 8171, - "loc": { - "start": { - "line": 266, - "column": 12 - }, - "end": { - "line": 266, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8172, - "end": 8173, - "loc": { - "start": { - "line": 266, - "column": 15 - }, - "end": { - "line": 266, - "column": 16 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 8173, - "end": 8179, - "loc": { - "start": { - "line": 266, - "column": 16 - }, - "end": { - "line": 266, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8179, - "end": 8180, - "loc": { - "start": { - "line": 266, - "column": 22 - }, - "end": { - "line": 266, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 8180, - "end": 8186, - "loc": { - "start": { - "line": 266, - "column": 23 - }, - "end": { - "line": 266, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8186, - "end": 8187, - "loc": { - "start": { - "line": 266, - "column": 29 - }, - "end": { - "line": 266, - "column": 30 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 8188, - "end": 8191, - "loc": { - "start": { - "line": 266, - "column": 31 - }, - "end": { - "line": 266, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "number", - "start": 8192, - "end": 8200, - "loc": { - "start": { - "line": 266, - "column": 35 - }, - "end": { - "line": 266, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8200, - "end": 8201, - "loc": { - "start": { - "line": 266, - "column": 43 - }, - "end": { - "line": 266, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8202, - "end": 8203, - "loc": { - "start": { - "line": 266, - "column": 45 - }, - "end": { - "line": 266, - "column": 46 - } - } - }, - { - "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": 8221, - "end": 8225, - "loc": { - "start": { - "line": 267, - "column": 16 - }, - "end": { - "line": 267, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8225, - "end": 8226, - "loc": { - "start": { - "line": 267, - "column": 20 - }, - "end": { - "line": 267, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDelay", - "start": 8226, - "end": 8234, - "loc": { - "start": { - "line": 267, - "column": 21 - }, - "end": { - "line": 267, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8234, - "end": 8235, - "loc": { - "start": { - "line": 267, - "column": 29 - }, - "end": { - "line": 267, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 8235, - "end": 8241, - "loc": { - "start": { - "line": 267, - "column": 30 - }, - "end": { - "line": 267, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8241, - "end": 8242, - "loc": { - "start": { - "line": 267, - "column": 36 - }, - "end": { - "line": 267, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8242, - "end": 8243, - "loc": { - "start": { - "line": 267, - "column": 37 - }, - "end": { - "line": 267, - "column": 38 - } - } - }, - { - "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": 8261, - "end": 8265, - "loc": { - "start": { - "line": 268, - "column": 16 - }, - "end": { - "line": 268, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8265, - "end": 8266, - "loc": { - "start": { - "line": 268, - "column": 20 - }, - "end": { - "line": 268, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 8266, - "end": 8272, - "loc": { - "start": { - "line": 268, - "column": 21 - }, - "end": { - "line": 268, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8272, - "end": 8273, - "loc": { - "start": { - "line": 268, - "column": 27 - }, - "end": { - "line": 268, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 8273, - "end": 8280, - "loc": { - "start": { - "line": 268, - "column": 28 - }, - "end": { - "line": 268, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8280, - "end": 8281, - "loc": { - "start": { - "line": 268, - "column": 35 - }, - "end": { - "line": 268, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8281, - "end": 8282, - "loc": { - "start": { - "line": 268, - "column": 36 - }, - "end": { - "line": 268, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 8282, - "end": 8288, - "loc": { - "start": { - "line": 268, - "column": 37 - }, - "end": { - "line": 268, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8288, - "end": 8289, - "loc": { - "start": { - "line": 268, - "column": 43 - }, - "end": { - "line": 268, - "column": 44 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8290, - "end": 8292, - "loc": { - "start": { - "line": 268, - "column": 45 - }, - "end": { - "line": 268, - "column": 47 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8293, - "end": 8294, - "loc": { - "start": { - "line": 268, - "column": 48 - }, - "end": { - "line": 268, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 8316, - "end": 8322, - "loc": { - "start": { - "line": 269, - "column": 20 - }, - "end": { - "line": 269, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8322, - "end": 8323, - "loc": { - "start": { - "line": 269, - "column": 26 - }, - "end": { - "line": 269, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDelay", - "start": 8323, - "end": 8331, - "loc": { - "start": { - "line": 269, - "column": 27 - }, - "end": { - "line": 269, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8331, - "end": 8332, - "loc": { - "start": { - "line": 269, - "column": 35 - }, - "end": { - "line": 269, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pDelay", - "start": 8332, - "end": 8338, - "loc": { - "start": { - "line": 269, - "column": 36 - }, - "end": { - "line": 269, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8338, - "end": 8339, - "loc": { - "start": { - "line": 269, - "column": 42 - }, - "end": { - "line": 269, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8339, - "end": 8340, - "loc": { - "start": { - "line": 269, - "column": 43 - }, - "end": { - "line": 269, - "column": 44 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8358, - "end": 8359, - "loc": { - "start": { - "line": 270, - "column": 16 - }, - "end": { - "line": 270, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8359, - "end": 8360, - "loc": { - "start": { - "line": 270, - "column": 17 - }, - "end": { - "line": 270, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8360, - "end": 8361, - "loc": { - "start": { - "line": 270, - "column": 18 - }, - "end": { - "line": 270, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8375, - "end": 8376, - "loc": { - "start": { - "line": 271, - "column": 12 - }, - "end": { - "line": 271, - "column": 13 - } - } - }, - { - "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": 8377, - "end": 8381, - "loc": { - "start": { - "line": 271, - "column": 14 - }, - "end": { - "line": 271, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8382, - "end": 8383, - "loc": { - "start": { - "line": 271, - "column": 19 - }, - "end": { - "line": 271, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 8401, - "end": 8404, - "loc": { - "start": { - "line": 272, - "column": 16 - }, - "end": { - "line": 272, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8404, - "end": 8405, - "loc": { - "start": { - "line": 272, - "column": 19 - }, - "end": { - "line": 272, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 8405, - "end": 8411, - "loc": { - "start": { - "line": 272, - "column": 20 - }, - "end": { - "line": 272, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8411, - "end": 8412, - "loc": { - "start": { - "line": 272, - "column": 26 - }, - "end": { - "line": 272, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 8412, - "end": 8418, - "loc": { - "start": { - "line": 272, - "column": 27 - }, - "end": { - "line": 272, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8418, - "end": 8419, - "loc": { - "start": { - "line": 272, - "column": 33 - }, - "end": { - "line": 272, - "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": 8419, - "end": 8431, - "loc": { - "start": { - "line": 272, - "column": 34 - }, - "end": { - "line": 272, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8431, - "end": 8432, - "loc": { - "start": { - "line": 272, - "column": 46 - }, - "end": { - "line": 272, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8432, - "end": 8433, - "loc": { - "start": { - "line": 272, - "column": 47 - }, - "end": { - "line": 272, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 8433, - "end": 8438, - "loc": { - "start": { - "line": 272, - "column": 48 - }, - "end": { - "line": 272, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8438, - "end": 8439, - "loc": { - "start": { - "line": 272, - "column": 53 - }, - "end": { - "line": 272, - "column": 54 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid type for pDelay!", - "start": 8439, - "end": 8465, - "loc": { - "start": { - "line": 272, - "column": 54 - }, - "end": { - "line": 272, - "column": 80 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8465, - "end": 8466, - "loc": { - "start": { - "line": 272, - "column": 80 - }, - "end": { - "line": 272, - "column": 81 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8466, - "end": 8467, - "loc": { - "start": { - "line": 272, - "column": 81 - }, - "end": { - "line": 272, - "column": 82 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8481, - "end": 8482, - "loc": { - "start": { - "line": 273, - "column": 12 - }, - "end": { - "line": 273, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8492, - "end": 8493, - "loc": { - "start": { - "line": 274, - "column": 8 - }, - "end": { - "line": 274, - "column": 9 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 8503, - "end": 8509, - "loc": { - "start": { - "line": 275, - "column": 8 - }, - "end": { - "line": 275, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 8510, - "end": 8514, - "loc": { - "start": { - "line": 275, - "column": 15 - }, - "end": { - "line": 275, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8514, - "end": 8515, - "loc": { - "start": { - "line": 275, - "column": 19 - }, - "end": { - "line": 275, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8521, - "end": 8522, - "loc": { - "start": { - "line": 276, - "column": 4 - }, - "end": { - "line": 276, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adds this icon data as a state. A state is also an icon.\r\n * @param {Object} pIconData - The data used to create this state icon.\r\n * @returns {Icon|undefined} The state that was added or undefined.\r\n ", - "start": 8528, - "end": 8755, - "loc": { - "start": { - "line": 277, - "column": 4 - }, - "end": { - "line": 281, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addState", - "start": 8761, - "end": 8769, - "loc": { - "start": { - "line": 282, - "column": 4 - }, - "end": { - "line": 282, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8769, - "end": 8770, - "loc": { - "start": { - "line": 282, - "column": 12 - }, - "end": { - "line": 282, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 8770, - "end": 8779, - "loc": { - "start": { - "line": 282, - "column": 13 - }, - "end": { - "line": 282, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8779, - "end": 8780, - "loc": { - "start": { - "line": 282, - "column": 22 - }, - "end": { - "line": 282, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8781, - "end": 8782, - "loc": { - "start": { - "line": 282, - "column": 24 - }, - "end": { - "line": 282, - "column": 25 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 8792, - "end": 8794, - "loc": { - "start": { - "line": 283, - "column": 8 - }, - "end": { - "line": 283, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8795, - "end": 8796, - "loc": { - "start": { - "line": 283, - "column": 11 - }, - "end": { - "line": 283, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 8796, - "end": 8805, - "loc": { - "start": { - "line": 283, - "column": 12 - }, - "end": { - "line": 283, - "column": 21 - } - } - }, - { - "type": { - "label": "instanceof", - "keyword": "instanceof", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": "instanceof", - "start": 8806, - "end": 8816, - "loc": { - "start": { - "line": 283, - "column": 22 - }, - "end": { - "line": 283, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Object", - "start": 8817, - "end": 8823, - "loc": { - "start": { - "line": 283, - "column": 33 - }, - "end": { - "line": 283, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8823, - "end": 8824, - "loc": { - "start": { - "line": 283, - "column": 39 - }, - "end": { - "line": 283, - "column": 40 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8825, - "end": 8826, - "loc": { - "start": { - "line": 283, - "column": 41 - }, - "end": { - "line": 283, - "column": 42 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 8840, - "end": 8845, - "loc": { - "start": { - "line": 284, - "column": 12 - }, - "end": { - "line": 284, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "state", - "start": 8846, - "end": 8851, - "loc": { - "start": { - "line": 284, - "column": 18 - }, - "end": { - "line": 284, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 8852, - "end": 8853, - "loc": { - "start": { - "line": 284, - "column": 24 - }, - "end": { - "line": 284, - "column": 25 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 8854, - "end": 8857, - "loc": { - "start": { - "line": 284, - "column": 26 - }, - "end": { - "line": 284, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Icon", - "start": 8858, - "end": 8862, - "loc": { - "start": { - "line": 284, - "column": 30 - }, - "end": { - "line": 284, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8862, - "end": 8863, - "loc": { - "start": { - "line": 284, - "column": 34 - }, - "end": { - "line": 284, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 8863, - "end": 8872, - "loc": { - "start": { - "line": 284, - "column": 35 - }, - "end": { - "line": 284, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8872, - "end": 8873, - "loc": { - "start": { - "line": 284, - "column": 44 - }, - "end": { - "line": 284, - "column": 45 - } - } - }, - { - "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": 8874, - "end": 8878, - "loc": { - "start": { - "line": 284, - "column": 46 - }, - "end": { - "line": 284, - "column": 50 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8878, - "end": 8879, - "loc": { - "start": { - "line": 284, - "column": 50 - }, - "end": { - "line": 284, - "column": 51 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 8879, - "end": 8882, - "loc": { - "start": { - "line": 284, - "column": 51 - }, - "end": { - "line": 284, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8882, - "end": 8883, - "loc": { - "start": { - "line": 284, - "column": 54 - }, - "end": { - "line": 284, - "column": 55 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8883, - "end": 8884, - "loc": { - "start": { - "line": 284, - "column": 55 - }, - "end": { - "line": 284, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "state", - "start": 8898, - "end": 8903, - "loc": { - "start": { - "line": 285, - "column": 12 - }, - "end": { - "line": 285, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8903, - "end": 8904, - "loc": { - "start": { - "line": 285, - "column": 17 - }, - "end": { - "line": 285, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parent", - "start": 8904, - "end": 8910, - "loc": { - "start": { - "line": 285, - "column": 18 - }, - "end": { - "line": 285, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 8911, - "end": 8912, - "loc": { - "start": { - "line": 285, - "column": 25 - }, - "end": { - "line": 285, - "column": 26 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 8913, - "end": 8917, - "loc": { - "start": { - "line": 285, - "column": 27 - }, - "end": { - "line": 285, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8917, - "end": 8918, - "loc": { - "start": { - "line": 285, - "column": 31 - }, - "end": { - "line": 285, - "column": 32 - } - } - }, - { - "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": 8932, - "end": 8936, - "loc": { - "start": { - "line": 286, - "column": 12 - }, - "end": { - "line": 286, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8936, - "end": 8937, - "loc": { - "start": { - "line": 286, - "column": 16 - }, - "end": { - "line": 286, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "states", - "start": 8937, - "end": 8943, - "loc": { - "start": { - "line": 286, - "column": 17 - }, - "end": { - "line": 286, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8943, - "end": 8944, - "loc": { - "start": { - "line": 286, - "column": 23 - }, - "end": { - "line": 286, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 8944, - "end": 8948, - "loc": { - "start": { - "line": 286, - "column": 24 - }, - "end": { - "line": 286, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8948, - "end": 8949, - "loc": { - "start": { - "line": 286, - "column": 28 - }, - "end": { - "line": 286, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "state", - "start": 8949, - "end": 8954, - "loc": { - "start": { - "line": 286, - "column": 29 - }, - "end": { - "line": 286, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8954, - "end": 8955, - "loc": { - "start": { - "line": 286, - "column": 34 - }, - "end": { - "line": 286, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8955, - "end": 8956, - "loc": { - "start": { - "line": 286, - "column": 35 - }, - "end": { - "line": 286, - "column": 36 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 8970, - "end": 8976, - "loc": { - "start": { - "line": 287, - "column": 12 - }, - "end": { - "line": 287, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "state", - "start": 8977, - "end": 8982, - "loc": { - "start": { - "line": 287, - "column": 19 - }, - "end": { - "line": 287, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 8982, - "end": 8983, - "loc": { - "start": { - "line": 287, - "column": 24 - }, - "end": { - "line": 287, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 8993, - "end": 8994, - "loc": { - "start": { - "line": 288, - "column": 8 - }, - "end": { - "line": 288, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9000, - "end": 9001, - "loc": { - "start": { - "line": 289, - "column": 4 - }, - "end": { - "line": 289, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "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": 9007, - "end": 9388, - "loc": { - "start": { - "line": 290, - "column": 4 - }, - "end": { - "line": 295, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "removeState", - "start": 9394, - "end": 9405, - "loc": { - "start": { - "line": 296, - "column": 4 - }, - "end": { - "line": 296, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9405, - "end": 9406, - "loc": { - "start": { - "line": 296, - "column": 15 - }, - "end": { - "line": 296, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pState", - "start": 9406, - "end": 9412, - "loc": { - "start": { - "line": 296, - "column": 16 - }, - "end": { - "line": 296, - "column": 22 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9412, - "end": 9413, - "loc": { - "start": { - "line": 296, - "column": 22 - }, - "end": { - "line": 296, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 9414, - "end": 9419, - "loc": { - "start": { - "line": 296, - "column": 24 - }, - "end": { - "line": 296, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9419, - "end": 9420, - "loc": { - "start": { - "line": 296, - "column": 29 - }, - "end": { - "line": 296, - "column": 30 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9421, - "end": 9422, - "loc": { - "start": { - "line": 296, - "column": 31 - }, - "end": { - "line": 296, - "column": 32 - } - } - }, - { - "type": "CommentLine", - "value": " The index used to remove this frame.", - "start": 9432, - "end": 9471, - "loc": { - "start": { - "line": 297, - "column": 8 - }, - "end": { - "line": 297, - "column": 47 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 9481, - "end": 9484, - "loc": { - "start": { - "line": 298, - "column": 8 - }, - "end": { - "line": 298, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 9485, - "end": 9490, - "loc": { - "start": { - "line": 298, - "column": 12 - }, - "end": { - "line": 298, - "column": 17 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9490, - "end": 9491, - "loc": { - "start": { - "line": 298, - "column": 17 - }, - "end": { - "line": 298, - "column": 18 - } - } - }, - { - "type": "CommentLine", - "value": " Remove via reference to state.", - "start": 9501, - "end": 9534, - "loc": { - "start": { - "line": 299, - "column": 8 - }, - "end": { - "line": 299, - "column": 41 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 9544, - "end": 9546, - "loc": { - "start": { - "line": 300, - "column": 8 - }, - "end": { - "line": 300, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9547, - "end": 9548, - "loc": { - "start": { - "line": 300, - "column": 11 - }, - "end": { - "line": 300, - "column": 12 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 9548, - "end": 9552, - "loc": { - "start": { - "line": 300, - "column": 12 - }, - "end": { - "line": 300, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9552, - "end": 9553, - "loc": { - "start": { - "line": 300, - "column": 16 - }, - "end": { - "line": 300, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "states", - "start": 9553, - "end": 9559, - "loc": { - "start": { - "line": 300, - "column": 17 - }, - "end": { - "line": 300, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9559, - "end": 9560, - "loc": { - "start": { - "line": 300, - "column": 23 - }, - "end": { - "line": 300, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 9560, - "end": 9568, - "loc": { - "start": { - "line": 300, - "column": 24 - }, - "end": { - "line": 300, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9568, - "end": 9569, - "loc": { - "start": { - "line": 300, - "column": 32 - }, - "end": { - "line": 300, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pState", - "start": 9569, - "end": 9575, - "loc": { - "start": { - "line": 300, - "column": 33 - }, - "end": { - "line": 300, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9575, - "end": 9576, - "loc": { - "start": { - "line": 300, - "column": 39 - }, - "end": { - "line": 300, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9576, - "end": 9577, - "loc": { - "start": { - "line": 300, - "column": 40 - }, - "end": { - "line": 300, - "column": 41 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9578, - "end": 9579, - "loc": { - "start": { - "line": 300, - "column": 42 - }, - "end": { - "line": 300, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 9593, - "end": 9598, - "loc": { - "start": { - "line": 301, - "column": 12 - }, - "end": { - "line": 301, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 9599, - "end": 9600, - "loc": { - "start": { - "line": 301, - "column": 18 - }, - "end": { - "line": 301, - "column": 19 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 9601, - "end": 9605, - "loc": { - "start": { - "line": 301, - "column": 20 - }, - "end": { - "line": 301, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9605, - "end": 9606, - "loc": { - "start": { - "line": 301, - "column": 24 - }, - "end": { - "line": 301, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "states", - "start": 9606, - "end": 9612, - "loc": { - "start": { - "line": 301, - "column": 25 - }, - "end": { - "line": 301, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9612, - "end": 9613, - "loc": { - "start": { - "line": 301, - "column": 31 - }, - "end": { - "line": 301, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "indexOf", - "start": 9613, - "end": 9620, - "loc": { - "start": { - "line": 301, - "column": 32 - }, - "end": { - "line": 301, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9620, - "end": 9621, - "loc": { - "start": { - "line": 301, - "column": 39 - }, - "end": { - "line": 301, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pState", - "start": 9621, - "end": 9627, - "loc": { - "start": { - "line": 301, - "column": 40 - }, - "end": { - "line": 301, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9627, - "end": 9628, - "loc": { - "start": { - "line": 301, - "column": 46 - }, - "end": { - "line": 301, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9628, - "end": 9629, - "loc": { - "start": { - "line": 301, - "column": 47 - }, - "end": { - "line": 301, - "column": 48 - } - } - }, - { - "type": "CommentLine", - "value": " Remove via reference to name", - "start": 9639, - "end": 9670, - "loc": { - "start": { - "line": 302, - "column": 8 - }, - "end": { - "line": 302, - "column": 39 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9680, - "end": 9681, - "loc": { - "start": { - "line": 303, - "column": 8 - }, - "end": { - "line": 303, - "column": 9 - } - } - }, - { - "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": 9682, - "end": 9686, - "loc": { - "start": { - "line": 303, - "column": 10 - }, - "end": { - "line": 303, - "column": 14 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 9687, - "end": 9689, - "loc": { - "start": { - "line": 303, - "column": 15 - }, - "end": { - "line": 303, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9690, - "end": 9691, - "loc": { - "start": { - "line": 303, - "column": 18 - }, - "end": { - "line": 303, - "column": 19 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 9691, - "end": 9697, - "loc": { - "start": { - "line": 303, - "column": 19 - }, - "end": { - "line": 303, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9697, - "end": 9698, - "loc": { - "start": { - "line": 303, - "column": 25 - }, - "end": { - "line": 303, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 9698, - "end": 9703, - "loc": { - "start": { - "line": 303, - "column": 26 - }, - "end": { - "line": 303, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9703, - "end": 9704, - "loc": { - "start": { - "line": 303, - "column": 31 - }, - "end": { - "line": 303, - "column": 32 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 9705, - "end": 9708, - "loc": { - "start": { - "line": 303, - "column": 33 - }, - "end": { - "line": 303, - "column": 36 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "string", - "start": 9709, - "end": 9717, - "loc": { - "start": { - "line": 303, - "column": 37 - }, - "end": { - "line": 303, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9717, - "end": 9718, - "loc": { - "start": { - "line": 303, - "column": 45 - }, - "end": { - "line": 303, - "column": 46 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9719, - "end": 9720, - "loc": { - "start": { - "line": 303, - "column": 47 - }, - "end": { - "line": 303, - "column": 48 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 9734, - "end": 9739, - "loc": { - "start": { - "line": 304, - "column": 12 - }, - "end": { - "line": 304, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "state", - "start": 9740, - "end": 9745, - "loc": { - "start": { - "line": 304, - "column": 18 - }, - "end": { - "line": 304, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 9746, - "end": 9747, - "loc": { - "start": { - "line": 304, - "column": 24 - }, - "end": { - "line": 304, - "column": 25 - } - } - }, - { - "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": 9748, - "end": 9752, - "loc": { - "start": { - "line": 304, - "column": 26 - }, - "end": { - "line": 304, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9752, - "end": 9753, - "loc": { - "start": { - "line": 304, - "column": 30 - }, - "end": { - "line": 304, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getState", - "start": 9753, - "end": 9761, - "loc": { - "start": { - "line": 304, - "column": 31 - }, - "end": { - "line": 304, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9761, - "end": 9762, - "loc": { - "start": { - "line": 304, - "column": 39 - }, - "end": { - "line": 304, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 9762, - "end": 9767, - "loc": { - "start": { - "line": 304, - "column": 40 - }, - "end": { - "line": 304, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9767, - "end": 9768, - "loc": { - "start": { - "line": 304, - "column": 45 - }, - "end": { - "line": 304, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9768, - "end": 9769, - "loc": { - "start": { - "line": 304, - "column": 46 - }, - "end": { - "line": 304, - "column": 47 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 9783, - "end": 9785, - "loc": { - "start": { - "line": 305, - "column": 12 - }, - "end": { - "line": 305, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9786, - "end": 9787, - "loc": { - "start": { - "line": 305, - "column": 15 - }, - "end": { - "line": 305, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "state", - "start": 9787, - "end": 9792, - "loc": { - "start": { - "line": 305, - "column": 16 - }, - "end": { - "line": 305, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9792, - "end": 9793, - "loc": { - "start": { - "line": 305, - "column": 21 - }, - "end": { - "line": 305, - "column": 22 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9794, - "end": 9795, - "loc": { - "start": { - "line": 305, - "column": 23 - }, - "end": { - "line": 305, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 9813, - "end": 9818, - "loc": { - "start": { - "line": 306, - "column": 16 - }, - "end": { - "line": 306, - "column": 21 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 9819, - "end": 9820, - "loc": { - "start": { - "line": 306, - "column": 22 - }, - "end": { - "line": 306, - "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": 9821, - "end": 9825, - "loc": { - "start": { - "line": 306, - "column": 24 - }, - "end": { - "line": 306, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9825, - "end": 9826, - "loc": { - "start": { - "line": 306, - "column": 28 - }, - "end": { - "line": 306, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "states", - "start": 9826, - "end": 9832, - "loc": { - "start": { - "line": 306, - "column": 29 - }, - "end": { - "line": 306, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9832, - "end": 9833, - "loc": { - "start": { - "line": 306, - "column": 35 - }, - "end": { - "line": 306, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "indexOf", - "start": 9833, - "end": 9840, - "loc": { - "start": { - "line": 306, - "column": 36 - }, - "end": { - "line": 306, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9840, - "end": 9841, - "loc": { - "start": { - "line": 306, - "column": 43 - }, - "end": { - "line": 306, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "state", - "start": 9841, - "end": 9846, - "loc": { - "start": { - "line": 306, - "column": 44 - }, - "end": { - "line": 306, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9846, - "end": 9847, - "loc": { - "start": { - "line": 306, - "column": 49 - }, - "end": { - "line": 306, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9847, - "end": 9848, - "loc": { - "start": { - "line": 306, - "column": 50 - }, - "end": { - "line": 306, - "column": 51 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9862, - "end": 9863, - "loc": { - "start": { - "line": 307, - "column": 12 - }, - "end": { - "line": 307, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9873, - "end": 9874, - "loc": { - "start": { - "line": 308, - "column": 8 - }, - "end": { - "line": 308, - "column": 9 - } - } - }, - { - "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": 9875, - "end": 9879, - "loc": { - "start": { - "line": 308, - "column": 10 - }, - "end": { - "line": 308, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9880, - "end": 9881, - "loc": { - "start": { - "line": 308, - "column": 15 - }, - "end": { - "line": 308, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 9895, - "end": 9898, - "loc": { - "start": { - "line": 309, - "column": 12 - }, - "end": { - "line": 309, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9898, - "end": 9899, - "loc": { - "start": { - "line": 309, - "column": 15 - }, - "end": { - "line": 309, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 9899, - "end": 9905, - "loc": { - "start": { - "line": 309, - "column": 16 - }, - "end": { - "line": 309, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9905, - "end": 9906, - "loc": { - "start": { - "line": 309, - "column": 22 - }, - "end": { - "line": 309, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 9906, - "end": 9912, - "loc": { - "start": { - "line": 309, - "column": 23 - }, - "end": { - "line": 309, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9912, - "end": 9913, - "loc": { - "start": { - "line": 309, - "column": 29 - }, - "end": { - "line": 309, - "column": 30 - } - } - }, - { - "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": 9913, - "end": 9925, - "loc": { - "start": { - "line": 309, - "column": 30 - }, - "end": { - "line": 309, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9925, - "end": 9926, - "loc": { - "start": { - "line": 309, - "column": 42 - }, - "end": { - "line": 309, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9926, - "end": 9927, - "loc": { - "start": { - "line": 309, - "column": 43 - }, - "end": { - "line": 309, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 9927, - "end": 9932, - "loc": { - "start": { - "line": 309, - "column": 44 - }, - "end": { - "line": 309, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9932, - "end": 9933, - "loc": { - "start": { - "line": 309, - "column": 49 - }, - "end": { - "line": 309, - "column": 50 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Failed to remove state!", - "start": 9933, - "end": 9958, - "loc": { - "start": { - "line": 309, - "column": 50 - }, - "end": { - "line": 309, - "column": 75 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9958, - "end": 9959, - "loc": { - "start": { - "line": 309, - "column": 75 - }, - "end": { - "line": 309, - "column": 76 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9959, - "end": 9960, - "loc": { - "start": { - "line": 309, - "column": 76 - }, - "end": { - "line": 309, - "column": 77 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 9974, - "end": 9980, - "loc": { - "start": { - "line": 310, - "column": 12 - }, - "end": { - "line": 310, - "column": 18 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 9981, - "end": 9985, - "loc": { - "start": { - "line": 310, - "column": 19 - }, - "end": { - "line": 310, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 9985, - "end": 9986, - "loc": { - "start": { - "line": 310, - "column": 23 - }, - "end": { - "line": 310, - "column": 24 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 9996, - "end": 9997, - "loc": { - "start": { - "line": 311, - "column": 8 - }, - "end": { - "line": 311, - "column": 9 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 10007, - "end": 10009, - "loc": { - "start": { - "line": 312, - "column": 8 - }, - "end": { - "line": 312, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10010, - "end": 10011, - "loc": { - "start": { - "line": 312, - "column": 11 - }, - "end": { - "line": 312, - "column": 12 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 10011, - "end": 10017, - "loc": { - "start": { - "line": 312, - "column": 12 - }, - "end": { - "line": 312, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10017, - "end": 10018, - "loc": { - "start": { - "line": 312, - "column": 18 - }, - "end": { - "line": 312, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 10018, - "end": 10023, - "loc": { - "start": { - "line": 312, - "column": 19 - }, - "end": { - "line": 312, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10023, - "end": 10024, - "loc": { - "start": { - "line": 312, - "column": 24 - }, - "end": { - "line": 312, - "column": 25 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 10025, - "end": 10028, - "loc": { - "start": { - "line": 312, - "column": 26 - }, - "end": { - "line": 312, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "number", - "start": 10029, - "end": 10037, - "loc": { - "start": { - "line": 312, - "column": 30 - }, - "end": { - "line": 312, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10037, - "end": 10038, - "loc": { - "start": { - "line": 312, - "column": 38 - }, - "end": { - "line": 312, - "column": 39 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10039, - "end": 10040, - "loc": { - "start": { - "line": 312, - "column": 40 - }, - "end": { - "line": 312, - "column": 41 - } - } - }, - { - "type": "CommentLine", - "value": " Remove the state", - "start": 10054, - "end": 10073, - "loc": { - "start": { - "line": 313, - "column": 12 - }, - "end": { - "line": 313, - "column": 31 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 10087, - "end": 10091, - "loc": { - "start": { - "line": 314, - "column": 12 - }, - "end": { - "line": 314, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10091, - "end": 10092, - "loc": { - "start": { - "line": 314, - "column": 16 - }, - "end": { - "line": 314, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "states", - "start": 10092, - "end": 10098, - "loc": { - "start": { - "line": 314, - "column": 17 - }, - "end": { - "line": 314, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10098, - "end": 10099, - "loc": { - "start": { - "line": 314, - "column": 23 - }, - "end": { - "line": 314, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "splice", - "start": 10099, - "end": 10105, - "loc": { - "start": { - "line": 314, - "column": 24 - }, - "end": { - "line": 314, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10105, - "end": 10106, - "loc": { - "start": { - "line": 314, - "column": 30 - }, - "end": { - "line": 314, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 10106, - "end": 10111, - "loc": { - "start": { - "line": 314, - "column": 31 - }, - "end": { - "line": 314, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10111, - "end": 10112, - "loc": { - "start": { - "line": 314, - "column": 36 - }, - "end": { - "line": 314, - "column": 37 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 10113, - "end": 10114, - "loc": { - "start": { - "line": 314, - "column": 38 - }, - "end": { - "line": 314, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10114, - "end": 10115, - "loc": { - "start": { - "line": 314, - "column": 39 - }, - "end": { - "line": 314, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10115, - "end": 10116, - "loc": { - "start": { - "line": 314, - "column": 40 - }, - "end": { - "line": 314, - "column": 41 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10126, - "end": 10127, - "loc": { - "start": { - "line": 315, - "column": 8 - }, - "end": { - "line": 315, - "column": 9 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 10137, - "end": 10143, - "loc": { - "start": { - "line": 316, - "column": 8 - }, - "end": { - "line": 316, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 10144, - "end": 10148, - "loc": { - "start": { - "line": 316, - "column": 15 - }, - "end": { - "line": 316, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10148, - "end": 10149, - "loc": { - "start": { - "line": 316, - "column": 19 - }, - "end": { - "line": 316, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10155, - "end": 10156, - "loc": { - "start": { - "line": 317, - "column": 4 - }, - "end": { - "line": 317, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Adds a new frame to this icon.\r\n * @param {Array} pFrameData - The frame data to give this frame.\r\n * @returns {Frame|undefined} The frame that was added or undefined.\r\n ", - "start": 10162, - "end": 10358, - "loc": { - "start": { - "line": 318, - "column": 4 - }, - "end": { - "line": 322, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addFrame", - "start": 10364, - "end": 10372, - "loc": { - "start": { - "line": 323, - "column": 4 - }, - "end": { - "line": 323, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10372, - "end": 10373, - "loc": { - "start": { - "line": 323, - "column": 12 - }, - "end": { - "line": 323, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrameData", - "start": 10373, - "end": 10383, - "loc": { - "start": { - "line": 323, - "column": 13 - }, - "end": { - "line": 323, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10383, - "end": 10384, - "loc": { - "start": { - "line": 323, - "column": 23 - }, - "end": { - "line": 323, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10385, - "end": 10386, - "loc": { - "start": { - "line": 323, - "column": 25 - }, - "end": { - "line": 323, - "column": 26 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 10396, - "end": 10398, - "loc": { - "start": { - "line": 324, - "column": 8 - }, - "end": { - "line": 324, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10399, - "end": 10400, - "loc": { - "start": { - "line": 324, - "column": 11 - }, - "end": { - "line": 324, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrameData", - "start": 10400, - "end": 10410, - "loc": { - "start": { - "line": 324, - "column": 12 - }, - "end": { - "line": 324, - "column": 22 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10410, - "end": 10411, - "loc": { - "start": { - "line": 324, - "column": 22 - }, - "end": { - "line": 324, - "column": 23 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10412, - "end": 10413, - "loc": { - "start": { - "line": 324, - "column": 24 - }, - "end": { - "line": 324, - "column": 25 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 10427, - "end": 10429, - "loc": { - "start": { - "line": 325, - "column": 12 - }, - "end": { - "line": 325, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10430, - "end": 10431, - "loc": { - "start": { - "line": 325, - "column": 15 - }, - "end": { - "line": 325, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Array", - "start": 10431, - "end": 10436, - "loc": { - "start": { - "line": 325, - "column": 16 - }, - "end": { - "line": 325, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10436, - "end": 10437, - "loc": { - "start": { - "line": 325, - "column": 21 - }, - "end": { - "line": 325, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isArray", - "start": 10437, - "end": 10444, - "loc": { - "start": { - "line": 325, - "column": 22 - }, - "end": { - "line": 325, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10444, - "end": 10445, - "loc": { - "start": { - "line": 325, - "column": 29 - }, - "end": { - "line": 325, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrameData", - "start": 10445, - "end": 10455, - "loc": { - "start": { - "line": 325, - "column": 30 - }, - "end": { - "line": 325, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10455, - "end": 10456, - "loc": { - "start": { - "line": 325, - "column": 40 - }, - "end": { - "line": 325, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10456, - "end": 10457, - "loc": { - "start": { - "line": 325, - "column": 41 - }, - "end": { - "line": 325, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10458, - "end": 10459, - "loc": { - "start": { - "line": 325, - "column": 43 - }, - "end": { - "line": 325, - "column": 44 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 10477, - "end": 10482, - "loc": { - "start": { - "line": 326, - "column": 16 - }, - "end": { - "line": 326, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frame", - "start": 10483, - "end": 10488, - "loc": { - "start": { - "line": 326, - "column": 22 - }, - "end": { - "line": 326, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 10489, - "end": 10490, - "loc": { - "start": { - "line": 326, - "column": 28 - }, - "end": { - "line": 326, - "column": 29 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 10491, - "end": 10494, - "loc": { - "start": { - "line": 326, - "column": 30 - }, - "end": { - "line": 326, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Frame", - "start": 10495, - "end": 10500, - "loc": { - "start": { - "line": 326, - "column": 34 - }, - "end": { - "line": 326, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10500, - "end": 10501, - "loc": { - "start": { - "line": 326, - "column": 39 - }, - "end": { - "line": 326, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrameData", - "start": 10501, - "end": 10511, - "loc": { - "start": { - "line": 326, - "column": 40 - }, - "end": { - "line": 326, - "column": 50 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10511, - "end": 10512, - "loc": { - "start": { - "line": 326, - "column": 50 - }, - "end": { - "line": 326, - "column": 51 - } - } - }, - { - "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": 10513, - "end": 10517, - "loc": { - "start": { - "line": 326, - "column": 52 - }, - "end": { - "line": 326, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10517, - "end": 10518, - "loc": { - "start": { - "line": 326, - "column": 56 - }, - "end": { - "line": 326, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10518, - "end": 10519, - "loc": { - "start": { - "line": 326, - "column": 57 - }, - "end": { - "line": 326, - "column": 58 - } - } - }, - { - "type": "CommentLine", - "value": " Add the frame to the frames array.", - "start": 10537, - "end": 10574, - "loc": { - "start": { - "line": 327, - "column": 16 - }, - "end": { - "line": 327, - "column": 53 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 10592, - "end": 10596, - "loc": { - "start": { - "line": 328, - "column": 16 - }, - "end": { - "line": 328, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10596, - "end": 10597, - "loc": { - "start": { - "line": 328, - "column": 20 - }, - "end": { - "line": 328, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 10597, - "end": 10603, - "loc": { - "start": { - "line": 328, - "column": 21 - }, - "end": { - "line": 328, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10603, - "end": 10604, - "loc": { - "start": { - "line": 328, - "column": 27 - }, - "end": { - "line": 328, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 10604, - "end": 10608, - "loc": { - "start": { - "line": 328, - "column": 28 - }, - "end": { - "line": 328, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10608, - "end": 10609, - "loc": { - "start": { - "line": 328, - "column": 32 - }, - "end": { - "line": 328, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frame", - "start": 10609, - "end": 10614, - "loc": { - "start": { - "line": 328, - "column": 33 - }, - "end": { - "line": 328, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10614, - "end": 10615, - "loc": { - "start": { - "line": 328, - "column": 38 - }, - "end": { - "line": 328, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10615, - "end": 10616, - "loc": { - "start": { - "line": 328, - "column": 39 - }, - "end": { - "line": 328, - "column": 40 - } - } - }, - { - "type": "CommentLine", - "value": " Re-index frames after a change", - "start": 10634, - "end": 10667, - "loc": { - "start": { - "line": 329, - "column": 16 - }, - "end": { - "line": 329, - "column": 49 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 10685, - "end": 10689, - "loc": { - "start": { - "line": 330, - "column": 16 - }, - "end": { - "line": 330, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10689, - "end": 10690, - "loc": { - "start": { - "line": 330, - "column": 20 - }, - "end": { - "line": 330, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "indexFrames", - "start": 10690, - "end": 10701, - "loc": { - "start": { - "line": 330, - "column": 21 - }, - "end": { - "line": 330, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10701, - "end": 10702, - "loc": { - "start": { - "line": 330, - "column": 32 - }, - "end": { - "line": 330, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10702, - "end": 10703, - "loc": { - "start": { - "line": 330, - "column": 33 - }, - "end": { - "line": 330, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10703, - "end": 10704, - "loc": { - "start": { - "line": 330, - "column": 34 - }, - "end": { - "line": 330, - "column": 35 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 10722, - "end": 10728, - "loc": { - "start": { - "line": 331, - "column": 16 - }, - "end": { - "line": 331, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frame", - "start": 10729, - "end": 10734, - "loc": { - "start": { - "line": 331, - "column": 23 - }, - "end": { - "line": 331, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10734, - "end": 10735, - "loc": { - "start": { - "line": 331, - "column": 28 - }, - "end": { - "line": 331, - "column": 29 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10749, - "end": 10750, - "loc": { - "start": { - "line": 332, - "column": 12 - }, - "end": { - "line": 332, - "column": 13 - } - } - }, - { - "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": 10751, - "end": 10755, - "loc": { - "start": { - "line": 332, - "column": 14 - }, - "end": { - "line": 332, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10756, - "end": 10757, - "loc": { - "start": { - "line": 332, - "column": 19 - }, - "end": { - "line": 332, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 10775, - "end": 10778, - "loc": { - "start": { - "line": 333, - "column": 16 - }, - "end": { - "line": 333, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10778, - "end": 10779, - "loc": { - "start": { - "line": 333, - "column": 19 - }, - "end": { - "line": 333, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 10779, - "end": 10785, - "loc": { - "start": { - "line": 333, - "column": 20 - }, - "end": { - "line": 333, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10785, - "end": 10786, - "loc": { - "start": { - "line": 333, - "column": 26 - }, - "end": { - "line": 333, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 10786, - "end": 10792, - "loc": { - "start": { - "line": 333, - "column": 27 - }, - "end": { - "line": 333, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10792, - "end": 10793, - "loc": { - "start": { - "line": 333, - "column": 33 - }, - "end": { - "line": 333, - "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": 10793, - "end": 10805, - "loc": { - "start": { - "line": 333, - "column": 34 - }, - "end": { - "line": 333, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10805, - "end": 10806, - "loc": { - "start": { - "line": 333, - "column": 46 - }, - "end": { - "line": 333, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10806, - "end": 10807, - "loc": { - "start": { - "line": 333, - "column": 47 - }, - "end": { - "line": 333, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 10807, - "end": 10812, - "loc": { - "start": { - "line": 333, - "column": 48 - }, - "end": { - "line": 333, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10812, - "end": 10813, - "loc": { - "start": { - "line": 333, - "column": 53 - }, - "end": { - "line": 333, - "column": 54 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid frame data passed!", - "start": 10813, - "end": 10841, - "loc": { - "start": { - "line": 333, - "column": 54 - }, - "end": { - "line": 333, - "column": 82 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10841, - "end": 10842, - "loc": { - "start": { - "line": 333, - "column": 82 - }, - "end": { - "line": 333, - "column": 83 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10842, - "end": 10843, - "loc": { - "start": { - "line": 333, - "column": 83 - }, - "end": { - "line": 333, - "column": 84 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10857, - "end": 10858, - "loc": { - "start": { - "line": 334, - "column": 12 - }, - "end": { - "line": 334, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10868, - "end": 10869, - "loc": { - "start": { - "line": 335, - "column": 8 - }, - "end": { - "line": 335, - "column": 9 - } - } - }, - { - "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": 10870, - "end": 10874, - "loc": { - "start": { - "line": 335, - "column": 10 - }, - "end": { - "line": 335, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10875, - "end": 10876, - "loc": { - "start": { - "line": 335, - "column": 15 - }, - "end": { - "line": 335, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 10890, - "end": 10893, - "loc": { - "start": { - "line": 336, - "column": 12 - }, - "end": { - "line": 336, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10893, - "end": 10894, - "loc": { - "start": { - "line": 336, - "column": 15 - }, - "end": { - "line": 336, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 10894, - "end": 10900, - "loc": { - "start": { - "line": 336, - "column": 16 - }, - "end": { - "line": 336, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10900, - "end": 10901, - "loc": { - "start": { - "line": 336, - "column": 22 - }, - "end": { - "line": 336, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 10901, - "end": 10907, - "loc": { - "start": { - "line": 336, - "column": 23 - }, - "end": { - "line": 336, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10907, - "end": 10908, - "loc": { - "start": { - "line": 336, - "column": 29 - }, - "end": { - "line": 336, - "column": 30 - } - } - }, - { - "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": 10908, - "end": 10920, - "loc": { - "start": { - "line": 336, - "column": 30 - }, - "end": { - "line": 336, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10920, - "end": 10921, - "loc": { - "start": { - "line": 336, - "column": 42 - }, - "end": { - "line": 336, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10921, - "end": 10922, - "loc": { - "start": { - "line": 336, - "column": 43 - }, - "end": { - "line": 336, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 10922, - "end": 10927, - "loc": { - "start": { - "line": 336, - "column": 44 - }, - "end": { - "line": 336, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10927, - "end": 10928, - "loc": { - "start": { - "line": 336, - "column": 49 - }, - "end": { - "line": 336, - "column": 50 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "No frame data passed!", - "start": 10928, - "end": 10951, - "loc": { - "start": { - "line": 336, - "column": 50 - }, - "end": { - "line": 336, - "column": 73 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10951, - "end": 10952, - "loc": { - "start": { - "line": 336, - "column": 73 - }, - "end": { - "line": 336, - "column": 74 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 10952, - "end": 10953, - "loc": { - "start": { - "line": 336, - "column": 74 - }, - "end": { - "line": 336, - "column": 75 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10963, - "end": 10964, - "loc": { - "start": { - "line": 337, - "column": 8 - }, - "end": { - "line": 337, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 10970, - "end": 10971, - "loc": { - "start": { - "line": 338, - "column": 4 - }, - "end": { - "line": 338, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "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": 10977, - "end": 11364, - "loc": { - "start": { - "line": 339, - "column": 4 - }, - "end": { - "line": 344, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "removeFrame", - "start": 11370, - "end": 11381, - "loc": { - "start": { - "line": 345, - "column": 4 - }, - "end": { - "line": 345, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11381, - "end": 11382, - "loc": { - "start": { - "line": 345, - "column": 15 - }, - "end": { - "line": 345, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 11382, - "end": 11388, - "loc": { - "start": { - "line": 345, - "column": 16 - }, - "end": { - "line": 345, - "column": 22 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11388, - "end": 11389, - "loc": { - "start": { - "line": 345, - "column": 22 - }, - "end": { - "line": 345, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 11390, - "end": 11396, - "loc": { - "start": { - "line": 345, - "column": 24 - }, - "end": { - "line": 345, - "column": 30 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11396, - "end": 11397, - "loc": { - "start": { - "line": 345, - "column": 30 - }, - "end": { - "line": 345, - "column": 31 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11398, - "end": 11399, - "loc": { - "start": { - "line": 345, - "column": 32 - }, - "end": { - "line": 345, - "column": 33 - } - } - }, - { - "type": "CommentLine", - "value": " The index used to remove this frame.", - "start": 11409, - "end": 11448, - "loc": { - "start": { - "line": 346, - "column": 8 - }, - "end": { - "line": 346, - "column": 47 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 11458, - "end": 11461, - "loc": { - "start": { - "line": 347, - "column": 8 - }, - "end": { - "line": 347, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 11462, - "end": 11467, - "loc": { - "start": { - "line": 347, - "column": 12 - }, - "end": { - "line": 347, - "column": 17 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11467, - "end": 11468, - "loc": { - "start": { - "line": 347, - "column": 17 - }, - "end": { - "line": 347, - "column": 18 - } - } - }, - { - "type": "CommentLine", - "value": " Remove via reference to frame.", - "start": 11478, - "end": 11511, - "loc": { - "start": { - "line": 348, - "column": 8 - }, - "end": { - "line": 348, - "column": 41 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 11521, - "end": 11523, - "loc": { - "start": { - "line": 349, - "column": 8 - }, - "end": { - "line": 349, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11524, - "end": 11525, - "loc": { - "start": { - "line": 349, - "column": 11 - }, - "end": { - "line": 349, - "column": 12 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 11525, - "end": 11529, - "loc": { - "start": { - "line": 349, - "column": 12 - }, - "end": { - "line": 349, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11529, - "end": 11530, - "loc": { - "start": { - "line": 349, - "column": 16 - }, - "end": { - "line": 349, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 11530, - "end": 11536, - "loc": { - "start": { - "line": 349, - "column": 17 - }, - "end": { - "line": 349, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11536, - "end": 11537, - "loc": { - "start": { - "line": 349, - "column": 23 - }, - "end": { - "line": 349, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 11537, - "end": 11545, - "loc": { - "start": { - "line": 349, - "column": 24 - }, - "end": { - "line": 349, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11545, - "end": 11546, - "loc": { - "start": { - "line": 349, - "column": 32 - }, - "end": { - "line": 349, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 11546, - "end": 11552, - "loc": { - "start": { - "line": 349, - "column": 33 - }, - "end": { - "line": 349, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11552, - "end": 11553, - "loc": { - "start": { - "line": 349, - "column": 39 - }, - "end": { - "line": 349, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11553, - "end": 11554, - "loc": { - "start": { - "line": 349, - "column": 40 - }, - "end": { - "line": 349, - "column": 41 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11555, - "end": 11556, - "loc": { - "start": { - "line": 349, - "column": 42 - }, - "end": { - "line": 349, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 11570, - "end": 11575, - "loc": { - "start": { - "line": 350, - "column": 12 - }, - "end": { - "line": 350, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 11576, - "end": 11577, - "loc": { - "start": { - "line": 350, - "column": 18 - }, - "end": { - "line": 350, - "column": 19 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 11578, - "end": 11582, - "loc": { - "start": { - "line": 350, - "column": 20 - }, - "end": { - "line": 350, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11582, - "end": 11583, - "loc": { - "start": { - "line": 350, - "column": 24 - }, - "end": { - "line": 350, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 11583, - "end": 11589, - "loc": { - "start": { - "line": 350, - "column": 25 - }, - "end": { - "line": 350, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11589, - "end": 11590, - "loc": { - "start": { - "line": 350, - "column": 31 - }, - "end": { - "line": 350, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "indexOf", - "start": 11590, - "end": 11597, - "loc": { - "start": { - "line": 350, - "column": 32 - }, - "end": { - "line": 350, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11597, - "end": 11598, - "loc": { - "start": { - "line": 350, - "column": 39 - }, - "end": { - "line": 350, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 11598, - "end": 11604, - "loc": { - "start": { - "line": 350, - "column": 40 - }, - "end": { - "line": 350, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11604, - "end": 11605, - "loc": { - "start": { - "line": 350, - "column": 46 - }, - "end": { - "line": 350, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11605, - "end": 11606, - "loc": { - "start": { - "line": 350, - "column": 47 - }, - "end": { - "line": 350, - "column": 48 - } - } - }, - { - "type": "CommentLine", - "value": " Remove via index passed.", - "start": 11616, - "end": 11643, - "loc": { - "start": { - "line": 351, - "column": 8 - }, - "end": { - "line": 351, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11653, - "end": 11654, - "loc": { - "start": { - "line": 352, - "column": 8 - }, - "end": { - "line": 352, - "column": 9 - } - } - }, - { - "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": 11655, - "end": 11659, - "loc": { - "start": { - "line": 352, - "column": 10 - }, - "end": { - "line": 352, - "column": 14 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 11660, - "end": 11662, - "loc": { - "start": { - "line": 352, - "column": 15 - }, - "end": { - "line": 352, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11663, - "end": 11664, - "loc": { - "start": { - "line": 352, - "column": 18 - }, - "end": { - "line": 352, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 11664, - "end": 11670, - "loc": { - "start": { - "line": 352, - "column": 19 - }, - "end": { - "line": 352, - "column": 25 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 11671, - "end": 11673, - "loc": { - "start": { - "line": 352, - "column": 26 - }, - "end": { - "line": 352, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 11674, - "end": 11680, - "loc": { - "start": { - "line": 352, - "column": 29 - }, - "end": { - "line": 352, - "column": 35 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 11681, - "end": 11684, - "loc": { - "start": { - "line": 352, - "column": 36 - }, - "end": { - "line": 352, - "column": 39 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 11685, - "end": 11686, - "loc": { - "start": { - "line": 352, - "column": 40 - }, - "end": { - "line": 352, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11686, - "end": 11687, - "loc": { - "start": { - "line": 352, - "column": 41 - }, - "end": { - "line": 352, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11688, - "end": 11689, - "loc": { - "start": { - "line": 352, - "column": 43 - }, - "end": { - "line": 352, - "column": 44 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 11703, - "end": 11705, - "loc": { - "start": { - "line": 353, - "column": 12 - }, - "end": { - "line": 353, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11706, - "end": 11707, - "loc": { - "start": { - "line": 353, - "column": 15 - }, - "end": { - "line": 353, - "column": 16 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 11707, - "end": 11713, - "loc": { - "start": { - "line": 353, - "column": 16 - }, - "end": { - "line": 353, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11713, - "end": 11714, - "loc": { - "start": { - "line": 353, - "column": 22 - }, - "end": { - "line": 353, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 11714, - "end": 11720, - "loc": { - "start": { - "line": 353, - "column": 23 - }, - "end": { - "line": 353, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11720, - "end": 11721, - "loc": { - "start": { - "line": 353, - "column": 29 - }, - "end": { - "line": 353, - "column": 30 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 11722, - "end": 11725, - "loc": { - "start": { - "line": 353, - "column": 31 - }, - "end": { - "line": 353, - "column": 34 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "number", - "start": 11726, - "end": 11734, - "loc": { - "start": { - "line": 353, - "column": 35 - }, - "end": { - "line": 353, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11734, - "end": 11735, - "loc": { - "start": { - "line": 353, - "column": 43 - }, - "end": { - "line": 353, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11736, - "end": 11737, - "loc": { - "start": { - "line": 353, - "column": 45 - }, - "end": { - "line": 353, - "column": 46 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 11755, - "end": 11760, - "loc": { - "start": { - "line": 354, - "column": 16 - }, - "end": { - "line": 354, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frame", - "start": 11761, - "end": 11766, - "loc": { - "start": { - "line": 354, - "column": 22 - }, - "end": { - "line": 354, - "column": 27 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 11767, - "end": 11768, - "loc": { - "start": { - "line": 354, - "column": 28 - }, - "end": { - "line": 354, - "column": 29 - } - } - }, - { - "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": 11769, - "end": 11773, - "loc": { - "start": { - "line": 354, - "column": 30 - }, - "end": { - "line": 354, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11773, - "end": 11774, - "loc": { - "start": { - "line": 354, - "column": 34 - }, - "end": { - "line": 354, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getFrame", - "start": 11774, - "end": 11782, - "loc": { - "start": { - "line": 354, - "column": 35 - }, - "end": { - "line": 354, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11782, - "end": 11783, - "loc": { - "start": { - "line": 354, - "column": 43 - }, - "end": { - "line": 354, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 11783, - "end": 11789, - "loc": { - "start": { - "line": 354, - "column": 44 - }, - "end": { - "line": 354, - "column": 50 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11789, - "end": 11790, - "loc": { - "start": { - "line": 354, - "column": 50 - }, - "end": { - "line": 354, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11790, - "end": 11791, - "loc": { - "start": { - "line": 354, - "column": 51 - }, - "end": { - "line": 354, - "column": 52 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 11809, - "end": 11811, - "loc": { - "start": { - "line": 355, - "column": 16 - }, - "end": { - "line": 355, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11812, - "end": 11813, - "loc": { - "start": { - "line": 355, - "column": 19 - }, - "end": { - "line": 355, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frame", - "start": 11813, - "end": 11818, - "loc": { - "start": { - "line": 355, - "column": 20 - }, - "end": { - "line": 355, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11818, - "end": 11819, - "loc": { - "start": { - "line": 355, - "column": 25 - }, - "end": { - "line": 355, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11820, - "end": 11821, - "loc": { - "start": { - "line": 355, - "column": 27 - }, - "end": { - "line": 355, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 11843, - "end": 11848, - "loc": { - "start": { - "line": 356, - "column": 20 - }, - "end": { - "line": 356, - "column": 25 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 11849, - "end": 11850, - "loc": { - "start": { - "line": 356, - "column": 26 - }, - "end": { - "line": 356, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 11851, - "end": 11857, - "loc": { - "start": { - "line": 356, - "column": 28 - }, - "end": { - "line": 356, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11857, - "end": 11858, - "loc": { - "start": { - "line": 356, - "column": 34 - }, - "end": { - "line": 356, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11876, - "end": 11877, - "loc": { - "start": { - "line": 357, - "column": 16 - }, - "end": { - "line": 357, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11891, - "end": 11892, - "loc": { - "start": { - "line": 358, - "column": 12 - }, - "end": { - "line": 358, - "column": 13 - } - } - }, - { - "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": 11893, - "end": 11897, - "loc": { - "start": { - "line": 358, - "column": 14 - }, - "end": { - "line": 358, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11898, - "end": 11899, - "loc": { - "start": { - "line": 358, - "column": 19 - }, - "end": { - "line": 358, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 11917, - "end": 11920, - "loc": { - "start": { - "line": 359, - "column": 16 - }, - "end": { - "line": 359, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11920, - "end": 11921, - "loc": { - "start": { - "line": 359, - "column": 19 - }, - "end": { - "line": 359, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 11921, - "end": 11927, - "loc": { - "start": { - "line": 359, - "column": 20 - }, - "end": { - "line": 359, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11927, - "end": 11928, - "loc": { - "start": { - "line": 359, - "column": 26 - }, - "end": { - "line": 359, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 11928, - "end": 11934, - "loc": { - "start": { - "line": 359, - "column": 27 - }, - "end": { - "line": 359, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11934, - "end": 11935, - "loc": { - "start": { - "line": 359, - "column": 33 - }, - "end": { - "line": 359, - "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": 11935, - "end": 11947, - "loc": { - "start": { - "line": 359, - "column": 34 - }, - "end": { - "line": 359, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11947, - "end": 11948, - "loc": { - "start": { - "line": 359, - "column": 46 - }, - "end": { - "line": 359, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11948, - "end": 11949, - "loc": { - "start": { - "line": 359, - "column": 47 - }, - "end": { - "line": 359, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 11949, - "end": 11954, - "loc": { - "start": { - "line": 359, - "column": 48 - }, - "end": { - "line": 359, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11954, - "end": 11955, - "loc": { - "start": { - "line": 359, - "column": 53 - }, - "end": { - "line": 359, - "column": 54 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid pIndex type!", - "start": 11955, - "end": 11977, - "loc": { - "start": { - "line": 359, - "column": 54 - }, - "end": { - "line": 359, - "column": 76 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11977, - "end": 11978, - "loc": { - "start": { - "line": 359, - "column": 76 - }, - "end": { - "line": 359, - "column": 77 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 11978, - "end": 11979, - "loc": { - "start": { - "line": 359, - "column": 77 - }, - "end": { - "line": 359, - "column": 78 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 11993, - "end": 11994, - "loc": { - "start": { - "line": 360, - "column": 12 - }, - "end": { - "line": 360, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12004, - "end": 12005, - "loc": { - "start": { - "line": 361, - "column": 8 - }, - "end": { - "line": 361, - "column": 9 - } - } - }, - { - "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": 12006, - "end": 12010, - "loc": { - "start": { - "line": 361, - "column": 10 - }, - "end": { - "line": 361, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12011, - "end": 12012, - "loc": { - "start": { - "line": 361, - "column": 15 - }, - "end": { - "line": 361, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 12026, - "end": 12029, - "loc": { - "start": { - "line": 362, - "column": 12 - }, - "end": { - "line": 362, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12029, - "end": 12030, - "loc": { - "start": { - "line": 362, - "column": 15 - }, - "end": { - "line": 362, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 12030, - "end": 12036, - "loc": { - "start": { - "line": 362, - "column": 16 - }, - "end": { - "line": 362, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12036, - "end": 12037, - "loc": { - "start": { - "line": 362, - "column": 22 - }, - "end": { - "line": 362, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 12037, - "end": 12043, - "loc": { - "start": { - "line": 362, - "column": 23 - }, - "end": { - "line": 362, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12043, - "end": 12044, - "loc": { - "start": { - "line": 362, - "column": 29 - }, - "end": { - "line": 362, - "column": 30 - } - } - }, - { - "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": 12044, - "end": 12056, - "loc": { - "start": { - "line": 362, - "column": 30 - }, - "end": { - "line": 362, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12056, - "end": 12057, - "loc": { - "start": { - "line": 362, - "column": 42 - }, - "end": { - "line": 362, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12057, - "end": 12058, - "loc": { - "start": { - "line": 362, - "column": 43 - }, - "end": { - "line": 362, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 12058, - "end": 12063, - "loc": { - "start": { - "line": 362, - "column": 44 - }, - "end": { - "line": 362, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12063, - "end": 12064, - "loc": { - "start": { - "line": 362, - "column": 49 - }, - "end": { - "line": 362, - "column": 50 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Failed to remove frame!", - "start": 12064, - "end": 12089, - "loc": { - "start": { - "line": 362, - "column": 50 - }, - "end": { - "line": 362, - "column": 75 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12089, - "end": 12090, - "loc": { - "start": { - "line": 362, - "column": 75 - }, - "end": { - "line": 362, - "column": 76 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12090, - "end": 12091, - "loc": { - "start": { - "line": 362, - "column": 76 - }, - "end": { - "line": 362, - "column": 77 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12101, - "end": 12102, - "loc": { - "start": { - "line": 363, - "column": 8 - }, - "end": { - "line": 363, - "column": 9 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 12112, - "end": 12114, - "loc": { - "start": { - "line": 364, - "column": 8 - }, - "end": { - "line": 364, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12115, - "end": 12116, - "loc": { - "start": { - "line": 364, - "column": 11 - }, - "end": { - "line": 364, - "column": 12 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 12116, - "end": 12122, - "loc": { - "start": { - "line": 364, - "column": 12 - }, - "end": { - "line": 364, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12122, - "end": 12123, - "loc": { - "start": { - "line": 364, - "column": 18 - }, - "end": { - "line": 364, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 12123, - "end": 12128, - "loc": { - "start": { - "line": 364, - "column": 19 - }, - "end": { - "line": 364, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12128, - "end": 12129, - "loc": { - "start": { - "line": 364, - "column": 24 - }, - "end": { - "line": 364, - "column": 25 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 12130, - "end": 12133, - "loc": { - "start": { - "line": 364, - "column": 26 - }, - "end": { - "line": 364, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "number", - "start": 12134, - "end": 12142, - "loc": { - "start": { - "line": 364, - "column": 30 - }, - "end": { - "line": 364, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12142, - "end": 12143, - "loc": { - "start": { - "line": 364, - "column": 38 - }, - "end": { - "line": 364, - "column": 39 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12144, - "end": 12145, - "loc": { - "start": { - "line": 364, - "column": 40 - }, - "end": { - "line": 364, - "column": 41 - } - } - }, - { - "type": "CommentLine", - "value": " Remove the frame", - "start": 12159, - "end": 12178, - "loc": { - "start": { - "line": 365, - "column": 12 - }, - "end": { - "line": 365, - "column": 31 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 12192, - "end": 12196, - "loc": { - "start": { - "line": 366, - "column": 12 - }, - "end": { - "line": 366, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12196, - "end": 12197, - "loc": { - "start": { - "line": 366, - "column": 16 - }, - "end": { - "line": 366, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 12197, - "end": 12203, - "loc": { - "start": { - "line": 366, - "column": 17 - }, - "end": { - "line": 366, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12203, - "end": 12204, - "loc": { - "start": { - "line": 366, - "column": 23 - }, - "end": { - "line": 366, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "splice", - "start": 12204, - "end": 12210, - "loc": { - "start": { - "line": 366, - "column": 24 - }, - "end": { - "line": 366, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12210, - "end": 12211, - "loc": { - "start": { - "line": 366, - "column": 30 - }, - "end": { - "line": 366, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 12211, - "end": 12216, - "loc": { - "start": { - "line": 366, - "column": 31 - }, - "end": { - "line": 366, - "column": 36 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12216, - "end": 12217, - "loc": { - "start": { - "line": 366, - "column": 36 - }, - "end": { - "line": 366, - "column": 37 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 12218, - "end": 12219, - "loc": { - "start": { - "line": 366, - "column": 38 - }, - "end": { - "line": 366, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12219, - "end": 12220, - "loc": { - "start": { - "line": 366, - "column": 39 - }, - "end": { - "line": 366, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12220, - "end": 12221, - "loc": { - "start": { - "line": 366, - "column": 40 - }, - "end": { - "line": 366, - "column": 41 - } - } - }, - { - "type": "CommentLine", - "value": " Re-index frames after a change", - "start": 12235, - "end": 12268, - "loc": { - "start": { - "line": 367, - "column": 12 - }, - "end": { - "line": 367, - "column": 45 - } - } - }, - { - "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": 12282, - "end": 12286, - "loc": { - "start": { - "line": 368, - "column": 12 - }, - "end": { - "line": 368, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12286, - "end": 12287, - "loc": { - "start": { - "line": 368, - "column": 16 - }, - "end": { - "line": 368, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "indexFrames", - "start": 12287, - "end": 12298, - "loc": { - "start": { - "line": 368, - "column": 17 - }, - "end": { - "line": 368, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12298, - "end": 12299, - "loc": { - "start": { - "line": 368, - "column": 28 - }, - "end": { - "line": 368, - "column": 29 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12299, - "end": 12300, - "loc": { - "start": { - "line": 368, - "column": 29 - }, - "end": { - "line": 368, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12300, - "end": 12301, - "loc": { - "start": { - "line": 368, - "column": 30 - }, - "end": { - "line": 368, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12311, - "end": 12312, - "loc": { - "start": { - "line": 369, - "column": 8 - }, - "end": { - "line": 369, - "column": 9 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 12322, - "end": 12328, - "loc": { - "start": { - "line": 370, - "column": 8 - }, - "end": { - "line": 370, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 12329, - "end": 12333, - "loc": { - "start": { - "line": 370, - "column": 15 - }, - "end": { - "line": 370, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12333, - "end": 12334, - "loc": { - "start": { - "line": 370, - "column": 19 - }, - "end": { - "line": 370, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12340, - "end": 12341, - "loc": { - "start": { - "line": 371, - "column": 4 - }, - "end": { - "line": 371, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Index the frames properly.\r\n * @private\r\n ", - "start": 12347, - "end": 12411, - "loc": { - "start": { - "line": 372, - "column": 4 - }, - "end": { - "line": 375, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "indexFrames", - "start": 12417, - "end": 12428, - "loc": { - "start": { - "line": 376, - "column": 4 - }, - "end": { - "line": 376, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12428, - "end": 12429, - "loc": { - "start": { - "line": 376, - "column": 15 - }, - "end": { - "line": 376, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12429, - "end": 12430, - "loc": { - "start": { - "line": 376, - "column": 16 - }, - "end": { - "line": 376, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12431, - "end": 12432, - "loc": { - "start": { - "line": 376, - "column": 18 - }, - "end": { - "line": 376, - "column": 19 - } - } - }, - { - "type": "CommentLine", - "value": " Reorder the frames after removing.", - "start": 12442, - "end": 12479, - "loc": { - "start": { - "line": 377, - "column": 8 - }, - "end": { - "line": 377, - "column": 45 - } - } - }, - { - "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": 12489, - "end": 12493, - "loc": { - "start": { - "line": 378, - "column": 8 - }, - "end": { - "line": 378, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12493, - "end": 12494, - "loc": { - "start": { - "line": 378, - "column": 12 - }, - "end": { - "line": 378, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 12494, - "end": 12500, - "loc": { - "start": { - "line": 378, - "column": 13 - }, - "end": { - "line": 378, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12500, - "end": 12501, - "loc": { - "start": { - "line": 378, - "column": 19 - }, - "end": { - "line": 378, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 12501, - "end": 12508, - "loc": { - "start": { - "line": 378, - "column": 20 - }, - "end": { - "line": 378, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12508, - "end": 12509, - "loc": { - "start": { - "line": 378, - "column": 27 - }, - "end": { - "line": 378, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12509, - "end": 12510, - "loc": { - "start": { - "line": 378, - "column": 28 - }, - "end": { - "line": 378, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 12510, - "end": 12516, - "loc": { - "start": { - "line": 378, - "column": 29 - }, - "end": { - "line": 378, - "column": 35 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12516, - "end": 12517, - "loc": { - "start": { - "line": 378, - "column": 35 - }, - "end": { - "line": 378, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 12518, - "end": 12524, - "loc": { - "start": { - "line": 378, - "column": 37 - }, - "end": { - "line": 378, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12524, - "end": 12525, - "loc": { - "start": { - "line": 378, - "column": 43 - }, - "end": { - "line": 378, - "column": 44 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12526, - "end": 12528, - "loc": { - "start": { - "line": 378, - "column": 45 - }, - "end": { - "line": 378, - "column": 47 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12529, - "end": 12530, - "loc": { - "start": { - "line": 378, - "column": 48 - }, - "end": { - "line": 378, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 12544, - "end": 12550, - "loc": { - "start": { - "line": 379, - "column": 12 - }, - "end": { - "line": 379, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12550, - "end": 12551, - "loc": { - "start": { - "line": 379, - "column": 18 - }, - "end": { - "line": 379, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "index", - "start": 12551, - "end": 12556, - "loc": { - "start": { - "line": 379, - "column": 19 - }, - "end": { - "line": 379, - "column": 24 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 12557, - "end": 12558, - "loc": { - "start": { - "line": 379, - "column": 25 - }, - "end": { - "line": 379, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 12559, - "end": 12565, - "loc": { - "start": { - "line": 379, - "column": 27 - }, - "end": { - "line": 379, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12565, - "end": 12566, - "loc": { - "start": { - "line": 379, - "column": 33 - }, - "end": { - "line": 379, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12576, - "end": 12577, - "loc": { - "start": { - "line": 380, - "column": 8 - }, - "end": { - "line": 380, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12577, - "end": 12578, - "loc": { - "start": { - "line": 380, - "column": 9 - }, - "end": { - "line": 380, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 12578, - "end": 12579, - "loc": { - "start": { - "line": 380, - "column": 10 - }, - "end": { - "line": 380, - "column": 11 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 12585, - "end": 12586, - "loc": { - "start": { - "line": 381, - "column": 4 - }, - "end": { - "line": 381, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex.\r\n * The \"first\" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame.\r\n * pCurrentIndex must be set to -1 to match this icon.\r\n * @param {number} pCurrentIndex - The current index of the frame.\r\n * @param {number} pIndex - The index the frame will be moving to.\r\n * @returns {self} This icon instance.\r\n ", - "start": 12592, - "end": 13131, - "loc": { - "start": { - "line": 382, - "column": 4 - }, - "end": { - "line": 389, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "reorderFrame", - "start": 13137, - "end": 13149, - "loc": { - "start": { - "line": 390, - "column": 4 - }, - "end": { - "line": 390, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13149, - "end": 13150, - "loc": { - "start": { - "line": 390, - "column": 16 - }, - "end": { - "line": 390, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pCurrentIndex", - "start": 13150, - "end": 13163, - "loc": { - "start": { - "line": 390, - "column": 17 - }, - "end": { - "line": 390, - "column": 30 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13163, - "end": 13164, - "loc": { - "start": { - "line": 390, - "column": 30 - }, - "end": { - "line": 390, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 13165, - "end": 13171, - "loc": { - "start": { - "line": 390, - "column": 32 - }, - "end": { - "line": 390, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13171, - "end": 13172, - "loc": { - "start": { - "line": 390, - "column": 38 - }, - "end": { - "line": 390, - "column": 39 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13173, - "end": 13174, - "loc": { - "start": { - "line": 390, - "column": 40 - }, - "end": { - "line": 390, - "column": 41 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 13184, - "end": 13186, - "loc": { - "start": { - "line": 391, - "column": 8 - }, - "end": { - "line": 391, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13187, - "end": 13188, - "loc": { - "start": { - "line": 391, - "column": 11 - }, - "end": { - "line": 391, - "column": 12 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 13188, - "end": 13194, - "loc": { - "start": { - "line": 391, - "column": 12 - }, - "end": { - "line": 391, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13194, - "end": 13195, - "loc": { - "start": { - "line": 391, - "column": 18 - }, - "end": { - "line": 391, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pCurrentIndex", - "start": 13195, - "end": 13208, - "loc": { - "start": { - "line": 391, - "column": 19 - }, - "end": { - "line": 391, - "column": 32 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13208, - "end": 13209, - "loc": { - "start": { - "line": 391, - "column": 32 - }, - "end": { - "line": 391, - "column": 33 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 13210, - "end": 13213, - "loc": { - "start": { - "line": 391, - "column": 34 - }, - "end": { - "line": 391, - "column": 37 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "number", - "start": 13214, - "end": 13222, - "loc": { - "start": { - "line": 391, - "column": 38 - }, - "end": { - "line": 391, - "column": 46 - } - } - }, - { - "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 2, - "updateContext": null - }, - "value": "&&", - "start": 13223, - "end": 13225, - "loc": { - "start": { - "line": 391, - "column": 47 - }, - "end": { - "line": 391, - "column": 49 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 13226, - "end": 13232, - "loc": { - "start": { - "line": 391, - "column": 50 - }, - "end": { - "line": 391, - "column": 56 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13232, - "end": 13233, - "loc": { - "start": { - "line": 391, - "column": 56 - }, - "end": { - "line": 391, - "column": 57 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 13233, - "end": 13239, - "loc": { - "start": { - "line": 391, - "column": 57 - }, - "end": { - "line": 391, - "column": 63 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13239, - "end": 13240, - "loc": { - "start": { - "line": 391, - "column": 63 - }, - "end": { - "line": 391, - "column": 64 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 13241, - "end": 13244, - "loc": { - "start": { - "line": 391, - "column": 65 - }, - "end": { - "line": 391, - "column": 68 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "number", - "start": 13245, - "end": 13253, - "loc": { - "start": { - "line": 391, - "column": 69 - }, - "end": { - "line": 391, - "column": 77 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13253, - "end": 13254, - "loc": { - "start": { - "line": 391, - "column": 77 - }, - "end": { - "line": 391, - "column": 78 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13255, - "end": 13256, - "loc": { - "start": { - "line": 391, - "column": 79 - }, - "end": { - "line": 391, - "column": 80 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 13270, - "end": 13273, - "loc": { - "start": { - "line": 392, - "column": 12 - }, - "end": { - "line": 392, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameAtIndex", - "start": 13274, - "end": 13286, - "loc": { - "start": { - "line": 392, - "column": 16 - }, - "end": { - "line": 392, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13286, - "end": 13287, - "loc": { - "start": { - "line": 392, - "column": 28 - }, - "end": { - "line": 392, - "column": 29 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 13301, - "end": 13304, - "loc": { - "start": { - "line": 393, - "column": 12 - }, - "end": { - "line": 393, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentFrame", - "start": 13305, - "end": 13317, - "loc": { - "start": { - "line": 393, - "column": 16 - }, - "end": { - "line": 393, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13317, - "end": 13318, - "loc": { - "start": { - "line": 393, - "column": 28 - }, - "end": { - "line": 393, - "column": 29 - } - } - }, - { - "type": "CommentLine", - "value": " We check if the current index is -1, if it is then it means we want to treat this icon as a frame. As the icon data and delay of this icon serves", - "start": 13332, - "end": 13480, - "loc": { - "start": { - "line": 394, - "column": 12 - }, - "end": { - "line": 394, - "column": 160 - } - } - }, - { - "type": "CommentLine", - "value": " as the frame 0.", - "start": 13494, - "end": 13512, - "loc": { - "start": { - "line": 395, - "column": 12 - }, - "end": { - "line": 395, - "column": 30 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 13526, - "end": 13528, - "loc": { - "start": { - "line": 396, - "column": 12 - }, - "end": { - "line": 396, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13529, - "end": 13530, - "loc": { - "start": { - "line": 396, - "column": 15 - }, - "end": { - "line": 396, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pCurrentIndex", - "start": 13530, - "end": 13543, - "loc": { - "start": { - "line": 396, - "column": 16 - }, - "end": { - "line": 396, - "column": 29 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 13544, - "end": 13547, - "loc": { - "start": { - "line": 396, - "column": 30 - }, - "end": { - "line": 396, - "column": 33 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 13548, - "end": 13549, - "loc": { - "start": { - "line": 396, - "column": 34 - }, - "end": { - "line": 396, - "column": 35 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 13549, - "end": 13550, - "loc": { - "start": { - "line": 396, - "column": 35 - }, - "end": { - "line": 396, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13550, - "end": 13551, - "loc": { - "start": { - "line": 396, - "column": 36 - }, - "end": { - "line": 396, - "column": 37 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13552, - "end": 13553, - "loc": { - "start": { - "line": 396, - "column": 38 - }, - "end": { - "line": 396, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentFrame", - "start": 13571, - "end": 13583, - "loc": { - "start": { - "line": 397, - "column": 16 - }, - "end": { - "line": 397, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 13584, - "end": 13585, - "loc": { - "start": { - "line": 397, - "column": 29 - }, - "end": { - "line": 397, - "column": 30 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 13586, - "end": 13590, - "loc": { - "start": { - "line": 397, - "column": 31 - }, - "end": { - "line": 397, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13590, - "end": 13591, - "loc": { - "start": { - "line": 397, - "column": 35 - }, - "end": { - "line": 397, - "column": 36 - } - } - }, - { - "type": "CommentLine", - "value": " Otherwise if the index passed can be found in the frames array, then we use that frame.", - "start": 13605, - "end": 13695, - "loc": { - "start": { - "line": 398, - "column": 12 - }, - "end": { - "line": 398, - "column": 102 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13709, - "end": 13710, - "loc": { - "start": { - "line": 399, - "column": 12 - }, - "end": { - "line": 399, - "column": 13 - } - } - }, - { - "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": 13711, - "end": 13715, - "loc": { - "start": { - "line": 399, - "column": 14 - }, - "end": { - "line": 399, - "column": 18 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 13716, - "end": 13718, - "loc": { - "start": { - "line": 399, - "column": 19 - }, - "end": { - "line": 399, - "column": 21 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13719, - "end": 13720, - "loc": { - "start": { - "line": 399, - "column": 22 - }, - "end": { - "line": 399, - "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": 13720, - "end": 13724, - "loc": { - "start": { - "line": 399, - "column": 23 - }, - "end": { - "line": 399, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13724, - "end": 13725, - "loc": { - "start": { - "line": 399, - "column": 27 - }, - "end": { - "line": 399, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 13725, - "end": 13731, - "loc": { - "start": { - "line": 399, - "column": 28 - }, - "end": { - "line": 399, - "column": 34 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13731, - "end": 13732, - "loc": { - "start": { - "line": 399, - "column": 34 - }, - "end": { - "line": 399, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pCurrentIndex", - "start": 13732, - "end": 13745, - "loc": { - "start": { - "line": 399, - "column": 35 - }, - "end": { - "line": 399, - "column": 48 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13745, - "end": 13746, - "loc": { - "start": { - "line": 399, - "column": 48 - }, - "end": { - "line": 399, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13746, - "end": 13747, - "loc": { - "start": { - "line": 399, - "column": 49 - }, - "end": { - "line": 399, - "column": 50 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13748, - "end": 13749, - "loc": { - "start": { - "line": 399, - "column": 51 - }, - "end": { - "line": 399, - "column": 52 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentFrame", - "start": 13767, - "end": 13779, - "loc": { - "start": { - "line": 400, - "column": 16 - }, - "end": { - "line": 400, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 13780, - "end": 13781, - "loc": { - "start": { - "line": 400, - "column": 29 - }, - "end": { - "line": 400, - "column": 30 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 13782, - "end": 13786, - "loc": { - "start": { - "line": 400, - "column": 31 - }, - "end": { - "line": 400, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13786, - "end": 13787, - "loc": { - "start": { - "line": 400, - "column": 35 - }, - "end": { - "line": 400, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 13787, - "end": 13793, - "loc": { - "start": { - "line": 400, - "column": 36 - }, - "end": { - "line": 400, - "column": 42 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13793, - "end": 13794, - "loc": { - "start": { - "line": 400, - "column": 42 - }, - "end": { - "line": 400, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pCurrentIndex", - "start": 13794, - "end": 13807, - "loc": { - "start": { - "line": 400, - "column": 43 - }, - "end": { - "line": 400, - "column": 56 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13807, - "end": 13808, - "loc": { - "start": { - "line": 400, - "column": 56 - }, - "end": { - "line": 400, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13808, - "end": 13809, - "loc": { - "start": { - "line": 400, - "column": 57 - }, - "end": { - "line": 400, - "column": 58 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13823, - "end": 13824, - "loc": { - "start": { - "line": 401, - "column": 12 - }, - "end": { - "line": 401, - "column": 13 - } - } - }, - { - "type": "CommentLine", - "value": " We get the frame at the specified index.", - "start": 13840, - "end": 13883, - "loc": { - "start": { - "line": 403, - "column": 12 - }, - "end": { - "line": 403, - "column": 55 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 13897, - "end": 13899, - "loc": { - "start": { - "line": 404, - "column": 12 - }, - "end": { - "line": 404, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13900, - "end": 13901, - "loc": { - "start": { - "line": 404, - "column": 15 - }, - "end": { - "line": 404, - "column": 16 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 13901, - "end": 13905, - "loc": { - "start": { - "line": 404, - "column": 16 - }, - "end": { - "line": 404, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13905, - "end": 13906, - "loc": { - "start": { - "line": 404, - "column": 20 - }, - "end": { - "line": 404, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 13906, - "end": 13912, - "loc": { - "start": { - "line": 404, - "column": 21 - }, - "end": { - "line": 404, - "column": 27 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13912, - "end": 13913, - "loc": { - "start": { - "line": 404, - "column": 27 - }, - "end": { - "line": 404, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 13913, - "end": 13919, - "loc": { - "start": { - "line": 404, - "column": 28 - }, - "end": { - "line": 404, - "column": 34 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13919, - "end": 13920, - "loc": { - "start": { - "line": 404, - "column": 34 - }, - "end": { - "line": 404, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13920, - "end": 13921, - "loc": { - "start": { - "line": 404, - "column": 35 - }, - "end": { - "line": 404, - "column": 36 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13922, - "end": 13923, - "loc": { - "start": { - "line": 404, - "column": 37 - }, - "end": { - "line": 404, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameAtIndex", - "start": 13941, - "end": 13953, - "loc": { - "start": { - "line": 405, - "column": 16 - }, - "end": { - "line": 405, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 13954, - "end": 13955, - "loc": { - "start": { - "line": 405, - "column": 29 - }, - "end": { - "line": 405, - "column": 30 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 13956, - "end": 13960, - "loc": { - "start": { - "line": 405, - "column": 31 - }, - "end": { - "line": 405, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13960, - "end": 13961, - "loc": { - "start": { - "line": 405, - "column": 35 - }, - "end": { - "line": 405, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 13961, - "end": 13967, - "loc": { - "start": { - "line": 405, - "column": 36 - }, - "end": { - "line": 405, - "column": 42 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13967, - "end": 13968, - "loc": { - "start": { - "line": 405, - "column": 42 - }, - "end": { - "line": 405, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 13968, - "end": 13974, - "loc": { - "start": { - "line": 405, - "column": 43 - }, - "end": { - "line": 405, - "column": 49 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13974, - "end": 13975, - "loc": { - "start": { - "line": 405, - "column": 49 - }, - "end": { - "line": 405, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 13975, - "end": 13976, - "loc": { - "start": { - "line": 405, - "column": 50 - }, - "end": { - "line": 405, - "column": 51 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 13990, - "end": 13991, - "loc": { - "start": { - "line": 406, - "column": 12 - }, - "end": { - "line": 406, - "column": 13 - } - } - }, - { - "type": "CommentLine", - "value": " If both frames can be found, we can swap their data.", - "start": 14007, - "end": 14062, - "loc": { - "start": { - "line": 408, - "column": 12 - }, - "end": { - "line": 408, - "column": 67 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 14076, - "end": 14078, - "loc": { - "start": { - "line": 409, - "column": 12 - }, - "end": { - "line": 409, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14079, - "end": 14080, - "loc": { - "start": { - "line": 409, - "column": 15 - }, - "end": { - "line": 409, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentFrame", - "start": 14080, - "end": 14092, - "loc": { - "start": { - "line": 409, - "column": 16 - }, - "end": { - "line": 409, - "column": 28 - } - } - }, - { - "type": { - "label": "&&", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 2, - "updateContext": null - }, - "value": "&&", - "start": 14093, - "end": 14095, - "loc": { - "start": { - "line": 409, - "column": 29 - }, - "end": { - "line": 409, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameAtIndex", - "start": 14096, - "end": 14108, - "loc": { - "start": { - "line": 409, - "column": 32 - }, - "end": { - "line": 409, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14108, - "end": 14109, - "loc": { - "start": { - "line": 409, - "column": 44 - }, - "end": { - "line": 409, - "column": 45 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14110, - "end": 14111, - "loc": { - "start": { - "line": 409, - "column": 46 - }, - "end": { - "line": 409, - "column": 47 - } - } - }, - { - "type": "CommentLine", - "value": " Store frame data", - "start": 14129, - "end": 14148, - "loc": { - "start": { - "line": 410, - "column": 16 - }, - "end": { - "line": 410, - "column": 35 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 14166, - "end": 14171, - "loc": { - "start": { - "line": 411, - "column": 16 - }, - "end": { - "line": 411, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentFrameDataURL", - "start": 14172, - "end": 14191, - "loc": { - "start": { - "line": 411, - "column": 22 - }, - "end": { - "line": 411, - "column": 41 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 14192, - "end": 14193, - "loc": { - "start": { - "line": 411, - "column": 42 - }, - "end": { - "line": 411, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentFrame", - "start": 14194, - "end": 14206, - "loc": { - "start": { - "line": 411, - "column": 44 - }, - "end": { - "line": 411, - "column": 56 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14206, - "end": 14207, - "loc": { - "start": { - "line": 411, - "column": 56 - }, - "end": { - "line": 411, - "column": 57 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDataURL", - "start": 14207, - "end": 14217, - "loc": { - "start": { - "line": 411, - "column": 57 - }, - "end": { - "line": 411, - "column": 67 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14217, - "end": 14218, - "loc": { - "start": { - "line": 411, - "column": 67 - }, - "end": { - "line": 411, - "column": 68 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14218, - "end": 14219, - "loc": { - "start": { - "line": 411, - "column": 68 - }, - "end": { - "line": 411, - "column": 69 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14219, - "end": 14220, - "loc": { - "start": { - "line": 411, - "column": 69 - }, - "end": { - "line": 411, - "column": 70 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 14238, - "end": 14243, - "loc": { - "start": { - "line": 412, - "column": 16 - }, - "end": { - "line": 412, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentFrameDelay", - "start": 14244, - "end": 14261, - "loc": { - "start": { - "line": 412, - "column": 22 - }, - "end": { - "line": 412, - "column": 39 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 14262, - "end": 14263, - "loc": { - "start": { - "line": 412, - "column": 40 - }, - "end": { - "line": 412, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentFrame", - "start": 14264, - "end": 14276, - "loc": { - "start": { - "line": 412, - "column": 42 - }, - "end": { - "line": 412, - "column": 54 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14276, - "end": 14277, - "loc": { - "start": { - "line": 412, - "column": 54 - }, - "end": { - "line": 412, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDelay", - "start": 14277, - "end": 14285, - "loc": { - "start": { - "line": 412, - "column": 55 - }, - "end": { - "line": 412, - "column": 63 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14285, - "end": 14286, - "loc": { - "start": { - "line": 412, - "column": 63 - }, - "end": { - "line": 412, - "column": 64 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14286, - "end": 14287, - "loc": { - "start": { - "line": 412, - "column": 64 - }, - "end": { - "line": 412, - "column": 65 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14287, - "end": 14288, - "loc": { - "start": { - "line": 412, - "column": 65 - }, - "end": { - "line": 412, - "column": 66 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 14308, - "end": 14313, - "loc": { - "start": { - "line": 414, - "column": 16 - }, - "end": { - "line": 414, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameAtIndexDataURL", - "start": 14314, - "end": 14333, - "loc": { - "start": { - "line": 414, - "column": 22 - }, - "end": { - "line": 414, - "column": 41 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 14334, - "end": 14335, - "loc": { - "start": { - "line": 414, - "column": 42 - }, - "end": { - "line": 414, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameAtIndex", - "start": 14336, - "end": 14348, - "loc": { - "start": { - "line": 414, - "column": 44 - }, - "end": { - "line": 414, - "column": 56 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14348, - "end": 14349, - "loc": { - "start": { - "line": 414, - "column": 56 - }, - "end": { - "line": 414, - "column": 57 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDataURL", - "start": 14349, - "end": 14359, - "loc": { - "start": { - "line": 414, - "column": 57 - }, - "end": { - "line": 414, - "column": 67 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14359, - "end": 14360, - "loc": { - "start": { - "line": 414, - "column": 67 - }, - "end": { - "line": 414, - "column": 68 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14360, - "end": 14361, - "loc": { - "start": { - "line": 414, - "column": 68 - }, - "end": { - "line": 414, - "column": 69 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14361, - "end": 14362, - "loc": { - "start": { - "line": 414, - "column": 69 - }, - "end": { - "line": 414, - "column": 70 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 14380, - "end": 14385, - "loc": { - "start": { - "line": 415, - "column": 16 - }, - "end": { - "line": 415, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameAtIndexDelay", - "start": 14386, - "end": 14403, - "loc": { - "start": { - "line": 415, - "column": 22 - }, - "end": { - "line": 415, - "column": 39 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 14404, - "end": 14405, - "loc": { - "start": { - "line": 415, - "column": 40 - }, - "end": { - "line": 415, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameAtIndex", - "start": 14406, - "end": 14418, - "loc": { - "start": { - "line": 415, - "column": 42 - }, - "end": { - "line": 415, - "column": 54 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14418, - "end": 14419, - "loc": { - "start": { - "line": 415, - "column": 54 - }, - "end": { - "line": 415, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDelay", - "start": 14419, - "end": 14427, - "loc": { - "start": { - "line": 415, - "column": 55 - }, - "end": { - "line": 415, - "column": 63 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14427, - "end": 14428, - "loc": { - "start": { - "line": 415, - "column": 63 - }, - "end": { - "line": 415, - "column": 64 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14428, - "end": 14429, - "loc": { - "start": { - "line": 415, - "column": 64 - }, - "end": { - "line": 415, - "column": 65 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14429, - "end": 14430, - "loc": { - "start": { - "line": 415, - "column": 65 - }, - "end": { - "line": 415, - "column": 66 - } - } - }, - { - "type": "CommentLine", - "value": " Swap data from frame", - "start": 14450, - "end": 14473, - "loc": { - "start": { - "line": 417, - "column": 16 - }, - "end": { - "line": 417, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentFrame", - "start": 14491, - "end": 14503, - "loc": { - "start": { - "line": 418, - "column": 16 - }, - "end": { - "line": 418, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14503, - "end": 14504, - "loc": { - "start": { - "line": 418, - "column": 28 - }, - "end": { - "line": 418, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDataURL", - "start": 14504, - "end": 14514, - "loc": { - "start": { - "line": 418, - "column": 29 - }, - "end": { - "line": 418, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14514, - "end": 14515, - "loc": { - "start": { - "line": 418, - "column": 39 - }, - "end": { - "line": 418, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameAtIndexDataURL", - "start": 14515, - "end": 14534, - "loc": { - "start": { - "line": 418, - "column": 40 - }, - "end": { - "line": 418, - "column": 59 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14534, - "end": 14535, - "loc": { - "start": { - "line": 418, - "column": 59 - }, - "end": { - "line": 418, - "column": 60 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14535, - "end": 14536, - "loc": { - "start": { - "line": 418, - "column": 60 - }, - "end": { - "line": 418, - "column": 61 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentFrame", - "start": 14554, - "end": 14566, - "loc": { - "start": { - "line": 419, - "column": 16 - }, - "end": { - "line": 419, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14566, - "end": 14567, - "loc": { - "start": { - "line": 419, - "column": 28 - }, - "end": { - "line": 419, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDelay", - "start": 14567, - "end": 14575, - "loc": { - "start": { - "line": 419, - "column": 29 - }, - "end": { - "line": 419, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14575, - "end": 14576, - "loc": { - "start": { - "line": 419, - "column": 37 - }, - "end": { - "line": 419, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameAtIndexDelay", - "start": 14576, - "end": 14593, - "loc": { - "start": { - "line": 419, - "column": 38 - }, - "end": { - "line": 419, - "column": 55 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14593, - "end": 14594, - "loc": { - "start": { - "line": 419, - "column": 55 - }, - "end": { - "line": 419, - "column": 56 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14594, - "end": 14595, - "loc": { - "start": { - "line": 419, - "column": 56 - }, - "end": { - "line": 419, - "column": 57 - } - } - }, - { - "type": "CommentLine", - "value": " Swap data to frame", - "start": 14613, - "end": 14634, - "loc": { - "start": { - "line": 420, - "column": 16 - }, - "end": { - "line": 420, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameAtIndex", - "start": 14652, - "end": 14664, - "loc": { - "start": { - "line": 421, - "column": 16 - }, - "end": { - "line": 421, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14664, - "end": 14665, - "loc": { - "start": { - "line": 421, - "column": 28 - }, - "end": { - "line": 421, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDataURL", - "start": 14665, - "end": 14675, - "loc": { - "start": { - "line": 421, - "column": 29 - }, - "end": { - "line": 421, - "column": 39 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14675, - "end": 14676, - "loc": { - "start": { - "line": 421, - "column": 39 - }, - "end": { - "line": 421, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentFrameDataURL", - "start": 14676, - "end": 14695, - "loc": { - "start": { - "line": 421, - "column": 40 - }, - "end": { - "line": 421, - "column": 59 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14695, - "end": 14696, - "loc": { - "start": { - "line": 421, - "column": 59 - }, - "end": { - "line": 421, - "column": 60 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14696, - "end": 14697, - "loc": { - "start": { - "line": 421, - "column": 60 - }, - "end": { - "line": 421, - "column": 61 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameAtIndex", - "start": 14715, - "end": 14727, - "loc": { - "start": { - "line": 422, - "column": 16 - }, - "end": { - "line": 422, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14727, - "end": 14728, - "loc": { - "start": { - "line": 422, - "column": 28 - }, - "end": { - "line": 422, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "setDelay", - "start": 14728, - "end": 14736, - "loc": { - "start": { - "line": 422, - "column": 29 - }, - "end": { - "line": 422, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14736, - "end": 14737, - "loc": { - "start": { - "line": 422, - "column": 37 - }, - "end": { - "line": 422, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "currentFrameDelay", - "start": 14737, - "end": 14754, - "loc": { - "start": { - "line": 422, - "column": 38 - }, - "end": { - "line": 422, - "column": 55 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14754, - "end": 14755, - "loc": { - "start": { - "line": 422, - "column": 55 - }, - "end": { - "line": 422, - "column": 56 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14755, - "end": 14756, - "loc": { - "start": { - "line": 422, - "column": 56 - }, - "end": { - "line": 422, - "column": 57 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14770, - "end": 14771, - "loc": { - "start": { - "line": 423, - "column": 12 - }, - "end": { - "line": 423, - "column": 13 - } - } - }, - { - "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": 14772, - "end": 14776, - "loc": { - "start": { - "line": 423, - "column": 14 - }, - "end": { - "line": 423, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14777, - "end": 14778, - "loc": { - "start": { - "line": 423, - "column": 19 - }, - "end": { - "line": 423, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 14796, - "end": 14799, - "loc": { - "start": { - "line": 424, - "column": 16 - }, - "end": { - "line": 424, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14799, - "end": 14800, - "loc": { - "start": { - "line": 424, - "column": 19 - }, - "end": { - "line": 424, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 14800, - "end": 14806, - "loc": { - "start": { - "line": 424, - "column": 20 - }, - "end": { - "line": 424, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14806, - "end": 14807, - "loc": { - "start": { - "line": 424, - "column": 26 - }, - "end": { - "line": 424, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 14807, - "end": 14813, - "loc": { - "start": { - "line": 424, - "column": 27 - }, - "end": { - "line": 424, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14813, - "end": 14814, - "loc": { - "start": { - "line": 424, - "column": 33 - }, - "end": { - "line": 424, - "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": 14814, - "end": 14826, - "loc": { - "start": { - "line": 424, - "column": 34 - }, - "end": { - "line": 424, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14826, - "end": 14827, - "loc": { - "start": { - "line": 424, - "column": 46 - }, - "end": { - "line": 424, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14827, - "end": 14828, - "loc": { - "start": { - "line": 424, - "column": 47 - }, - "end": { - "line": 424, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 14828, - "end": 14833, - "loc": { - "start": { - "line": 424, - "column": 48 - }, - "end": { - "line": 424, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14833, - "end": 14834, - "loc": { - "start": { - "line": 424, - "column": 53 - }, - "end": { - "line": 424, - "column": 54 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "There was no frame found at pCurrentIndex, or there was no frame found at pIndex!", - "start": 14834, - "end": 14917, - "loc": { - "start": { - "line": 424, - "column": 54 - }, - "end": { - "line": 424, - "column": 137 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14917, - "end": 14918, - "loc": { - "start": { - "line": 424, - "column": 137 - }, - "end": { - "line": 424, - "column": 138 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14918, - "end": 14919, - "loc": { - "start": { - "line": 424, - "column": 138 - }, - "end": { - "line": 424, - "column": 139 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14933, - "end": 14934, - "loc": { - "start": { - "line": 425, - "column": 12 - }, - "end": { - "line": 425, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14944, - "end": 14945, - "loc": { - "start": { - "line": 426, - "column": 8 - }, - "end": { - "line": 426, - "column": 9 - } - } - }, - { - "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": 14946, - "end": 14950, - "loc": { - "start": { - "line": 426, - "column": 10 - }, - "end": { - "line": 426, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14951, - "end": 14952, - "loc": { - "start": { - "line": 426, - "column": 15 - }, - "end": { - "line": 426, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 14966, - "end": 14969, - "loc": { - "start": { - "line": 427, - "column": 12 - }, - "end": { - "line": 427, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14969, - "end": 14970, - "loc": { - "start": { - "line": 427, - "column": 15 - }, - "end": { - "line": 427, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 14970, - "end": 14976, - "loc": { - "start": { - "line": 427, - "column": 16 - }, - "end": { - "line": 427, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14976, - "end": 14977, - "loc": { - "start": { - "line": 427, - "column": 22 - }, - "end": { - "line": 427, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 14977, - "end": 14983, - "loc": { - "start": { - "line": 427, - "column": 23 - }, - "end": { - "line": 427, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14983, - "end": 14984, - "loc": { - "start": { - "line": 427, - "column": 29 - }, - "end": { - "line": 427, - "column": 30 - } - } - }, - { - "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": 14984, - "end": 14996, - "loc": { - "start": { - "line": 427, - "column": 30 - }, - "end": { - "line": 427, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 14996, - "end": 14997, - "loc": { - "start": { - "line": 427, - "column": 42 - }, - "end": { - "line": 427, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 14997, - "end": 14998, - "loc": { - "start": { - "line": 427, - "column": 43 - }, - "end": { - "line": 427, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 14998, - "end": 15003, - "loc": { - "start": { - "line": 427, - "column": 44 - }, - "end": { - "line": 427, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15003, - "end": 15004, - "loc": { - "start": { - "line": 427, - "column": 49 - }, - "end": { - "line": 427, - "column": 50 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid type used!", - "start": 15004, - "end": 15024, - "loc": { - "start": { - "line": 427, - "column": 50 - }, - "end": { - "line": 427, - "column": 70 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15024, - "end": 15025, - "loc": { - "start": { - "line": 427, - "column": 70 - }, - "end": { - "line": 427, - "column": 71 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15025, - "end": 15026, - "loc": { - "start": { - "line": 427, - "column": 71 - }, - "end": { - "line": 427, - "column": 72 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15036, - "end": 15037, - "loc": { - "start": { - "line": 428, - "column": 8 - }, - "end": { - "line": 428, - "column": 9 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 15047, - "end": 15053, - "loc": { - "start": { - "line": 429, - "column": 8 - }, - "end": { - "line": 429, - "column": 14 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 15054, - "end": 15058, - "loc": { - "start": { - "line": 429, - "column": 15 - }, - "end": { - "line": 429, - "column": 19 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15058, - "end": 15059, - "loc": { - "start": { - "line": 429, - "column": 19 - }, - "end": { - "line": 429, - "column": 20 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15065, - "end": 15066, - "loc": { - "start": { - "line": 430, - "column": 4 - }, - "end": { - "line": 430, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the frame existing at pIndex.\r\n * Frame 0 will actually be frame \"1\" in the animation. As this icon will actually be frame 0.\r\n * If you are trying to get \"frame\" 1. Then you will need to use the icon's delay and data url. As that is frame 0.\r\n * @param {number} pIndex - The index of the frame to get.\r\n * @returns {Frame|undefined} The frame found at pIndex.\r\n ", - "start": 15072, - "end": 15474, - "loc": { - "start": { - "line": 431, - "column": 4 - }, - "end": { - "line": 437, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getFrame", - "start": 15480, - "end": 15488, - "loc": { - "start": { - "line": 438, - "column": 4 - }, - "end": { - "line": 438, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15488, - "end": 15489, - "loc": { - "start": { - "line": 438, - "column": 12 - }, - "end": { - "line": 438, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 15489, - "end": 15495, - "loc": { - "start": { - "line": 438, - "column": 13 - }, - "end": { - "line": 438, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15495, - "end": 15496, - "loc": { - "start": { - "line": 438, - "column": 19 - }, - "end": { - "line": 438, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15497, - "end": 15498, - "loc": { - "start": { - "line": 438, - "column": 21 - }, - "end": { - "line": 438, - "column": 22 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 15508, - "end": 15510, - "loc": { - "start": { - "line": 439, - "column": 8 - }, - "end": { - "line": 439, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15511, - "end": 15512, - "loc": { - "start": { - "line": 439, - "column": 11 - }, - "end": { - "line": 439, - "column": 12 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 15512, - "end": 15518, - "loc": { - "start": { - "line": 439, - "column": 12 - }, - "end": { - "line": 439, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15518, - "end": 15519, - "loc": { - "start": { - "line": 439, - "column": 18 - }, - "end": { - "line": 439, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 15519, - "end": 15525, - "loc": { - "start": { - "line": 439, - "column": 19 - }, - "end": { - "line": 439, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15525, - "end": 15526, - "loc": { - "start": { - "line": 439, - "column": 25 - }, - "end": { - "line": 439, - "column": 26 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 15527, - "end": 15530, - "loc": { - "start": { - "line": 439, - "column": 27 - }, - "end": { - "line": 439, - "column": 30 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "number", - "start": 15531, - "end": 15539, - "loc": { - "start": { - "line": 439, - "column": 31 - }, - "end": { - "line": 439, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15539, - "end": 15540, - "loc": { - "start": { - "line": 439, - "column": 39 - }, - "end": { - "line": 439, - "column": 40 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15541, - "end": 15542, - "loc": { - "start": { - "line": 439, - "column": 41 - }, - "end": { - "line": 439, - "column": 42 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 15556, - "end": 15562, - "loc": { - "start": { - "line": 440, - "column": 12 - }, - "end": { - "line": 440, - "column": 18 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 15563, - "end": 15567, - "loc": { - "start": { - "line": 440, - "column": 19 - }, - "end": { - "line": 440, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15567, - "end": 15568, - "loc": { - "start": { - "line": 440, - "column": 23 - }, - "end": { - "line": 440, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 15568, - "end": 15574, - "loc": { - "start": { - "line": 440, - "column": 24 - }, - "end": { - "line": 440, - "column": 30 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15574, - "end": 15575, - "loc": { - "start": { - "line": 440, - "column": 30 - }, - "end": { - "line": 440, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIndex", - "start": 15575, - "end": 15581, - "loc": { - "start": { - "line": 440, - "column": 31 - }, - "end": { - "line": 440, - "column": 37 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15581, - "end": 15582, - "loc": { - "start": { - "line": 440, - "column": 37 - }, - "end": { - "line": 440, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15582, - "end": 15583, - "loc": { - "start": { - "line": 440, - "column": 38 - }, - "end": { - "line": 440, - "column": 39 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15593, - "end": 15594, - "loc": { - "start": { - "line": 441, - "column": 8 - }, - "end": { - "line": 441, - "column": 9 - } - } - }, - { - "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": 15595, - "end": 15599, - "loc": { - "start": { - "line": 441, - "column": 10 - }, - "end": { - "line": 441, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15600, - "end": 15601, - "loc": { - "start": { - "line": 441, - "column": 15 - }, - "end": { - "line": 441, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 15615, - "end": 15618, - "loc": { - "start": { - "line": 442, - "column": 12 - }, - "end": { - "line": 442, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15618, - "end": 15619, - "loc": { - "start": { - "line": 442, - "column": 15 - }, - "end": { - "line": 442, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 15619, - "end": 15625, - "loc": { - "start": { - "line": 442, - "column": 16 - }, - "end": { - "line": 442, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15625, - "end": 15626, - "loc": { - "start": { - "line": 442, - "column": 22 - }, - "end": { - "line": 442, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 15626, - "end": 15632, - "loc": { - "start": { - "line": 442, - "column": 23 - }, - "end": { - "line": 442, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15632, - "end": 15633, - "loc": { - "start": { - "line": 442, - "column": 29 - }, - "end": { - "line": 442, - "column": 30 - } - } - }, - { - "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": 15633, - "end": 15645, - "loc": { - "start": { - "line": 442, - "column": 30 - }, - "end": { - "line": 442, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15645, - "end": 15646, - "loc": { - "start": { - "line": 442, - "column": 42 - }, - "end": { - "line": 442, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15646, - "end": 15647, - "loc": { - "start": { - "line": 442, - "column": 43 - }, - "end": { - "line": 442, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 15647, - "end": 15652, - "loc": { - "start": { - "line": 442, - "column": 44 - }, - "end": { - "line": 442, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15652, - "end": 15653, - "loc": { - "start": { - "line": 442, - "column": 49 - }, - "end": { - "line": 442, - "column": 50 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid type used!", - "start": 15653, - "end": 15673, - "loc": { - "start": { - "line": 442, - "column": 50 - }, - "end": { - "line": 442, - "column": 70 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15673, - "end": 15674, - "loc": { - "start": { - "line": 442, - "column": 70 - }, - "end": { - "line": 442, - "column": 71 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15674, - "end": 15675, - "loc": { - "start": { - "line": 442, - "column": 71 - }, - "end": { - "line": 442, - "column": 72 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15685, - "end": 15686, - "loc": { - "start": { - "line": 443, - "column": 8 - }, - "end": { - "line": 443, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15692, - "end": 15693, - "loc": { - "start": { - "line": 444, - "column": 4 - }, - "end": { - "line": 444, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Returns an array of all the frames this icons has.\r\n * @returns {Array} An array of frames this icon has.\r\n ", - "start": 15699, - "end": 15829, - "loc": { - "start": { - "line": 445, - "column": 4 - }, - "end": { - "line": 448, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getFrames", - "start": 15835, - "end": 15844, - "loc": { - "start": { - "line": 449, - "column": 4 - }, - "end": { - "line": 449, - "column": 13 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15844, - "end": 15845, - "loc": { - "start": { - "line": 449, - "column": 13 - }, - "end": { - "line": 449, - "column": 14 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15845, - "end": 15846, - "loc": { - "start": { - "line": 449, - "column": 14 - }, - "end": { - "line": 449, - "column": 15 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15847, - "end": 15848, - "loc": { - "start": { - "line": 449, - "column": 16 - }, - "end": { - "line": 449, - "column": 17 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 15858, - "end": 15864, - "loc": { - "start": { - "line": 450, - "column": 8 - }, - "end": { - "line": 450, - "column": 14 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15865, - "end": 15866, - "loc": { - "start": { - "line": 450, - "column": 15 - }, - "end": { - "line": 450, - "column": 16 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15867, - "end": 15870, - "loc": { - "start": { - "line": 450, - "column": 17 - }, - "end": { - "line": 450, - "column": 20 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 15870, - "end": 15874, - "loc": { - "start": { - "line": 450, - "column": 20 - }, - "end": { - "line": 450, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15874, - "end": 15875, - "loc": { - "start": { - "line": 450, - "column": 24 - }, - "end": { - "line": 450, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 15875, - "end": 15881, - "loc": { - "start": { - "line": 450, - "column": 25 - }, - "end": { - "line": 450, - "column": 31 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15882, - "end": 15883, - "loc": { - "start": { - "line": 450, - "column": 32 - }, - "end": { - "line": 450, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 15883, - "end": 15884, - "loc": { - "start": { - "line": 450, - "column": 33 - }, - "end": { - "line": 450, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 15890, - "end": 15891, - "loc": { - "start": { - "line": 451, - "column": 4 - }, - "end": { - "line": 451, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the frames belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the frame data of all frames.\r\n ", - "start": 15897, - "end": 16053, - "loc": { - "start": { - "line": 452, - "column": 4 - }, - "end": { - "line": 456, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getFramesData", - "start": 16059, - "end": 16072, - "loc": { - "start": { - "line": 457, - "column": 4 - }, - "end": { - "line": 457, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16072, - "end": 16073, - "loc": { - "start": { - "line": 457, - "column": 17 - }, - "end": { - "line": 457, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16073, - "end": 16074, - "loc": { - "start": { - "line": 457, - "column": 18 - }, - "end": { - "line": 457, - "column": 19 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16075, - "end": 16076, - "loc": { - "start": { - "line": 457, - "column": 20 - }, - "end": { - "line": 457, - "column": 21 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 16086, - "end": 16091, - "loc": { - "start": { - "line": 458, - "column": 8 - }, - "end": { - "line": 458, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameDataArray", - "start": 16092, - "end": 16106, - "loc": { - "start": { - "line": 458, - "column": 14 - }, - "end": { - "line": 458, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 16107, - "end": 16108, - "loc": { - "start": { - "line": 458, - "column": 29 - }, - "end": { - "line": 458, - "column": 30 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16109, - "end": 16110, - "loc": { - "start": { - "line": 458, - "column": 31 - }, - "end": { - "line": 458, - "column": 32 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16110, - "end": 16111, - "loc": { - "start": { - "line": 458, - "column": 32 - }, - "end": { - "line": 458, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16111, - "end": 16112, - "loc": { - "start": { - "line": 458, - "column": 33 - }, - "end": { - "line": 458, - "column": 34 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 16122, - "end": 16126, - "loc": { - "start": { - "line": 459, - "column": 8 - }, - "end": { - "line": 459, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16126, - "end": 16127, - "loc": { - "start": { - "line": 459, - "column": 12 - }, - "end": { - "line": 459, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 16127, - "end": 16133, - "loc": { - "start": { - "line": 459, - "column": 13 - }, - "end": { - "line": 459, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16133, - "end": 16134, - "loc": { - "start": { - "line": 459, - "column": 19 - }, - "end": { - "line": 459, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 16134, - "end": 16141, - "loc": { - "start": { - "line": 459, - "column": 20 - }, - "end": { - "line": 459, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16141, - "end": 16142, - "loc": { - "start": { - "line": 459, - "column": 27 - }, - "end": { - "line": 459, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16142, - "end": 16143, - "loc": { - "start": { - "line": 459, - "column": 28 - }, - "end": { - "line": 459, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 16143, - "end": 16149, - "loc": { - "start": { - "line": 459, - "column": 29 - }, - "end": { - "line": 459, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16149, - "end": 16150, - "loc": { - "start": { - "line": 459, - "column": 35 - }, - "end": { - "line": 459, - "column": 36 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16151, - "end": 16153, - "loc": { - "start": { - "line": 459, - "column": 37 - }, - "end": { - "line": 459, - "column": 39 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16154, - "end": 16155, - "loc": { - "start": { - "line": 459, - "column": 40 - }, - "end": { - "line": 459, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameDataArray", - "start": 16169, - "end": 16183, - "loc": { - "start": { - "line": 460, - "column": 12 - }, - "end": { - "line": 460, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16183, - "end": 16184, - "loc": { - "start": { - "line": 460, - "column": 26 - }, - "end": { - "line": 460, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 16184, - "end": 16188, - "loc": { - "start": { - "line": 460, - "column": 27 - }, - "end": { - "line": 460, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16188, - "end": 16189, - "loc": { - "start": { - "line": 460, - "column": 31 - }, - "end": { - "line": 460, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 16189, - "end": 16195, - "loc": { - "start": { - "line": 460, - "column": 32 - }, - "end": { - "line": 460, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16195, - "end": 16196, - "loc": { - "start": { - "line": 460, - "column": 38 - }, - "end": { - "line": 460, - "column": 39 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 16196, - "end": 16202, - "loc": { - "start": { - "line": 460, - "column": 39 - }, - "end": { - "line": 460, - "column": 45 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16202, - "end": 16203, - "loc": { - "start": { - "line": 460, - "column": 45 - }, - "end": { - "line": 460, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16203, - "end": 16204, - "loc": { - "start": { - "line": 460, - "column": 46 - }, - "end": { - "line": 460, - "column": 47 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16204, - "end": 16205, - "loc": { - "start": { - "line": 460, - "column": 47 - }, - "end": { - "line": 460, - "column": 48 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16205, - "end": 16206, - "loc": { - "start": { - "line": 460, - "column": 48 - }, - "end": { - "line": 460, - "column": 49 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16216, - "end": 16217, - "loc": { - "start": { - "line": 461, - "column": 8 - }, - "end": { - "line": 461, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16217, - "end": 16218, - "loc": { - "start": { - "line": 461, - "column": 9 - }, - "end": { - "line": 461, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16218, - "end": 16219, - "loc": { - "start": { - "line": 461, - "column": 10 - }, - "end": { - "line": 461, - "column": 11 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 16229, - "end": 16235, - "loc": { - "start": { - "line": 462, - "column": 8 - }, - "end": { - "line": 462, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frameDataArray", - "start": 16236, - "end": 16250, - "loc": { - "start": { - "line": 462, - "column": 15 - }, - "end": { - "line": 462, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16250, - "end": 16251, - "loc": { - "start": { - "line": 462, - "column": 29 - }, - "end": { - "line": 462, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16257, - "end": 16258, - "loc": { - "start": { - "line": 463, - "column": 4 - }, - "end": { - "line": 463, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets the state that has the name pName.\r\n * @param {string} pName - The name of the state to get.\r\n * @returns {Icon} The state that has the name of pName.\r\n ", - "start": 16264, - "end": 16448, - "loc": { - "start": { - "line": 464, - "column": 4 - }, - "end": { - "line": 468, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getState", - "start": 16454, - "end": 16462, - "loc": { - "start": { - "line": 469, - "column": 4 - }, - "end": { - "line": 469, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16462, - "end": 16463, - "loc": { - "start": { - "line": 469, - "column": 12 - }, - "end": { - "line": 469, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 16463, - "end": 16468, - "loc": { - "start": { - "line": 469, - "column": 13 - }, - "end": { - "line": 469, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16468, - "end": 16469, - "loc": { - "start": { - "line": 469, - "column": 18 - }, - "end": { - "line": 469, - "column": 19 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16470, - "end": 16471, - "loc": { - "start": { - "line": 469, - "column": 20 - }, - "end": { - "line": 469, - "column": 21 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 16481, - "end": 16483, - "loc": { - "start": { - "line": 470, - "column": 8 - }, - "end": { - "line": 470, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16484, - "end": 16485, - "loc": { - "start": { - "line": 470, - "column": 11 - }, - "end": { - "line": 470, - "column": 12 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 16485, - "end": 16491, - "loc": { - "start": { - "line": 470, - "column": 12 - }, - "end": { - "line": 470, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16491, - "end": 16492, - "loc": { - "start": { - "line": 470, - "column": 18 - }, - "end": { - "line": 470, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 16492, - "end": 16497, - "loc": { - "start": { - "line": 470, - "column": 19 - }, - "end": { - "line": 470, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16497, - "end": 16498, - "loc": { - "start": { - "line": 470, - "column": 24 - }, - "end": { - "line": 470, - "column": 25 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 16499, - "end": 16502, - "loc": { - "start": { - "line": 470, - "column": 26 - }, - "end": { - "line": 470, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "string", - "start": 16503, - "end": 16511, - "loc": { - "start": { - "line": 470, - "column": 30 - }, - "end": { - "line": 470, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16511, - "end": 16512, - "loc": { - "start": { - "line": 470, - "column": 38 - }, - "end": { - "line": 470, - "column": 39 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16513, - "end": 16514, - "loc": { - "start": { - "line": 470, - "column": 40 - }, - "end": { - "line": 470, - "column": 41 - } - } - }, - { - "type": { - "label": "for", - "keyword": "for", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": true, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "for", - "start": 16528, - "end": 16531, - "loc": { - "start": { - "line": 471, - "column": 12 - }, - "end": { - "line": 471, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16532, - "end": 16533, - "loc": { - "start": { - "line": 471, - "column": 16 - }, - "end": { - "line": 471, - "column": 17 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 16533, - "end": 16536, - "loc": { - "start": { - "line": 471, - "column": 17 - }, - "end": { - "line": 471, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 16537, - "end": 16538, - "loc": { - "start": { - "line": 471, - "column": 21 - }, - "end": { - "line": 471, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 16539, - "end": 16540, - "loc": { - "start": { - "line": 471, - "column": 23 - }, - "end": { - "line": 471, - "column": 24 - } - } - }, - { - "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": 16541, - "end": 16545, - "loc": { - "start": { - "line": 471, - "column": 25 - }, - "end": { - "line": 471, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16545, - "end": 16546, - "loc": { - "start": { - "line": 471, - "column": 29 - }, - "end": { - "line": 471, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "states", - "start": 16546, - "end": 16552, - "loc": { - "start": { - "line": 471, - "column": 30 - }, - "end": { - "line": 471, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16552, - "end": 16553, - "loc": { - "start": { - "line": 471, - "column": 36 - }, - "end": { - "line": 471, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 16553, - "end": 16559, - "loc": { - "start": { - "line": 471, - "column": 37 - }, - "end": { - "line": 471, - "column": 43 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 16560, - "end": 16561, - "loc": { - "start": { - "line": 471, - "column": 44 - }, - "end": { - "line": 471, - "column": 45 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 16562, - "end": 16563, - "loc": { - "start": { - "line": 471, - "column": 46 - }, - "end": { - "line": 471, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16563, - "end": 16564, - "loc": { - "start": { - "line": 471, - "column": 47 - }, - "end": { - "line": 471, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 16565, - "end": 16566, - "loc": { - "start": { - "line": 471, - "column": 49 - }, - "end": { - "line": 471, - "column": 50 - } - } - }, - { - "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": ">=", - "start": 16567, - "end": 16569, - "loc": { - "start": { - "line": 471, - "column": 51 - }, - "end": { - "line": 471, - "column": 53 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 16570, - "end": 16571, - "loc": { - "start": { - "line": 471, - "column": 54 - }, - "end": { - "line": 471, - "column": 55 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16571, - "end": 16572, - "loc": { - "start": { - "line": 471, - "column": 55 - }, - "end": { - "line": 471, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 16573, - "end": 16574, - "loc": { - "start": { - "line": 471, - "column": 57 - }, - "end": { - "line": 471, - "column": 58 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "--", - "start": 16574, - "end": 16576, - "loc": { - "start": { - "line": 471, - "column": 58 - }, - "end": { - "line": 471, - "column": 60 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16576, - "end": 16577, - "loc": { - "start": { - "line": 471, - "column": 60 - }, - "end": { - "line": 471, - "column": 61 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16578, - "end": 16579, - "loc": { - "start": { - "line": 471, - "column": 62 - }, - "end": { - "line": 471, - "column": 63 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 16597, - "end": 16602, - "loc": { - "start": { - "line": 472, - "column": 16 - }, - "end": { - "line": 472, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 16603, - "end": 16607, - "loc": { - "start": { - "line": 472, - "column": 22 - }, - "end": { - "line": 472, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 16608, - "end": 16609, - "loc": { - "start": { - "line": 472, - "column": 27 - }, - "end": { - "line": 472, - "column": 28 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 16610, - "end": 16614, - "loc": { - "start": { - "line": 472, - "column": 29 - }, - "end": { - "line": 472, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16614, - "end": 16615, - "loc": { - "start": { - "line": 472, - "column": 33 - }, - "end": { - "line": 472, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "states", - "start": 16615, - "end": 16621, - "loc": { - "start": { - "line": 472, - "column": 34 - }, - "end": { - "line": 472, - "column": 40 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16621, - "end": 16622, - "loc": { - "start": { - "line": 472, - "column": 40 - }, - "end": { - "line": 472, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 16622, - "end": 16623, - "loc": { - "start": { - "line": 472, - "column": 41 - }, - "end": { - "line": 472, - "column": 42 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16623, - "end": 16624, - "loc": { - "start": { - "line": 472, - "column": 42 - }, - "end": { - "line": 472, - "column": 43 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16624, - "end": 16625, - "loc": { - "start": { - "line": 472, - "column": 43 - }, - "end": { - "line": 472, - "column": 44 - } - } - }, - { - "type": "CommentLine", - "value": " If the icon has the same name, return that icon", - "start": 16643, - "end": 16693, - "loc": { - "start": { - "line": 473, - "column": 16 - }, - "end": { - "line": 473, - "column": 66 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 16711, - "end": 16713, - "loc": { - "start": { - "line": 474, - "column": 16 - }, - "end": { - "line": 474, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16714, - "end": 16715, - "loc": { - "start": { - "line": 474, - "column": 19 - }, - "end": { - "line": 474, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 16715, - "end": 16719, - "loc": { - "start": { - "line": 474, - "column": 20 - }, - "end": { - "line": 474, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16719, - "end": 16720, - "loc": { - "start": { - "line": 474, - "column": 24 - }, - "end": { - "line": 474, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getName", - "start": 16720, - "end": 16727, - "loc": { - "start": { - "line": 474, - "column": 25 - }, - "end": { - "line": 474, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16727, - "end": 16728, - "loc": { - "start": { - "line": 474, - "column": 32 - }, - "end": { - "line": 474, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16728, - "end": 16729, - "loc": { - "start": { - "line": 474, - "column": 33 - }, - "end": { - "line": 474, - "column": 34 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 16730, - "end": 16733, - "loc": { - "start": { - "line": 474, - "column": 35 - }, - "end": { - "line": 474, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 16734, - "end": 16739, - "loc": { - "start": { - "line": 474, - "column": 39 - }, - "end": { - "line": 474, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16739, - "end": 16740, - "loc": { - "start": { - "line": 474, - "column": 44 - }, - "end": { - "line": 474, - "column": 45 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16741, - "end": 16742, - "loc": { - "start": { - "line": 474, - "column": 46 - }, - "end": { - "line": 474, - "column": 47 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 16764, - "end": 16770, - "loc": { - "start": { - "line": 475, - "column": 20 - }, - "end": { - "line": 475, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 16771, - "end": 16775, - "loc": { - "start": { - "line": 475, - "column": 27 - }, - "end": { - "line": 475, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16775, - "end": 16776, - "loc": { - "start": { - "line": 475, - "column": 31 - }, - "end": { - "line": 475, - "column": 32 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16794, - "end": 16795, - "loc": { - "start": { - "line": 476, - "column": 16 - }, - "end": { - "line": 476, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16809, - "end": 16810, - "loc": { - "start": { - "line": 477, - "column": 12 - }, - "end": { - "line": 477, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16820, - "end": 16821, - "loc": { - "start": { - "line": 478, - "column": 8 - }, - "end": { - "line": 478, - "column": 9 - } - } - }, - { - "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": 16822, - "end": 16826, - "loc": { - "start": { - "line": 478, - "column": 10 - }, - "end": { - "line": 478, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16827, - "end": 16828, - "loc": { - "start": { - "line": 478, - "column": 15 - }, - "end": { - "line": 478, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 16842, - "end": 16845, - "loc": { - "start": { - "line": 479, - "column": 12 - }, - "end": { - "line": 479, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16845, - "end": 16846, - "loc": { - "start": { - "line": 479, - "column": 15 - }, - "end": { - "line": 479, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 16846, - "end": 16852, - "loc": { - "start": { - "line": 479, - "column": 16 - }, - "end": { - "line": 479, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16852, - "end": 16853, - "loc": { - "start": { - "line": 479, - "column": 22 - }, - "end": { - "line": 479, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 16853, - "end": 16859, - "loc": { - "start": { - "line": 479, - "column": 23 - }, - "end": { - "line": 479, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16859, - "end": 16860, - "loc": { - "start": { - "line": 479, - "column": 29 - }, - "end": { - "line": 479, - "column": 30 - } - } - }, - { - "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": 16860, - "end": 16872, - "loc": { - "start": { - "line": 479, - "column": 30 - }, - "end": { - "line": 479, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16872, - "end": 16873, - "loc": { - "start": { - "line": 479, - "column": 42 - }, - "end": { - "line": 479, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16873, - "end": 16874, - "loc": { - "start": { - "line": 479, - "column": 43 - }, - "end": { - "line": 479, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 16874, - "end": 16879, - "loc": { - "start": { - "line": 479, - "column": 44 - }, - "end": { - "line": 479, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16879, - "end": 16880, - "loc": { - "start": { - "line": 479, - "column": 49 - }, - "end": { - "line": 479, - "column": 50 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid name type used!", - "start": 16880, - "end": 16905, - "loc": { - "start": { - "line": 479, - "column": 50 - }, - "end": { - "line": 479, - "column": 75 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16905, - "end": 16906, - "loc": { - "start": { - "line": 479, - "column": 75 - }, - "end": { - "line": 479, - "column": 76 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 16906, - "end": 16907, - "loc": { - "start": { - "line": 479, - "column": 76 - }, - "end": { - "line": 479, - "column": 77 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16917, - "end": 16918, - "loc": { - "start": { - "line": 480, - "column": 8 - }, - "end": { - "line": 480, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16924, - "end": 16925, - "loc": { - "start": { - "line": 481, - "column": 4 - }, - "end": { - "line": 481, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Returns an array of all the states this icons has.\r\n * @returns {Array} An array of states this icon has.\r\n ", - "start": 16931, - "end": 17061, - "loc": { - "start": { - "line": 482, - "column": 4 - }, - "end": { - "line": 485, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getStates", - "start": 17067, - "end": 17076, - "loc": { - "start": { - "line": 486, - "column": 4 - }, - "end": { - "line": 486, - "column": 13 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17076, - "end": 17077, - "loc": { - "start": { - "line": 486, - "column": 13 - }, - "end": { - "line": 486, - "column": 14 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17077, - "end": 17078, - "loc": { - "start": { - "line": 486, - "column": 14 - }, - "end": { - "line": 486, - "column": 15 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17079, - "end": 17080, - "loc": { - "start": { - "line": 486, - "column": 16 - }, - "end": { - "line": 486, - "column": 17 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 17090, - "end": 17096, - "loc": { - "start": { - "line": 487, - "column": 8 - }, - "end": { - "line": 487, - "column": 14 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17097, - "end": 17098, - "loc": { - "start": { - "line": 487, - "column": 15 - }, - "end": { - "line": 487, - "column": 16 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17099, - "end": 17102, - "loc": { - "start": { - "line": 487, - "column": 17 - }, - "end": { - "line": 487, - "column": 20 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 17102, - "end": 17106, - "loc": { - "start": { - "line": 487, - "column": 20 - }, - "end": { - "line": 487, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17106, - "end": 17107, - "loc": { - "start": { - "line": 487, - "column": 24 - }, - "end": { - "line": 487, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "states", - "start": 17107, - "end": 17113, - "loc": { - "start": { - "line": 487, - "column": 25 - }, - "end": { - "line": 487, - "column": 31 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17114, - "end": 17115, - "loc": { - "start": { - "line": 487, - "column": 32 - }, - "end": { - "line": 487, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17115, - "end": 17116, - "loc": { - "start": { - "line": 487, - "column": 33 - }, - "end": { - "line": 487, - "column": 34 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17122, - "end": 17123, - "loc": { - "start": { - "line": 488, - "column": 4 - }, - "end": { - "line": 488, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the states belonging to this icon.\r\n * @private\r\n * @returns {Array} An array containing the state data of all frames.\r\n ", - "start": 17129, - "end": 17285, - "loc": { - "start": { - "line": 489, - "column": 4 - }, - "end": { - "line": 493, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getStatesData", - "start": 17291, - "end": 17304, - "loc": { - "start": { - "line": 494, - "column": 4 - }, - "end": { - "line": 494, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17304, - "end": 17305, - "loc": { - "start": { - "line": 494, - "column": 17 - }, - "end": { - "line": 494, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17305, - "end": 17306, - "loc": { - "start": { - "line": 494, - "column": 18 - }, - "end": { - "line": 494, - "column": 19 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17307, - "end": 17308, - "loc": { - "start": { - "line": 494, - "column": 20 - }, - "end": { - "line": 494, - "column": 21 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 17318, - "end": 17323, - "loc": { - "start": { - "line": 495, - "column": 8 - }, - "end": { - "line": 495, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateDataArray", - "start": 17324, - "end": 17338, - "loc": { - "start": { - "line": 495, - "column": 14 - }, - "end": { - "line": 495, - "column": 28 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 17339, - "end": 17340, - "loc": { - "start": { - "line": 495, - "column": 29 - }, - "end": { - "line": 495, - "column": 30 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17341, - "end": 17342, - "loc": { - "start": { - "line": 495, - "column": 31 - }, - "end": { - "line": 495, - "column": 32 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17342, - "end": 17343, - "loc": { - "start": { - "line": 495, - "column": 32 - }, - "end": { - "line": 495, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17343, - "end": 17344, - "loc": { - "start": { - "line": 495, - "column": 33 - }, - "end": { - "line": 495, - "column": 34 - } - } - }, - { - "type": "CommentLine", - "value": " Loop state array to export relevant information.", - "start": 17354, - "end": 17405, - "loc": { - "start": { - "line": 496, - "column": 8 - }, - "end": { - "line": 496, - "column": 59 - } - } - }, - { - "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": 17415, - "end": 17419, - "loc": { - "start": { - "line": 497, - "column": 8 - }, - "end": { - "line": 497, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17419, - "end": 17420, - "loc": { - "start": { - "line": 497, - "column": 12 - }, - "end": { - "line": 497, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "states", - "start": 17420, - "end": 17426, - "loc": { - "start": { - "line": 497, - "column": 13 - }, - "end": { - "line": 497, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17426, - "end": 17427, - "loc": { - "start": { - "line": 497, - "column": 19 - }, - "end": { - "line": 497, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 17427, - "end": 17434, - "loc": { - "start": { - "line": 497, - "column": 20 - }, - "end": { - "line": 497, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17434, - "end": 17435, - "loc": { - "start": { - "line": 497, - "column": 27 - }, - "end": { - "line": 497, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17435, - "end": 17436, - "loc": { - "start": { - "line": 497, - "column": 28 - }, - "end": { - "line": 497, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pState", - "start": 17436, - "end": 17442, - "loc": { - "start": { - "line": 497, - "column": 29 - }, - "end": { - "line": 497, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17442, - "end": 17443, - "loc": { - "start": { - "line": 497, - "column": 35 - }, - "end": { - "line": 497, - "column": 36 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17444, - "end": 17446, - "loc": { - "start": { - "line": 497, - "column": 37 - }, - "end": { - "line": 497, - "column": 39 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17447, - "end": 17448, - "loc": { - "start": { - "line": 497, - "column": 40 - }, - "end": { - "line": 497, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateDataArray", - "start": 17462, - "end": 17476, - "loc": { - "start": { - "line": 498, - "column": 12 - }, - "end": { - "line": 498, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17476, - "end": 17477, - "loc": { - "start": { - "line": 498, - "column": 26 - }, - "end": { - "line": 498, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 17477, - "end": 17481, - "loc": { - "start": { - "line": 498, - "column": 27 - }, - "end": { - "line": 498, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17481, - "end": 17482, - "loc": { - "start": { - "line": 498, - "column": 31 - }, - "end": { - "line": 498, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pState", - "start": 17482, - "end": 17488, - "loc": { - "start": { - "line": 498, - "column": 32 - }, - "end": { - "line": 498, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17488, - "end": 17489, - "loc": { - "start": { - "line": 498, - "column": 38 - }, - "end": { - "line": 498, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exportAsState", - "start": 17489, - "end": 17502, - "loc": { - "start": { - "line": 498, - "column": 39 - }, - "end": { - "line": 498, - "column": 52 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17502, - "end": 17503, - "loc": { - "start": { - "line": 498, - "column": 52 - }, - "end": { - "line": 498, - "column": 53 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17503, - "end": 17504, - "loc": { - "start": { - "line": 498, - "column": 53 - }, - "end": { - "line": 498, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17504, - "end": 17505, - "loc": { - "start": { - "line": 498, - "column": 54 - }, - "end": { - "line": 498, - "column": 55 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17505, - "end": 17506, - "loc": { - "start": { - "line": 498, - "column": 55 - }, - "end": { - "line": 498, - "column": 56 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17516, - "end": 17517, - "loc": { - "start": { - "line": 499, - "column": 8 - }, - "end": { - "line": 499, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17517, - "end": 17518, - "loc": { - "start": { - "line": 499, - "column": 9 - }, - "end": { - "line": 499, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17518, - "end": 17519, - "loc": { - "start": { - "line": 499, - "column": 10 - }, - "end": { - "line": 499, - "column": 11 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 17529, - "end": 17535, - "loc": { - "start": { - "line": 500, - "column": 8 - }, - "end": { - "line": 500, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateDataArray", - "start": 17536, - "end": 17550, - "loc": { - "start": { - "line": 500, - "column": 15 - }, - "end": { - "line": 500, - "column": 29 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17550, - "end": 17551, - "loc": { - "start": { - "line": 500, - "column": 29 - }, - "end": { - "line": 500, - "column": 30 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17565, - "end": 17566, - "loc": { - "start": { - "line": 501, - "column": 4 - }, - "end": { - "line": 501, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Exports this icon as if it was a state in the proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon as if it were a state.\r\n ", - "start": 17572, - "end": 17760, - "loc": { - "start": { - "line": 502, - "column": 4 - }, - "end": { - "line": 506, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "exportAsState", - "start": 17766, - "end": 17779, - "loc": { - "start": { - "line": 507, - "column": 4 - }, - "end": { - "line": 507, - "column": 17 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17779, - "end": 17780, - "loc": { - "start": { - "line": 507, - "column": 17 - }, - "end": { - "line": 507, - "column": 18 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17780, - "end": 17781, - "loc": { - "start": { - "line": 507, - "column": 18 - }, - "end": { - "line": 507, - "column": 19 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17782, - "end": 17783, - "loc": { - "start": { - "line": 507, - "column": 20 - }, - "end": { - "line": 507, - "column": 21 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 17793, - "end": 17798, - "loc": { - "start": { - "line": 508, - "column": 8 - }, - "end": { - "line": 508, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateData", - "start": 17799, - "end": 17808, - "loc": { - "start": { - "line": 508, - "column": 14 - }, - "end": { - "line": 508, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 17809, - "end": 17810, - "loc": { - "start": { - "line": 508, - "column": 24 - }, - "end": { - "line": 508, - "column": 25 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17811, - "end": 17812, - "loc": { - "start": { - "line": 508, - "column": 26 - }, - "end": { - "line": 508, - "column": 27 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17812, - "end": 17813, - "loc": { - "start": { - "line": 508, - "column": 27 - }, - "end": { - "line": 508, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17813, - "end": 17814, - "loc": { - "start": { - "line": 508, - "column": 28 - }, - "end": { - "line": 508, - "column": 29 - } - } - }, - { - "type": "CommentLine", - "value": " state name", - "start": 17824, - "end": 17837, - "loc": { - "start": { - "line": 509, - "column": 8 - }, - "end": { - "line": 509, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateData", - "start": 17847, - "end": 17856, - "loc": { - "start": { - "line": 510, - "column": 8 - }, - "end": { - "line": 510, - "column": 17 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17856, - "end": 17857, - "loc": { - "start": { - "line": 510, - "column": 17 - }, - "end": { - "line": 510, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 17857, - "end": 17858, - "loc": { - "start": { - "line": 510, - "column": 18 - }, - "end": { - "line": 510, - "column": 19 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17858, - "end": 17859, - "loc": { - "start": { - "line": 510, - "column": 19 - }, - "end": { - "line": 510, - "column": 20 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 17860, - "end": 17861, - "loc": { - "start": { - "line": 510, - "column": 21 - }, - "end": { - "line": 510, - "column": 22 - } - } - }, - { - "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": 17862, - "end": 17866, - "loc": { - "start": { - "line": 510, - "column": 23 - }, - "end": { - "line": 510, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17866, - "end": 17867, - "loc": { - "start": { - "line": 510, - "column": 27 - }, - "end": { - "line": 510, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getName", - "start": 17867, - "end": 17874, - "loc": { - "start": { - "line": 510, - "column": 28 - }, - "end": { - "line": 510, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17874, - "end": 17875, - "loc": { - "start": { - "line": 510, - "column": 35 - }, - "end": { - "line": 510, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17875, - "end": 17876, - "loc": { - "start": { - "line": 510, - "column": 36 - }, - "end": { - "line": 510, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17876, - "end": 17877, - "loc": { - "start": { - "line": 510, - "column": 37 - }, - "end": { - "line": 510, - "column": 38 - } - } - }, - { - "type": "CommentLine", - "value": " state dataURL", - "start": 17887, - "end": 17903, - "loc": { - "start": { - "line": 511, - "column": 8 - }, - "end": { - "line": 511, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateData", - "start": 17913, - "end": 17922, - "loc": { - "start": { - "line": 512, - "column": 8 - }, - "end": { - "line": 512, - "column": 17 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17922, - "end": 17923, - "loc": { - "start": { - "line": 512, - "column": 17 - }, - "end": { - "line": 512, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 17923, - "end": 17924, - "loc": { - "start": { - "line": 512, - "column": 18 - }, - "end": { - "line": 512, - "column": 19 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17924, - "end": 17925, - "loc": { - "start": { - "line": 512, - "column": 19 - }, - "end": { - "line": 512, - "column": 20 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 17926, - "end": 17927, - "loc": { - "start": { - "line": 512, - "column": 21 - }, - "end": { - "line": 512, - "column": 22 - } - } - }, - { - "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": 17928, - "end": 17932, - "loc": { - "start": { - "line": 512, - "column": 23 - }, - "end": { - "line": 512, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17932, - "end": 17933, - "loc": { - "start": { - "line": 512, - "column": 27 - }, - "end": { - "line": 512, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDataURL", - "start": 17933, - "end": 17943, - "loc": { - "start": { - "line": 512, - "column": 28 - }, - "end": { - "line": 512, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17943, - "end": 17944, - "loc": { - "start": { - "line": 512, - "column": 38 - }, - "end": { - "line": 512, - "column": 39 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 17944, - "end": 17945, - "loc": { - "start": { - "line": 512, - "column": 39 - }, - "end": { - "line": 512, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17945, - "end": 17946, - "loc": { - "start": { - "line": 512, - "column": 40 - }, - "end": { - "line": 512, - "column": 41 - } - } - }, - { - "type": "CommentLine", - "value": " state frame delay", - "start": 17956, - "end": 17976, - "loc": { - "start": { - "line": 513, - "column": 8 - }, - "end": { - "line": 513, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateData", - "start": 17986, - "end": 17995, - "loc": { - "start": { - "line": 514, - "column": 8 - }, - "end": { - "line": 514, - "column": 17 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17995, - "end": 17996, - "loc": { - "start": { - "line": 514, - "column": 17 - }, - "end": { - "line": 514, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 17996, - "end": 17997, - "loc": { - "start": { - "line": 514, - "column": 18 - }, - "end": { - "line": 514, - "column": 19 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 17997, - "end": 17998, - "loc": { - "start": { - "line": 514, - "column": 19 - }, - "end": { - "line": 514, - "column": 20 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 17999, - "end": 18000, - "loc": { - "start": { - "line": 514, - "column": 21 - }, - "end": { - "line": 514, - "column": 22 - } - } - }, - { - "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": 18001, - "end": 18005, - "loc": { - "start": { - "line": 514, - "column": 23 - }, - "end": { - "line": 514, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18005, - "end": 18006, - "loc": { - "start": { - "line": 514, - "column": 27 - }, - "end": { - "line": 514, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDelay", - "start": 18006, - "end": 18014, - "loc": { - "start": { - "line": 514, - "column": 28 - }, - "end": { - "line": 514, - "column": 36 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18014, - "end": 18015, - "loc": { - "start": { - "line": 514, - "column": 36 - }, - "end": { - "line": 514, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18015, - "end": 18016, - "loc": { - "start": { - "line": 514, - "column": 37 - }, - "end": { - "line": 514, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18016, - "end": 18017, - "loc": { - "start": { - "line": 514, - "column": 38 - }, - "end": { - "line": 514, - "column": 39 - } - } - }, - { - "type": "CommentLine", - "value": " state frame array", - "start": 18027, - "end": 18047, - "loc": { - "start": { - "line": 515, - "column": 8 - }, - "end": { - "line": 515, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateData", - "start": 18057, - "end": 18066, - "loc": { - "start": { - "line": 516, - "column": 8 - }, - "end": { - "line": 516, - "column": 17 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18066, - "end": 18067, - "loc": { - "start": { - "line": 516, - "column": 17 - }, - "end": { - "line": 516, - "column": 18 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 18067, - "end": 18068, - "loc": { - "start": { - "line": 516, - "column": 18 - }, - "end": { - "line": 516, - "column": 19 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18068, - "end": 18069, - "loc": { - "start": { - "line": 516, - "column": 19 - }, - "end": { - "line": 516, - "column": 20 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18070, - "end": 18071, - "loc": { - "start": { - "line": 516, - "column": 21 - }, - "end": { - "line": 516, - "column": 22 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18072, - "end": 18073, - "loc": { - "start": { - "line": 516, - "column": 23 - }, - "end": { - "line": 516, - "column": 24 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18073, - "end": 18074, - "loc": { - "start": { - "line": 516, - "column": 24 - }, - "end": { - "line": 516, - "column": 25 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18074, - "end": 18075, - "loc": { - "start": { - "line": 516, - "column": 25 - }, - "end": { - "line": 516, - "column": 26 - } - } - }, - { - "type": "CommentLine", - "value": " Loop frame array to export relevant information.", - "start": 18087, - "end": 18138, - "loc": { - "start": { - "line": 518, - "column": 8 - }, - "end": { - "line": 518, - "column": 59 - } - } - }, - { - "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": 18148, - "end": 18152, - "loc": { - "start": { - "line": 519, - "column": 8 - }, - "end": { - "line": 519, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18152, - "end": 18153, - "loc": { - "start": { - "line": 519, - "column": 12 - }, - "end": { - "line": 519, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "frames", - "start": 18153, - "end": 18159, - "loc": { - "start": { - "line": 519, - "column": 13 - }, - "end": { - "line": 519, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18159, - "end": 18160, - "loc": { - "start": { - "line": 519, - "column": 19 - }, - "end": { - "line": 519, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 18160, - "end": 18167, - "loc": { - "start": { - "line": 519, - "column": 20 - }, - "end": { - "line": 519, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18167, - "end": 18168, - "loc": { - "start": { - "line": 519, - "column": 27 - }, - "end": { - "line": 519, - "column": 28 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18168, - "end": 18169, - "loc": { - "start": { - "line": 519, - "column": 28 - }, - "end": { - "line": 519, - "column": 29 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 18169, - "end": 18175, - "loc": { - "start": { - "line": 519, - "column": 29 - }, - "end": { - "line": 519, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18175, - "end": 18176, - "loc": { - "start": { - "line": 519, - "column": 35 - }, - "end": { - "line": 519, - "column": 36 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18177, - "end": 18179, - "loc": { - "start": { - "line": 519, - "column": 37 - }, - "end": { - "line": 519, - "column": 39 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18180, - "end": 18181, - "loc": { - "start": { - "line": 519, - "column": 40 - }, - "end": { - "line": 519, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateData", - "start": 18195, - "end": 18204, - "loc": { - "start": { - "line": 520, - "column": 12 - }, - "end": { - "line": 520, - "column": 21 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18204, - "end": 18205, - "loc": { - "start": { - "line": 520, - "column": 21 - }, - "end": { - "line": 520, - "column": 22 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 18205, - "end": 18206, - "loc": { - "start": { - "line": 520, - "column": 22 - }, - "end": { - "line": 520, - "column": 23 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18206, - "end": 18207, - "loc": { - "start": { - "line": 520, - "column": 23 - }, - "end": { - "line": 520, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18207, - "end": 18208, - "loc": { - "start": { - "line": 520, - "column": 24 - }, - "end": { - "line": 520, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 18208, - "end": 18212, - "loc": { - "start": { - "line": 520, - "column": 25 - }, - "end": { - "line": 520, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18212, - "end": 18213, - "loc": { - "start": { - "line": 520, - "column": 29 - }, - "end": { - "line": 520, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pFrame", - "start": 18213, - "end": 18219, - "loc": { - "start": { - "line": 520, - "column": 30 - }, - "end": { - "line": 520, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18219, - "end": 18220, - "loc": { - "start": { - "line": 520, - "column": 36 - }, - "end": { - "line": 520, - "column": 37 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 18220, - "end": 18226, - "loc": { - "start": { - "line": 520, - "column": 37 - }, - "end": { - "line": 520, - "column": 43 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18226, - "end": 18227, - "loc": { - "start": { - "line": 520, - "column": 43 - }, - "end": { - "line": 520, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18227, - "end": 18228, - "loc": { - "start": { - "line": 520, - "column": 44 - }, - "end": { - "line": 520, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18228, - "end": 18229, - "loc": { - "start": { - "line": 520, - "column": 45 - }, - "end": { - "line": 520, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18229, - "end": 18230, - "loc": { - "start": { - "line": 520, - "column": 46 - }, - "end": { - "line": 520, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18240, - "end": 18241, - "loc": { - "start": { - "line": 521, - "column": 8 - }, - "end": { - "line": 521, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18241, - "end": 18242, - "loc": { - "start": { - "line": 521, - "column": 9 - }, - "end": { - "line": 521, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18242, - "end": 18243, - "loc": { - "start": { - "line": 521, - "column": 10 - }, - "end": { - "line": 521, - "column": 11 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 18253, - "end": 18259, - "loc": { - "start": { - "line": 522, - "column": 8 - }, - "end": { - "line": 522, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "stateData", - "start": 18260, - "end": 18269, - "loc": { - "start": { - "line": 522, - "column": 15 - }, - "end": { - "line": 522, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18269, - "end": 18270, - "loc": { - "start": { - "line": 522, - "column": 24 - }, - "end": { - "line": 522, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18276, - "end": 18277, - "loc": { - "start": { - "line": 523, - "column": 4 - }, - "end": { - "line": 523, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Exports this icon's data into proper vyi format.\r\n * @private\r\n * @returns {Array} An array of data related to this icon in the proper vyi format.\r\n ", - "start": 18283, - "end": 18458, - "loc": { - "start": { - "line": 524, - "column": 4 - }, - "end": { - "line": 528, - "column": 7 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 18464, - "end": 18470, - "loc": { - "start": { - "line": 529, - "column": 4 - }, - "end": { - "line": 529, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18470, - "end": 18471, - "loc": { - "start": { - "line": 529, - "column": 10 - }, - "end": { - "line": 529, - "column": 11 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18471, - "end": 18472, - "loc": { - "start": { - "line": 529, - "column": 11 - }, - "end": { - "line": 529, - "column": 12 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18473, - "end": 18474, - "loc": { - "start": { - "line": 529, - "column": 13 - }, - "end": { - "line": 529, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 18484, - "end": 18489, - "loc": { - "start": { - "line": 530, - "column": 8 - }, - "end": { - "line": 530, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconData", - "start": 18490, - "end": 18498, - "loc": { - "start": { - "line": 530, - "column": 14 - }, - "end": { - "line": 530, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18499, - "end": 18500, - "loc": { - "start": { - "line": 530, - "column": 23 - }, - "end": { - "line": 530, - "column": 24 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18501, - "end": 18502, - "loc": { - "start": { - "line": 530, - "column": 25 - }, - "end": { - "line": 530, - "column": 26 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18502, - "end": 18503, - "loc": { - "start": { - "line": 530, - "column": 26 - }, - "end": { - "line": 530, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18503, - "end": 18504, - "loc": { - "start": { - "line": 530, - "column": 27 - }, - "end": { - "line": 530, - "column": 28 - } - } - }, - { - "type": "CommentLine", - "value": " icon name", - "start": 18514, - "end": 18526, - "loc": { - "start": { - "line": 531, - "column": 8 - }, - "end": { - "line": 531, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconData", - "start": 18536, - "end": 18544, - "loc": { - "start": { - "line": 532, - "column": 8 - }, - "end": { - "line": 532, - "column": 16 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18544, - "end": 18545, - "loc": { - "start": { - "line": 532, - "column": 16 - }, - "end": { - "line": 532, - "column": 17 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 18545, - "end": 18546, - "loc": { - "start": { - "line": 532, - "column": 17 - }, - "end": { - "line": 532, - "column": 18 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18546, - "end": 18547, - "loc": { - "start": { - "line": 532, - "column": 18 - }, - "end": { - "line": 532, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18548, - "end": 18549, - "loc": { - "start": { - "line": 532, - "column": 20 - }, - "end": { - "line": 532, - "column": 21 - } - } - }, - { - "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": 18550, - "end": 18554, - "loc": { - "start": { - "line": 532, - "column": 22 - }, - "end": { - "line": 532, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18554, - "end": 18555, - "loc": { - "start": { - "line": 532, - "column": 26 - }, - "end": { - "line": 532, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getName", - "start": 18555, - "end": 18562, - "loc": { - "start": { - "line": 532, - "column": 27 - }, - "end": { - "line": 532, - "column": 34 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18562, - "end": 18563, - "loc": { - "start": { - "line": 532, - "column": 34 - }, - "end": { - "line": 532, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18563, - "end": 18564, - "loc": { - "start": { - "line": 532, - "column": 35 - }, - "end": { - "line": 532, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18564, - "end": 18565, - "loc": { - "start": { - "line": 532, - "column": 36 - }, - "end": { - "line": 532, - "column": 37 - } - } - }, - { - "type": "CommentLine", - "value": " Get the size of this icon.", - "start": 18575, - "end": 18604, - "loc": { - "start": { - "line": 533, - "column": 8 - }, - "end": { - "line": 533, - "column": 37 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 18614, - "end": 18619, - "loc": { - "start": { - "line": 534, - "column": 8 - }, - "end": { - "line": 534, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "size", - "start": 18620, - "end": 18624, - "loc": { - "start": { - "line": 534, - "column": 14 - }, - "end": { - "line": 534, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18625, - "end": 18626, - "loc": { - "start": { - "line": 534, - "column": 19 - }, - "end": { - "line": 534, - "column": 20 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 18627, - "end": 18631, - "loc": { - "start": { - "line": 534, - "column": 21 - }, - "end": { - "line": 534, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18631, - "end": 18632, - "loc": { - "start": { - "line": 534, - "column": 25 - }, - "end": { - "line": 534, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getSize", - "start": 18632, - "end": 18639, - "loc": { - "start": { - "line": 534, - "column": 26 - }, - "end": { - "line": 534, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18639, - "end": 18640, - "loc": { - "start": { - "line": 534, - "column": 33 - }, - "end": { - "line": 534, - "column": 34 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18640, - "end": 18641, - "loc": { - "start": { - "line": 534, - "column": 34 - }, - "end": { - "line": 534, - "column": 35 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18641, - "end": 18642, - "loc": { - "start": { - "line": 534, - "column": 35 - }, - "end": { - "line": 534, - "column": 36 - } - } - }, - { - "type": "CommentLine", - "value": " icon width", - "start": 18652, - "end": 18665, - "loc": { - "start": { - "line": 535, - "column": 8 - }, - "end": { - "line": 535, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconData", - "start": 18675, - "end": 18683, - "loc": { - "start": { - "line": 536, - "column": 8 - }, - "end": { - "line": 536, - "column": 16 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18683, - "end": 18684, - "loc": { - "start": { - "line": 536, - "column": 16 - }, - "end": { - "line": 536, - "column": 17 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 18684, - "end": 18685, - "loc": { - "start": { - "line": 536, - "column": 17 - }, - "end": { - "line": 536, - "column": 18 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18685, - "end": 18686, - "loc": { - "start": { - "line": 536, - "column": 18 - }, - "end": { - "line": 536, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18687, - "end": 18688, - "loc": { - "start": { - "line": 536, - "column": 20 - }, - "end": { - "line": 536, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "size", - "start": 18689, - "end": 18693, - "loc": { - "start": { - "line": 536, - "column": 22 - }, - "end": { - "line": 536, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18693, - "end": 18694, - "loc": { - "start": { - "line": 536, - "column": 26 - }, - "end": { - "line": 536, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "width", - "start": 18694, - "end": 18699, - "loc": { - "start": { - "line": 536, - "column": 27 - }, - "end": { - "line": 536, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18699, - "end": 18700, - "loc": { - "start": { - "line": 536, - "column": 32 - }, - "end": { - "line": 536, - "column": 33 - } - } - }, - { - "type": "CommentLine", - "value": " icon height", - "start": 18710, - "end": 18724, - "loc": { - "start": { - "line": 537, - "column": 8 - }, - "end": { - "line": 537, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconData", - "start": 18734, - "end": 18742, - "loc": { - "start": { - "line": 538, - "column": 8 - }, - "end": { - "line": 538, - "column": 16 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18742, - "end": 18743, - "loc": { - "start": { - "line": 538, - "column": 16 - }, - "end": { - "line": 538, - "column": 17 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 2, - "start": 18743, - "end": 18744, - "loc": { - "start": { - "line": 538, - "column": 17 - }, - "end": { - "line": 538, - "column": 18 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18744, - "end": 18745, - "loc": { - "start": { - "line": 538, - "column": 18 - }, - "end": { - "line": 538, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18746, - "end": 18747, - "loc": { - "start": { - "line": 538, - "column": 20 - }, - "end": { - "line": 538, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "size", - "start": 18748, - "end": 18752, - "loc": { - "start": { - "line": 538, - "column": 22 - }, - "end": { - "line": 538, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18752, - "end": 18753, - "loc": { - "start": { - "line": 538, - "column": 26 - }, - "end": { - "line": 538, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "height", - "start": 18753, - "end": 18759, - "loc": { - "start": { - "line": 538, - "column": 27 - }, - "end": { - "line": 538, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18759, - "end": 18760, - "loc": { - "start": { - "line": 538, - "column": 33 - }, - "end": { - "line": 538, - "column": 34 - } - } - }, - { - "type": "CommentLine", - "value": " frame delay", - "start": 18770, - "end": 18784, - "loc": { - "start": { - "line": 539, - "column": 8 - }, - "end": { - "line": 539, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconData", - "start": 18794, - "end": 18802, - "loc": { - "start": { - "line": 540, - "column": 8 - }, - "end": { - "line": 540, - "column": 16 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18802, - "end": 18803, - "loc": { - "start": { - "line": 540, - "column": 16 - }, - "end": { - "line": 540, - "column": 17 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 3, - "start": 18803, - "end": 18804, - "loc": { - "start": { - "line": 540, - "column": 17 - }, - "end": { - "line": 540, - "column": 18 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18804, - "end": 18805, - "loc": { - "start": { - "line": 540, - "column": 18 - }, - "end": { - "line": 540, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18806, - "end": 18807, - "loc": { - "start": { - "line": 540, - "column": 20 - }, - "end": { - "line": 540, - "column": 21 - } - } - }, - { - "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": 18808, - "end": 18812, - "loc": { - "start": { - "line": 540, - "column": 22 - }, - "end": { - "line": 540, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18812, - "end": 18813, - "loc": { - "start": { - "line": 540, - "column": 26 - }, - "end": { - "line": 540, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDelay", - "start": 18813, - "end": 18821, - "loc": { - "start": { - "line": 540, - "column": 27 - }, - "end": { - "line": 540, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18821, - "end": 18822, - "loc": { - "start": { - "line": 540, - "column": 35 - }, - "end": { - "line": 540, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18822, - "end": 18823, - "loc": { - "start": { - "line": 540, - "column": 36 - }, - "end": { - "line": 540, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18823, - "end": 18824, - "loc": { - "start": { - "line": 540, - "column": 37 - }, - "end": { - "line": 540, - "column": 38 - } - } - }, - { - "type": "CommentLine", - "value": " icon DataURL", - "start": 18834, - "end": 18849, - "loc": { - "start": { - "line": 541, - "column": 8 - }, - "end": { - "line": 541, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconData", - "start": 18859, - "end": 18867, - "loc": { - "start": { - "line": 542, - "column": 8 - }, - "end": { - "line": 542, - "column": 16 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18867, - "end": 18868, - "loc": { - "start": { - "line": 542, - "column": 16 - }, - "end": { - "line": 542, - "column": 17 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 4, - "start": 18868, - "end": 18869, - "loc": { - "start": { - "line": 542, - "column": 17 - }, - "end": { - "line": 542, - "column": 18 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18869, - "end": 18870, - "loc": { - "start": { - "line": 542, - "column": 18 - }, - "end": { - "line": 542, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18871, - "end": 18872, - "loc": { - "start": { - "line": 542, - "column": 20 - }, - "end": { - "line": 542, - "column": 21 - } - } - }, - { - "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": 18873, - "end": 18877, - "loc": { - "start": { - "line": 542, - "column": 22 - }, - "end": { - "line": 542, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18877, - "end": 18878, - "loc": { - "start": { - "line": 542, - "column": 26 - }, - "end": { - "line": 542, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getDataURL", - "start": 18878, - "end": 18888, - "loc": { - "start": { - "line": 542, - "column": 27 - }, - "end": { - "line": 542, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18888, - "end": 18889, - "loc": { - "start": { - "line": 542, - "column": 37 - }, - "end": { - "line": 542, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18889, - "end": 18890, - "loc": { - "start": { - "line": 542, - "column": 38 - }, - "end": { - "line": 542, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18890, - "end": 18891, - "loc": { - "start": { - "line": 542, - "column": 39 - }, - "end": { - "line": 542, - "column": 40 - } - } - }, - { - "type": "CommentLine", - "value": " frame array", - "start": 18901, - "end": 18915, - "loc": { - "start": { - "line": 543, - "column": 8 - }, - "end": { - "line": 543, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconData", - "start": 18925, - "end": 18933, - "loc": { - "start": { - "line": 544, - "column": 8 - }, - "end": { - "line": 544, - "column": 16 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18933, - "end": 18934, - "loc": { - "start": { - "line": 544, - "column": 16 - }, - "end": { - "line": 544, - "column": 17 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 5, - "start": 18934, - "end": 18935, - "loc": { - "start": { - "line": 544, - "column": 17 - }, - "end": { - "line": 544, - "column": 18 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18935, - "end": 18936, - "loc": { - "start": { - "line": 544, - "column": 18 - }, - "end": { - "line": 544, - "column": 19 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 18937, - "end": 18938, - "loc": { - "start": { - "line": 544, - "column": 20 - }, - "end": { - "line": 544, - "column": 21 - } - } - }, - { - "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": 18939, - "end": 18943, - "loc": { - "start": { - "line": 544, - "column": 22 - }, - "end": { - "line": 544, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18943, - "end": 18944, - "loc": { - "start": { - "line": 544, - "column": 26 - }, - "end": { - "line": 544, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getFramesData", - "start": 18944, - "end": 18957, - "loc": { - "start": { - "line": 544, - "column": 27 - }, - "end": { - "line": 544, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18957, - "end": 18958, - "loc": { - "start": { - "line": 544, - "column": 40 - }, - "end": { - "line": 544, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 18958, - "end": 18959, - "loc": { - "start": { - "line": 544, - "column": 41 - }, - "end": { - "line": 544, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 18959, - "end": 18960, - "loc": { - "start": { - "line": 544, - "column": 42 - }, - "end": { - "line": 544, - "column": 43 - } - } - }, - { - "type": "CommentLine", - "value": " this is actually an optional data entry into the vyi, only used if states actually exist on this icon.", - "start": 18972, - "end": 19077, - "loc": { - "start": { - "line": 546, - "column": 8 - }, - "end": { - "line": 546, - "column": 113 - } - } - }, - { - "type": "CommentLine", - "value": " this will save data", - "start": 19087, - "end": 19109, - "loc": { - "start": { - "line": 547, - "column": 8 - }, - "end": { - "line": 547, - "column": 30 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 19119, - "end": 19121, - "loc": { - "start": { - "line": 548, - "column": 8 - }, - "end": { - "line": 548, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19122, - "end": 19123, - "loc": { - "start": { - "line": 548, - "column": 11 - }, - "end": { - "line": 548, - "column": 12 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 19123, - "end": 19127, - "loc": { - "start": { - "line": 548, - "column": 12 - }, - "end": { - "line": 548, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19127, - "end": 19128, - "loc": { - "start": { - "line": 548, - "column": 16 - }, - "end": { - "line": 548, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "states", - "start": 19128, - "end": 19134, - "loc": { - "start": { - "line": 548, - "column": 17 - }, - "end": { - "line": 548, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19134, - "end": 19135, - "loc": { - "start": { - "line": 548, - "column": 23 - }, - "end": { - "line": 548, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 19135, - "end": 19141, - "loc": { - "start": { - "line": 548, - "column": 24 - }, - "end": { - "line": 548, - "column": 30 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19141, - "end": 19142, - "loc": { - "start": { - "line": 548, - "column": 30 - }, - "end": { - "line": 548, - "column": 31 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19143, - "end": 19144, - "loc": { - "start": { - "line": 548, - "column": 32 - }, - "end": { - "line": 548, - "column": 33 - } - } - }, - { - "type": "CommentLine", - "value": " states array", - "start": 19158, - "end": 19173, - "loc": { - "start": { - "line": 549, - "column": 12 - }, - "end": { - "line": 549, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconData", - "start": 19187, - "end": 19195, - "loc": { - "start": { - "line": 550, - "column": 12 - }, - "end": { - "line": 550, - "column": 20 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19195, - "end": 19196, - "loc": { - "start": { - "line": 550, - "column": 20 - }, - "end": { - "line": 550, - "column": 21 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 6, - "start": 19196, - "end": 19197, - "loc": { - "start": { - "line": 550, - "column": 21 - }, - "end": { - "line": 550, - "column": 22 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19197, - "end": 19198, - "loc": { - "start": { - "line": 550, - "column": 22 - }, - "end": { - "line": 550, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 19199, - "end": 19200, - "loc": { - "start": { - "line": 550, - "column": 24 - }, - "end": { - "line": 550, - "column": 25 - } - } - }, - { - "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": 19201, - "end": 19205, - "loc": { - "start": { - "line": 550, - "column": 26 - }, - "end": { - "line": 550, - "column": 30 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19205, - "end": 19206, - "loc": { - "start": { - "line": 550, - "column": 30 - }, - "end": { - "line": 550, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getStatesData", - "start": 19206, - "end": 19219, - "loc": { - "start": { - "line": 550, - "column": 31 - }, - "end": { - "line": 550, - "column": 44 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19219, - "end": 19220, - "loc": { - "start": { - "line": 550, - "column": 44 - }, - "end": { - "line": 550, - "column": 45 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19220, - "end": 19221, - "loc": { - "start": { - "line": 550, - "column": 45 - }, - "end": { - "line": 550, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19221, - "end": 19222, - "loc": { - "start": { - "line": 550, - "column": 46 - }, - "end": { - "line": 550, - "column": 47 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19232, - "end": 19233, - "loc": { - "start": { - "line": 551, - "column": 8 - }, - "end": { - "line": 551, - "column": 9 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 19243, - "end": 19249, - "loc": { - "start": { - "line": 552, - "column": 8 - }, - "end": { - "line": 552, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconData", - "start": 19250, - "end": 19258, - "loc": { - "start": { - "line": 552, - "column": 15 - }, - "end": { - "line": 552, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19258, - "end": 19259, - "loc": { - "start": { - "line": 552, - "column": 23 - }, - "end": { - "line": 552, - "column": 24 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19265, - "end": 19266, - "loc": { - "start": { - "line": 553, - "column": 4 - }, - "end": { - "line": 553, - "column": 5 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 19268, - "end": 19269, - "loc": { - "start": { - "line": 554, - "column": 0 - }, - "end": { - "line": 554, - "column": 1 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 19269, - "end": 19269, - "loc": { - "start": { - "line": 554, - "column": 1 - }, - "end": { - "line": 554, - "column": 1 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/ast/source/vyi.mjs.json b/docs/ast/source/vyi.mjs.json deleted file mode 100644 index 21a4f2a..0000000 --- a/docs/ast/source/vyi.mjs.json +++ /dev/null @@ -1,26507 +0,0 @@ -{ - "type": "File", - "start": 0, - "end": 6791, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 200, - "column": 1 - } - }, - "program": { - "type": "Program", - "start": 0, - "end": 6791, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 200, - "column": 1 - } - }, - "sourceType": "module", - "body": [ - { - "type": "ImportDeclaration", - "start": 0, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 45 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - }, - "imported": { - "type": "Identifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - }, - "identifierName": "Logger" - }, - "name": "Logger" - }, - "local": { - "type": "Identifier", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - }, - "identifierName": "Logger" - }, - "name": "Logger" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 23, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 44 - } - }, - "extra": { - "rawValue": "./vendor/logger.mjs", - "raw": "'./vendor/logger.mjs'" - }, - "value": "./vendor/logger.mjs" - } - }, - { - "type": "ImportDeclaration", - "start": 47, - "end": 81, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 34 - } - }, - "specifiers": [ - { - "type": "ImportSpecifier", - "start": 56, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 13 - } - }, - "imported": { - "type": "Identifier", - "start": 56, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 13 - }, - "identifierName": "Icon" - }, - "name": "Icon" - }, - "local": { - "type": "Identifier", - "start": 56, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 13 - }, - "identifierName": "Icon" - }, - "name": "Icon" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 68, - "end": 80, - "loc": { - "start": { - "line": 2, - "column": 21 - }, - "end": { - "line": 2, - "column": 33 - } - }, - "extra": { - "rawValue": "./icon.mjs", - "raw": "'./icon.mjs'" - }, - "value": "./icon.mjs" - } - }, - { - "type": "ExportNamedDeclaration", - "start": 85, - "end": 6791, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 200, - "column": 1 - } - }, - "specifiers": [], - "source": null, - "declaration": { - "type": "ClassDeclaration", - "start": 92, - "end": 6791, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 200, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 98, - "end": 101, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 16 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "superClass": null, - "body": { - "type": "ClassBody", - "start": 102, - "end": 6791, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 200, - "column": 1 - } - }, - "body": [ - { - "type": "ClassProperty", - "start": 150, - "end": 188, - "loc": { - "start": { - "line": 8, - "column": 1 - }, - "end": { - "line": 8, - "column": 39 - } - }, - "static": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 157, - "end": 164, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 8, - "column": 15 - }, - "identifierName": "version" - }, - "name": "version" - }, - "value": { - "type": "StringLiteral", - "start": 167, - "end": 187, - "loc": { - "start": { - "line": 8, - "column": 18 - }, - "end": { - "line": 8, - "column": 38 - } - }, - "extra": { - "rawValue": "VERSION_REPLACE_ME", - "raw": "\"VERSION_REPLACE_ME\"" - }, - "value": "VERSION_REPLACE_ME" - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n\t * The version of the module.\r\n\t ", - "start": 106, - "end": 147, - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 7, - "column": 4 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "* The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n ", - "start": 194, - "end": 303, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 12, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 309, - "end": 338, - "loc": { - "start": { - "line": 13, - "column": 4 - }, - "end": { - "line": 13, - "column": 33 - } - }, - "static": true, - "computed": false, - "key": { - "type": "Identifier", - "start": 316, - "end": 322, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 17 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "value": { - "type": "NewExpression", - "start": 325, - "end": 337, - "loc": { - "start": { - "line": 13, - "column": 20 - }, - "end": { - "line": 13, - "column": 32 - } - }, - "callee": { - "type": "Identifier", - "start": 329, - "end": 335, - "loc": { - "start": { - "line": 13, - "column": 24 - }, - "end": { - "line": 13, - "column": 30 - }, - "identifierName": "Logger" - }, - "name": "Logger" - }, - "arguments": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "* The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n ", - "start": 194, - "end": 303, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 12, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n ", - "start": 344, - "end": 445, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 18, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 451, - "end": 462, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 19, - "column": 15 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 451, - "end": 456, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 19, - "column": 9 - }, - "identifierName": "icons" - }, - "name": "icons", - "leadingComments": null - }, - "value": { - "type": "ArrayExpression", - "start": 459, - "end": 461, - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 14 - } - }, - "elements": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n ", - "start": 344, - "end": 445, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 18, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n ", - "start": 468, - "end": 550, - "loc": { - "start": { - "line": 20, - "column": 4 - }, - "end": { - "line": 24, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 556, - "end": 589, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 37 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 556, - "end": 560, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 8 - }, - "identifierName": "name" - }, - "name": "name", - "leadingComments": null - }, - "value": { - "type": "StringLiteral", - "start": 563, - "end": 588, - "loc": { - "start": { - "line": 25, - "column": 11 - }, - "end": { - "line": 25, - "column": 36 - } - }, - "extra": { - "rawValue": "failed-to-find-vyi-name", - "raw": "'failed-to-find-vyi-name'" - }, - "value": "failed-to-find-vyi-name" - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n ", - "start": 468, - "end": 550, - "loc": { - "start": { - "line": 20, - "column": 4 - }, - "end": { - "line": 24, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n ", - "start": 595, - "end": 679, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 30, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 685, - "end": 699, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 31, - "column": 18 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 685, - "end": 698, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 31, - "column": 17 - }, - "identifierName": "formatVersion" - }, - "name": "formatVersion", - "leadingComments": null - }, - "value": null, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n ", - "start": 595, - "end": 679, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 30, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * An array of used IDs to prevent collusion between duplicate named icons.\r\n * \r\n * @private\r\n * @type {Array}\r\n ", - "start": 705, - "end": 846, - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 37, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassProperty", - "start": 852, - "end": 869, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 38, - "column": 21 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 852, - "end": 863, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 38, - "column": 15 - }, - "identifierName": "reservedIDs" - }, - "name": "reservedIDs", - "leadingComments": null - }, - "value": { - "type": "ArrayExpression", - "start": 866, - "end": 868, - "loc": { - "start": { - "line": 38, - "column": 18 - }, - "end": { - "line": 38, - "column": 20 - } - }, - "elements": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * An array of used IDs to prevent collusion between duplicate named icons.\r\n * \r\n * @private\r\n * @type {Array}\r\n ", - "start": 705, - "end": 846, - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 37, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", - "start": 875, - "end": 1064, - "loc": { - "start": { - "line": 39, - "column": 4 - }, - "end": { - "line": 42, - "column": 6 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 1070, - "end": 1413, - "loc": { - "start": { - "line": 43, - "column": 4 - }, - "end": { - "line": 52, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1070, - "end": 1081, - "loc": { - "start": { - "line": 43, - "column": 4 - }, - "end": { - "line": 43, - "column": 15 - }, - "identifierName": "constructor" - }, - "name": "constructor", - "leadingComments": null - }, - "kind": "constructor", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1082, - "end": 1090, - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 24 - }, - "identifierName": "pVYIData" - }, - "name": "pVYIData" - } - ], - "body": { - "type": "BlockStatement", - "start": 1092, - "end": 1413, - "loc": { - "start": { - "line": 43, - "column": 26 - }, - "end": { - "line": 52, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1103, - "end": 1152, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 57 - } - }, - "expression": { - "type": "CallExpression", - "start": 1103, - "end": 1151, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 56 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1103, - "end": 1126, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 31 - } - }, - "object": { - "type": "MemberExpression", - "start": 1103, - "end": 1113, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 1103, - "end": 1106, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 11 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 1107, - "end": 1113, - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 18 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1114, - "end": 1126, - "loc": { - "start": { - "line": 44, - "column": 19 - }, - "end": { - "line": 44, - "column": 31 - }, - "identifierName": "registerType" - }, - "name": "registerType" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1127, - "end": 1139, - "loc": { - "start": { - "line": 44, - "column": 32 - }, - "end": { - "line": 44, - "column": 44 - } - }, - "extra": { - "rawValue": "VYI-Module", - "raw": "'VYI-Module'" - }, - "value": "VYI-Module" - }, - { - "type": "StringLiteral", - "start": 1141, - "end": 1150, - "loc": { - "start": { - "line": 44, - "column": 46 - }, - "end": { - "line": 44, - "column": 55 - } - }, - "extra": { - "rawValue": "#ff6600", - "raw": "'#ff6600'" - }, - "value": "#ff6600" - } - ] - } - }, - { - "type": "IfStatement", - "start": 1162, - "end": 1406, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 51, - "column": 9 - } - }, - "test": { - "type": "Identifier", - "start": 1166, - "end": 1174, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 20 - }, - "identifierName": "pVYIData" - }, - "name": "pVYIData" - }, - "consequent": { - "type": "BlockStatement", - "start": 1176, - "end": 1406, - "loc": { - "start": { - "line": 45, - "column": 22 - }, - "end": { - "line": 51, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 1191, - "end": 1395, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 50, - "column": 13 - } - }, - "test": { - "type": "BinaryExpression", - "start": 1195, - "end": 1221, - "loc": { - "start": { - "line": 46, - "column": 16 - }, - "end": { - "line": 46, - "column": 42 - } - }, - "left": { - "type": "Identifier", - "start": 1195, - "end": 1203, - "loc": { - "start": { - "line": 46, - "column": 16 - }, - "end": { - "line": 46, - "column": 24 - }, - "identifierName": "pVYIData" - }, - "name": "pVYIData" - }, - "operator": "instanceof", - "right": { - "type": "Identifier", - "start": 1215, - "end": 1221, - "loc": { - "start": { - "line": 46, - "column": 36 - }, - "end": { - "line": 46, - "column": 42 - }, - "identifierName": "Object" - }, - "name": "Object" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 1223, - "end": 1278, - "loc": { - "start": { - "line": 46, - "column": 44 - }, - "end": { - "line": 48, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1242, - "end": 1263, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 37 - } - }, - "expression": { - "type": "CallExpression", - "start": 1242, - "end": 1262, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 36 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1242, - "end": 1252, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 1242, - "end": 1246, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 1247, - "end": 1252, - "loc": { - "start": { - "line": 47, - "column": 21 - }, - "end": { - "line": 47, - "column": 26 - }, - "identifierName": "parse" - }, - "name": "parse" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1253, - "end": 1261, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 35 - }, - "identifierName": "pVYIData" - }, - "name": "pVYIData" - } - ] - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 1284, - "end": 1395, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 50, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1303, - "end": 1380, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 93 - } - }, - "expression": { - "type": "CallExpression", - "start": 1303, - "end": 1379, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 92 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1303, - "end": 1340, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 53 - } - }, - "object": { - "type": "CallExpression", - "start": 1303, - "end": 1334, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1303, - "end": 1320, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 1303, - "end": 1313, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 1303, - "end": 1306, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 19 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 1307, - "end": 1313, - "loc": { - "start": { - "line": 49, - "column": 20 - }, - "end": { - "line": 49, - "column": 26 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 1314, - "end": 1320, - "loc": { - "start": { - "line": 49, - "column": 27 - }, - "end": { - "line": 49, - "column": 33 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1321, - "end": 1333, - "loc": { - "start": { - "line": 49, - "column": 34 - }, - "end": { - "line": 49, - "column": 46 - } - }, - "extra": { - "rawValue": "VYI-module", - "raw": "'VYI-module'" - }, - "value": "VYI-module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 1335, - "end": 1340, - "loc": { - "start": { - "line": 49, - "column": 48 - }, - "end": { - "line": 49, - "column": 53 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1341, - "end": 1378, - "loc": { - "start": { - "line": 49, - "column": 54 - }, - "end": { - "line": 49, - "column": 91 - } - }, - "extra": { - "rawValue": "Invalid vyiData type! Cannot parse!", - "raw": "'Invalid vyiData type! Cannot parse!'" - }, - "value": "Invalid vyiData type! Cannot parse!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", - "start": 875, - "end": 1064, - "loc": { - "start": { - "line": 39, - "column": 4 - }, - "end": { - "line": 42, - "column": 6 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", - "start": 1419, - "end": 1744, - "loc": { - "start": { - "line": 53, - "column": 4 - }, - "end": { - "line": 58, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 1750, - "end": 3405, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 98, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1756, - "end": 1761, - "loc": { - "start": { - "line": 59, - "column": 10 - }, - "end": { - "line": 59, - "column": 15 - }, - "identifierName": "parse" - }, - "name": "parse" - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": true, - "params": [ - { - "type": "Identifier", - "start": 1762, - "end": 1770, - "loc": { - "start": { - "line": 59, - "column": 16 - }, - "end": { - "line": 59, - "column": 24 - }, - "identifierName": "pVYIData" - }, - "name": "pVYIData" - } - ], - "body": { - "type": "BlockStatement", - "start": 1772, - "end": 3405, - "loc": { - "start": { - "line": 59, - "column": 26 - }, - "end": { - "line": 98, - "column": 5 - } - }, - "body": [ - { - "type": "TryStatement", - "start": 1783, - "end": 3398, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 97, - "column": 9 - } - }, - "block": { - "type": "BlockStatement", - "start": 1787, - "end": 3278, - "loc": { - "start": { - "line": 60, - "column": 12 - }, - "end": { - "line": 95, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 1802, - "end": 3267, - "loc": { - "start": { - "line": 61, - "column": 12 - }, - "end": { - "line": 94, - "column": 13 - } - }, - "test": { - "type": "Identifier", - "start": 1806, - "end": 1814, - "loc": { - "start": { - "line": 61, - "column": 16 - }, - "end": { - "line": 61, - "column": 24 - }, - "identifierName": "pVYIData" - }, - "name": "pVYIData" - }, - "consequent": { - "type": "BlockStatement", - "start": 1816, - "end": 3267, - "loc": { - "start": { - "line": 61, - "column": 26 - }, - "end": { - "line": 94, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 1835, - "end": 1843, - "loc": { - "start": { - "line": 62, - "column": 16 - }, - "end": { - "line": 62, - "column": 24 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1839, - "end": 1842, - "loc": { - "start": { - "line": 62, - "column": 20 - }, - "end": { - "line": 62, - "column": 23 - } - }, - "id": { - "type": "Identifier", - "start": 1839, - "end": 1842, - "loc": { - "start": { - "line": 62, - "column": 20 - }, - "end": { - "line": 62, - "column": 23 - }, - "identifierName": "vyi" - }, - "name": "vyi" - }, - "init": null - } - ], - "kind": "let", - "trailingComments": [ - { - "type": "CommentLine", - "value": " If the data is a path then we need to use fetch to acquire the data first", - "start": 1861, - "end": 1937, - "loc": { - "start": { - "line": 63, - "column": 16 - }, - "end": { - "line": 63, - "column": 92 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 1955, - "end": 2254, - "loc": { - "start": { - "line": 64, - "column": 16 - }, - "end": { - "line": 70, - "column": 17 - } - }, - "test": { - "type": "BinaryExpression", - "start": 1959, - "end": 1988, - "loc": { - "start": { - "line": 64, - "column": 20 - }, - "end": { - "line": 64, - "column": 49 - } - }, - "left": { - "type": "UnaryExpression", - "start": 1959, - "end": 1975, - "loc": { - "start": { - "line": 64, - "column": 20 - }, - "end": { - "line": 64, - "column": 36 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 1966, - "end": 1974, - "loc": { - "start": { - "line": 64, - "column": 27 - }, - "end": { - "line": 64, - "column": 35 - }, - "identifierName": "pVYIData" - }, - "name": "pVYIData", - "leadingComments": null, - "extra": { - "parenthesized": true, - "parenStart": 1965 - } - }, - "extra": { - "parenthesizedArgument": false - }, - "leadingComments": null - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 1980, - "end": 1988, - "loc": { - "start": { - "line": 64, - "column": 41 - }, - "end": { - "line": 64, - "column": 49 - } - }, - "extra": { - "rawValue": "string", - "raw": "'string'" - }, - "value": "string" - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 1990, - "end": 2159, - "loc": { - "start": { - "line": 64, - "column": 51 - }, - "end": { - "line": 68, - "column": 17 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 2013, - "end": 2034, - "loc": { - "start": { - "line": 65, - "column": 20 - }, - "end": { - "line": 65, - "column": 41 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2019, - "end": 2033, - "loc": { - "start": { - "line": 65, - "column": 26 - }, - "end": { - "line": 65, - "column": 40 - } - }, - "id": { - "type": "Identifier", - "start": 2019, - "end": 2022, - "loc": { - "start": { - "line": 65, - "column": 26 - }, - "end": { - "line": 65, - "column": 29 - }, - "identifierName": "url" - }, - "name": "url" - }, - "init": { - "type": "Identifier", - "start": 2025, - "end": 2033, - "loc": { - "start": { - "line": 65, - "column": 32 - }, - "end": { - "line": 65, - "column": 40 - }, - "identifierName": "pVYIData" - }, - "name": "pVYIData" - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 2056, - "end": 2090, - "loc": { - "start": { - "line": 66, - "column": 20 - }, - "end": { - "line": 66, - "column": 54 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2062, - "end": 2089, - "loc": { - "start": { - "line": 66, - "column": 26 - }, - "end": { - "line": 66, - "column": 53 - } - }, - "id": { - "type": "Identifier", - "start": 2062, - "end": 2070, - "loc": { - "start": { - "line": 66, - "column": 26 - }, - "end": { - "line": 66, - "column": 34 - }, - "identifierName": "response" - }, - "name": "response" - }, - "init": { - "type": "AwaitExpression", - "start": 2073, - "end": 2089, - "loc": { - "start": { - "line": 66, - "column": 37 - }, - "end": { - "line": 66, - "column": 53 - } - }, - "argument": { - "type": "CallExpression", - "start": 2079, - "end": 2089, - "loc": { - "start": { - "line": 66, - "column": 43 - }, - "end": { - "line": 66, - "column": 53 - } - }, - "callee": { - "type": "Identifier", - "start": 2079, - "end": 2084, - "loc": { - "start": { - "line": 66, - "column": 43 - }, - "end": { - "line": 66, - "column": 48 - }, - "identifierName": "fetch" - }, - "name": "fetch" - }, - "arguments": [ - { - "type": "Identifier", - "start": 2085, - "end": 2088, - "loc": { - "start": { - "line": 66, - "column": 49 - }, - "end": { - "line": 66, - "column": 52 - }, - "identifierName": "url" - }, - "name": "url" - } - ] - } - } - } - ], - "kind": "const" - }, - { - "type": "ExpressionStatement", - "start": 2112, - "end": 2140, - "loc": { - "start": { - "line": 67, - "column": 20 - }, - "end": { - "line": 67, - "column": 48 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2112, - "end": 2139, - "loc": { - "start": { - "line": 67, - "column": 20 - }, - "end": { - "line": 67, - "column": 47 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 2112, - "end": 2115, - "loc": { - "start": { - "line": 67, - "column": 20 - }, - "end": { - "line": 67, - "column": 23 - }, - "identifierName": "vyi" - }, - "name": "vyi" - }, - "right": { - "type": "AwaitExpression", - "start": 2118, - "end": 2139, - "loc": { - "start": { - "line": 67, - "column": 26 - }, - "end": { - "line": 67, - "column": 47 - } - }, - "argument": { - "type": "CallExpression", - "start": 2124, - "end": 2139, - "loc": { - "start": { - "line": 67, - "column": 32 - }, - "end": { - "line": 67, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2124, - "end": 2137, - "loc": { - "start": { - "line": 67, - "column": 32 - }, - "end": { - "line": 67, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 2124, - "end": 2132, - "loc": { - "start": { - "line": 67, - "column": 32 - }, - "end": { - "line": 67, - "column": 40 - }, - "identifierName": "response" - }, - "name": "response" - }, - "property": { - "type": "Identifier", - "start": 2133, - "end": 2137, - "loc": { - "start": { - "line": 67, - "column": 41 - }, - "end": { - "line": 67, - "column": 45 - }, - "identifierName": "json" - }, - "name": "json" - }, - "computed": false - }, - "arguments": [] - } - } - } - } - ], - "directives": [] - }, - "alternate": { - "type": "IfStatement", - "start": 2165, - "end": 2254, - "loc": { - "start": { - "line": 68, - "column": 23 - }, - "end": { - "line": 70, - "column": 17 - } - }, - "test": { - "type": "BinaryExpression", - "start": 2169, - "end": 2195, - "loc": { - "start": { - "line": 68, - "column": 27 - }, - "end": { - "line": 68, - "column": 53 - } - }, - "left": { - "type": "Identifier", - "start": 2169, - "end": 2177, - "loc": { - "start": { - "line": 68, - "column": 27 - }, - "end": { - "line": 68, - "column": 35 - }, - "identifierName": "pVYIData" - }, - "name": "pVYIData" - }, - "operator": "instanceof", - "right": { - "type": "Identifier", - "start": 2189, - "end": 2195, - "loc": { - "start": { - "line": 68, - "column": 47 - }, - "end": { - "line": 68, - "column": 53 - }, - "identifierName": "Object" - }, - "name": "Object" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 2197, - "end": 2254, - "loc": { - "start": { - "line": 68, - "column": 55 - }, - "end": { - "line": 70, - "column": 17 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2220, - "end": 2235, - "loc": { - "start": { - "line": 69, - "column": 20 - }, - "end": { - "line": 69, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2220, - "end": 2234, - "loc": { - "start": { - "line": 69, - "column": 20 - }, - "end": { - "line": 69, - "column": 34 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 2220, - "end": 2223, - "loc": { - "start": { - "line": 69, - "column": 20 - }, - "end": { - "line": 69, - "column": 23 - }, - "identifierName": "vyi" - }, - "name": "vyi" - }, - "right": { - "type": "Identifier", - "start": 2226, - "end": 2234, - "loc": { - "start": { - "line": 69, - "column": 26 - }, - "end": { - "line": 69, - "column": 34 - }, - "identifierName": "pVYIData" - }, - "name": "pVYIData" - } - } - } - ], - "directives": [], - "trailingComments": null - }, - "alternate": null, - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If the data is a path then we need to use fetch to acquire the data first", - "start": 1861, - "end": 1937, - "loc": { - "start": { - "line": 63, - "column": 16 - }, - "end": { - "line": 63, - "column": 92 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " If there is data to parse", - "start": 2272, - "end": 2300, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 44 - } - } - }, - { - "type": "CommentLine", - "value": " Then parse through it", - "start": 2318, - "end": 2342, - "loc": { - "start": { - "line": 72, - "column": 16 - }, - "end": { - "line": 72, - "column": 40 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 2360, - "end": 3252, - "loc": { - "start": { - "line": 73, - "column": 16 - }, - "end": { - "line": 93, - "column": 17 - } - }, - "test": { - "type": "Identifier", - "start": 2364, - "end": 2367, - "loc": { - "start": { - "line": 73, - "column": 20 - }, - "end": { - "line": 73, - "column": 23 - }, - "identifierName": "vyi" - }, - "name": "vyi", - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 2369, - "end": 3252, - "loc": { - "start": { - "line": 73, - "column": 25 - }, - "end": { - "line": 93, - "column": 17 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 2543, - "end": 2563, - "loc": { - "start": { - "line": 78, - "column": 20 - }, - "end": { - "line": 78, - "column": 40 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 2549, - "end": 2562, - "loc": { - "start": { - "line": 78, - "column": 26 - }, - "end": { - "line": 78, - "column": 39 - } - }, - "id": { - "type": "Identifier", - "start": 2549, - "end": 2554, - "loc": { - "start": { - "line": 78, - "column": 26 - }, - "end": { - "line": 78, - "column": 31 - }, - "identifierName": "icons" - }, - "name": "icons", - "leadingComments": null - }, - "init": { - "type": "MemberExpression", - "start": 2557, - "end": 2562, - "loc": { - "start": { - "line": 78, - "column": 34 - }, - "end": { - "line": 78, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 2557, - "end": 2560, - "loc": { - "start": { - "line": 78, - "column": 34 - }, - "end": { - "line": 78, - "column": 37 - }, - "identifierName": "vyi" - }, - "name": "vyi" - }, - "property": { - "type": "Identifier", - "start": 2561, - "end": 2562, - "loc": { - "start": { - "line": 78, - "column": 38 - }, - "end": { - "line": 78, - "column": 39 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": false - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n ", - "start": 2392, - "end": 2521, - "loc": { - "start": { - "line": 74, - "column": 20 - }, - "end": { - "line": 77, - "column": 23 - } - } - } - ], - "trailingComments": [ - { - "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": 2585, - "end": 2738, - "loc": { - "start": { - "line": 79, - "column": 20 - }, - "end": { - "line": 82, - "column": 23 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 2760, - "end": 2792, - "loc": { - "start": { - "line": 83, - "column": 20 - }, - "end": { - "line": 83, - "column": 52 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 2760, - "end": 2791, - "loc": { - "start": { - "line": 83, - "column": 20 - }, - "end": { - "line": 83, - "column": 51 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 2760, - "end": 2778, - "loc": { - "start": { - "line": 83, - "column": 20 - }, - "end": { - "line": 83, - "column": 38 - } - }, - "object": { - "type": "ThisExpression", - "start": 2760, - "end": 2764, - "loc": { - "start": { - "line": 83, - "column": 20 - }, - "end": { - "line": 83, - "column": 24 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 2765, - "end": 2778, - "loc": { - "start": { - "line": 83, - "column": 25 - }, - "end": { - "line": 83, - "column": 38 - }, - "identifierName": "formatVersion" - }, - "name": "formatVersion" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "LogicalExpression", - "start": 2781, - "end": 2791, - "loc": { - "start": { - "line": 83, - "column": 41 - }, - "end": { - "line": 83, - "column": 51 - } - }, - "left": { - "type": "MemberExpression", - "start": 2781, - "end": 2786, - "loc": { - "start": { - "line": 83, - "column": 41 - }, - "end": { - "line": 83, - "column": 46 - } - }, - "object": { - "type": "Identifier", - "start": 2781, - "end": 2784, - "loc": { - "start": { - "line": 83, - "column": 41 - }, - "end": { - "line": 83, - "column": 44 - }, - "identifierName": "vyi" - }, - "name": "vyi" - }, - "property": { - "type": "Identifier", - "start": 2785, - "end": 2786, - "loc": { - "start": { - "line": 83, - "column": 45 - }, - "end": { - "line": 83, - "column": 46 - }, - "identifierName": "v" - }, - "name": "v" - }, - "computed": false - }, - "operator": "||", - "right": { - "type": "NumericLiteral", - "start": 2790, - "end": 2791, - "loc": { - "start": { - "line": 83, - "column": 50 - }, - "end": { - "line": 83, - "column": 51 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - }, - "leadingComments": null - }, - "leadingComments": [ - { - "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": 2585, - "end": 2738, - "loc": { - "start": { - "line": 79, - "column": 20 - }, - "end": { - "line": 82, - "column": 23 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 2816, - "end": 3233, - "loc": { - "start": { - "line": 85, - "column": 20 - }, - "end": { - "line": 92, - "column": 21 - } - }, - "test": { - "type": "CallExpression", - "start": 2820, - "end": 2840, - "loc": { - "start": { - "line": 85, - "column": 24 - }, - "end": { - "line": 85, - "column": 44 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2820, - "end": 2833, - "loc": { - "start": { - "line": 85, - "column": 24 - }, - "end": { - "line": 85, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 2820, - "end": 2825, - "loc": { - "start": { - "line": 85, - "column": 24 - }, - "end": { - "line": 85, - "column": 29 - }, - "identifierName": "Array" - }, - "name": "Array" - }, - "property": { - "type": "Identifier", - "start": 2826, - "end": 2833, - "loc": { - "start": { - "line": 85, - "column": 30 - }, - "end": { - "line": 85, - "column": 37 - }, - "identifierName": "isArray" - }, - "name": "isArray" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2834, - "end": 2839, - "loc": { - "start": { - "line": 85, - "column": 38 - }, - "end": { - "line": 85, - "column": 43 - }, - "identifierName": "icons" - }, - "name": "icons" - } - ] - }, - "consequent": { - "type": "BlockStatement", - "start": 2842, - "end": 3103, - "loc": { - "start": { - "line": 85, - "column": 46 - }, - "end": { - "line": 90, - "column": 21 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2961, - "end": 3080, - "loc": { - "start": { - "line": 87, - "column": 24 - }, - "end": { - "line": 89, - "column": 27 - } - }, - "expression": { - "type": "CallExpression", - "start": 2961, - "end": 3079, - "loc": { - "start": { - "line": 87, - "column": 24 - }, - "end": { - "line": 89, - "column": 26 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2961, - "end": 2974, - "loc": { - "start": { - "line": 87, - "column": 24 - }, - "end": { - "line": 87, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 2961, - "end": 2966, - "loc": { - "start": { - "line": 87, - "column": 24 - }, - "end": { - "line": 87, - "column": 29 - }, - "identifierName": "icons" - }, - "name": "icons", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 2967, - "end": 2974, - "loc": { - "start": { - "line": 87, - "column": 30 - }, - "end": { - "line": 87, - "column": 37 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 2975, - "end": 3078, - "loc": { - "start": { - "line": 87, - "column": 38 - }, - "end": { - "line": 89, - "column": 25 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2976, - "end": 2985, - "loc": { - "start": { - "line": 87, - "column": 39 - }, - "end": { - "line": 87, - "column": 48 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - } - ], - "body": { - "type": "BlockStatement", - "start": 2990, - "end": 3078, - "loc": { - "start": { - "line": 87, - "column": 53 - }, - "end": { - "line": 89, - "column": 25 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3021, - "end": 3051, - "loc": { - "start": { - "line": 88, - "column": 28 - }, - "end": { - "line": 88, - "column": 58 - } - }, - "expression": { - "type": "CallExpression", - "start": 3021, - "end": 3050, - "loc": { - "start": { - "line": 88, - "column": 28 - }, - "end": { - "line": 88, - "column": 57 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3021, - "end": 3033, - "loc": { - "start": { - "line": 88, - "column": 28 - }, - "end": { - "line": 88, - "column": 40 - } - }, - "object": { - "type": "ThisExpression", - "start": 3021, - "end": 3025, - "loc": { - "start": { - "line": 88, - "column": 28 - }, - "end": { - "line": 88, - "column": 32 - } - } - }, - "property": { - "type": "Identifier", - "start": 3026, - "end": 3033, - "loc": { - "start": { - "line": 88, - "column": 33 - }, - "end": { - "line": 88, - "column": 40 - }, - "identifierName": "addIcon" - }, - "name": "addIcon" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 3034, - "end": 3043, - "loc": { - "start": { - "line": 88, - "column": 41 - }, - "end": { - "line": 88, - "column": 50 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - { - "type": "ThisExpression", - "start": 3045, - "end": 3049, - "loc": { - "start": { - "line": 88, - "column": 52 - }, - "end": { - "line": 88, - "column": 56 - } - } - } - ] - } - } - ], - "directives": [] - } - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Loop through the icons and add them to the vyi module instance.", - "start": 2869, - "end": 2935, - "loc": { - "start": { - "line": 86, - "column": 24 - }, - "end": { - "line": 86, - "column": 90 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 3109, - "end": 3233, - "loc": { - "start": { - "line": 90, - "column": 27 - }, - "end": { - "line": 92, - "column": 21 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3136, - "end": 3210, - "loc": { - "start": { - "line": 91, - "column": 24 - }, - "end": { - "line": 91, - "column": 98 - } - }, - "expression": { - "type": "CallExpression", - "start": 3136, - "end": 3209, - "loc": { - "start": { - "line": 91, - "column": 24 - }, - "end": { - "line": 91, - "column": 97 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3136, - "end": 3173, - "loc": { - "start": { - "line": 91, - "column": 24 - }, - "end": { - "line": 91, - "column": 61 - } - }, - "object": { - "type": "CallExpression", - "start": 3136, - "end": 3167, - "loc": { - "start": { - "line": 91, - "column": 24 - }, - "end": { - "line": 91, - "column": 55 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3136, - "end": 3153, - "loc": { - "start": { - "line": 91, - "column": 24 - }, - "end": { - "line": 91, - "column": 41 - } - }, - "object": { - "type": "MemberExpression", - "start": 3136, - "end": 3146, - "loc": { - "start": { - "line": 91, - "column": 24 - }, - "end": { - "line": 91, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 3136, - "end": 3139, - "loc": { - "start": { - "line": 91, - "column": 24 - }, - "end": { - "line": 91, - "column": 27 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 3140, - "end": 3146, - "loc": { - "start": { - "line": 91, - "column": 28 - }, - "end": { - "line": 91, - "column": 34 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3147, - "end": 3153, - "loc": { - "start": { - "line": 91, - "column": 35 - }, - "end": { - "line": 91, - "column": 41 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 3154, - "end": 3166, - "loc": { - "start": { - "line": 91, - "column": 42 - }, - "end": { - "line": 91, - "column": 54 - } - }, - "extra": { - "rawValue": "VYI-module", - "raw": "'VYI-module'" - }, - "value": "VYI-module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 3168, - "end": 3173, - "loc": { - "start": { - "line": 91, - "column": 56 - }, - "end": { - "line": 91, - "column": 61 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 3174, - "end": 3208, - "loc": { - "start": { - "line": 91, - "column": 62 - }, - "end": { - "line": 91, - "column": 96 - } - }, - "extra": { - "rawValue": "Invalid .vyi file! Cannot parse.", - "raw": "'Invalid .vyi file! Cannot parse.'" - }, - "value": "Invalid .vyi file! Cannot parse." - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If there is data to parse", - "start": 2272, - "end": 2300, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 44 - } - } - }, - { - "type": "CommentLine", - "value": " Then parse through it", - "start": 2318, - "end": 2342, - "loc": { - "start": { - "line": 72, - "column": 16 - }, - "end": { - "line": 72, - "column": 40 - } - } - } - ] - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - }, - "handler": { - "type": "CatchClause", - "start": 3279, - "end": 3398, - "loc": { - "start": { - "line": 95, - "column": 10 - }, - "end": { - "line": 97, - "column": 9 - } - }, - "param": { - "type": "Identifier", - "start": 3286, - "end": 3292, - "loc": { - "start": { - "line": 95, - "column": 17 - }, - "end": { - "line": 95, - "column": 23 - }, - "identifierName": "pError" - }, - "name": "pError" - }, - "body": { - "type": "BlockStatement", - "start": 3294, - "end": 3398, - "loc": { - "start": { - "line": 95, - "column": 25 - }, - "end": { - "line": 97, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3309, - "end": 3387, - "loc": { - "start": { - "line": 96, - "column": 12 - }, - "end": { - "line": 96, - "column": 90 - } - }, - "expression": { - "type": "CallExpression", - "start": 3309, - "end": 3386, - "loc": { - "start": { - "line": 96, - "column": 12 - }, - "end": { - "line": 96, - "column": 89 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3309, - "end": 3346, - "loc": { - "start": { - "line": 96, - "column": 12 - }, - "end": { - "line": 96, - "column": 49 - } - }, - "object": { - "type": "CallExpression", - "start": 3309, - "end": 3340, - "loc": { - "start": { - "line": 96, - "column": 12 - }, - "end": { - "line": 96, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3309, - "end": 3326, - "loc": { - "start": { - "line": 96, - "column": 12 - }, - "end": { - "line": 96, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 3309, - "end": 3319, - "loc": { - "start": { - "line": 96, - "column": 12 - }, - "end": { - "line": 96, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 3309, - "end": 3312, - "loc": { - "start": { - "line": 96, - "column": 12 - }, - "end": { - "line": 96, - "column": 15 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 3313, - "end": 3319, - "loc": { - "start": { - "line": 96, - "column": 16 - }, - "end": { - "line": 96, - "column": 22 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3320, - "end": 3326, - "loc": { - "start": { - "line": 96, - "column": 23 - }, - "end": { - "line": 96, - "column": 29 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 3327, - "end": 3339, - "loc": { - "start": { - "line": 96, - "column": 30 - }, - "end": { - "line": 96, - "column": 42 - } - }, - "extra": { - "rawValue": "VYI-module", - "raw": "'VYI-module'" - }, - "value": "VYI-module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 3341, - "end": 3346, - "loc": { - "start": { - "line": 96, - "column": 44 - }, - "end": { - "line": 96, - "column": 49 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "TemplateLiteral", - "start": 3347, - "end": 3385, - "loc": { - "start": { - "line": 96, - "column": 50 - }, - "end": { - "line": 96, - "column": 88 - } - }, - "expressions": [ - { - "type": "Identifier", - "start": 3377, - "end": 3383, - "loc": { - "start": { - "line": 96, - "column": 80 - }, - "end": { - "line": 96, - "column": 86 - }, - "identifierName": "pError" - }, - "name": "pError" - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 3348, - "end": 3375, - "loc": { - "start": { - "line": 96, - "column": 51 - }, - "end": { - "line": 96, - "column": 78 - } - }, - "value": { - "raw": "Error processing vyi data: ", - "cooked": "Error processing vyi data: " - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 3384, - "end": 3384, - "loc": { - "start": { - "line": 96, - "column": 87 - }, - "end": { - "line": 96, - "column": 87 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } - ] - } - } - ], - "directives": [] - } - }, - "guardedHandlers": [], - "finalizer": null - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", - "start": 1419, - "end": 1744, - "loc": { - "start": { - "line": 53, - "column": 4 - }, - "end": { - "line": 58, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "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": 3411, - "end": 3580, - "loc": { - "start": { - "line": 99, - "column": 4 - }, - "end": { - "line": 103, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 3586, - "end": 4099, - "loc": { - "start": { - "line": 104, - "column": 4 - }, - "end": { - "line": 117, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 3586, - "end": 3593, - "loc": { - "start": { - "line": 104, - "column": 4 - }, - "end": { - "line": 104, - "column": 11 - }, - "identifierName": "addIcon" - }, - "name": "addIcon", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 3594, - "end": 3603, - "loc": { - "start": { - "line": 104, - "column": 12 - }, - "end": { - "line": 104, - "column": 21 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - } - ], - "body": { - "type": "BlockStatement", - "start": 3605, - "end": 4099, - "loc": { - "start": { - "line": 104, - "column": 23 - }, - "end": { - "line": 117, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 3616, - "end": 4092, - "loc": { - "start": { - "line": 105, - "column": 8 - }, - "end": { - "line": 116, - "column": 9 - } - }, - "test": { - "type": "Identifier", - "start": 3620, - "end": 3629, - "loc": { - "start": { - "line": 105, - "column": 12 - }, - "end": { - "line": 105, - "column": 21 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "consequent": { - "type": "BlockStatement", - "start": 3631, - "end": 3998, - "loc": { - "start": { - "line": 105, - "column": 23 - }, - "end": { - "line": 114, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 3646, - "end": 3987, - "loc": { - "start": { - "line": 106, - "column": 12 - }, - "end": { - "line": 113, - "column": 13 - } - }, - "test": { - "type": "BinaryExpression", - "start": 3650, - "end": 3677, - "loc": { - "start": { - "line": 106, - "column": 16 - }, - "end": { - "line": 106, - "column": 43 - } - }, - "left": { - "type": "Identifier", - "start": 3650, - "end": 3659, - "loc": { - "start": { - "line": 106, - "column": 16 - }, - "end": { - "line": 106, - "column": 25 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - "operator": "instanceof", - "right": { - "type": "Identifier", - "start": 3671, - "end": 3677, - "loc": { - "start": { - "line": 106, - "column": 37 - }, - "end": { - "line": 106, - "column": 43 - }, - "identifierName": "Object" - }, - "name": "Object" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 3679, - "end": 3875, - "loc": { - "start": { - "line": 106, - "column": 45 - }, - "end": { - "line": 111, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 3698, - "end": 3737, - "loc": { - "start": { - "line": 107, - "column": 16 - }, - "end": { - "line": 107, - "column": 55 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3704, - "end": 3736, - "loc": { - "start": { - "line": 107, - "column": 22 - }, - "end": { - "line": 107, - "column": 54 - } - }, - "id": { - "type": "Identifier", - "start": 3704, - "end": 3708, - "loc": { - "start": { - "line": 107, - "column": 22 - }, - "end": { - "line": 107, - "column": 26 - }, - "identifierName": "icon" - }, - "name": "icon" - }, - "init": { - "type": "NewExpression", - "start": 3711, - "end": 3736, - "loc": { - "start": { - "line": 107, - "column": 29 - }, - "end": { - "line": 107, - "column": 54 - } - }, - "callee": { - "type": "Identifier", - "start": 3715, - "end": 3719, - "loc": { - "start": { - "line": 107, - "column": 33 - }, - "end": { - "line": 107, - "column": 37 - }, - "identifierName": "Icon" - }, - "name": "Icon" - }, - "arguments": [ - { - "type": "Identifier", - "start": 3720, - "end": 3729, - "loc": { - "start": { - "line": 107, - "column": 38 - }, - "end": { - "line": 107, - "column": 47 - }, - "identifierName": "pIconData" - }, - "name": "pIconData" - }, - { - "type": "ThisExpression", - "start": 3731, - "end": 3735, - "loc": { - "start": { - "line": 107, - "column": 49 - }, - "end": { - "line": 107, - "column": 53 - } - } - } - ] - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " Add the icon to the icons array.", - "start": 3755, - "end": 3790, - "loc": { - "start": { - "line": 108, - "column": 16 - }, - "end": { - "line": 108, - "column": 51 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 3808, - "end": 3830, - "loc": { - "start": { - "line": 109, - "column": 16 - }, - "end": { - "line": 109, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 3808, - "end": 3829, - "loc": { - "start": { - "line": 109, - "column": 16 - }, - "end": { - "line": 109, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3808, - "end": 3823, - "loc": { - "start": { - "line": 109, - "column": 16 - }, - "end": { - "line": 109, - "column": 31 - } - }, - "object": { - "type": "MemberExpression", - "start": 3808, - "end": 3818, - "loc": { - "start": { - "line": 109, - "column": 16 - }, - "end": { - "line": 109, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 3808, - "end": 3812, - "loc": { - "start": { - "line": 109, - "column": 16 - }, - "end": { - "line": 109, - "column": 20 - } - }, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 3813, - "end": 3818, - "loc": { - "start": { - "line": 109, - "column": 21 - }, - "end": { - "line": 109, - "column": 26 - }, - "identifierName": "icons" - }, - "name": "icons" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 3819, - "end": 3823, - "loc": { - "start": { - "line": 109, - "column": 27 - }, - "end": { - "line": 109, - "column": 31 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "Identifier", - "start": 3824, - "end": 3828, - "loc": { - "start": { - "line": 109, - "column": 32 - }, - "end": { - "line": 109, - "column": 36 - }, - "identifierName": "icon" - }, - "name": "icon" - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Add the icon to the icons array.", - "start": 3755, - "end": 3790, - "loc": { - "start": { - "line": 108, - "column": 16 - }, - "end": { - "line": 108, - "column": 51 - } - } - } - ] - }, - { - "type": "ReturnStatement", - "start": 3848, - "end": 3860, - "loc": { - "start": { - "line": 110, - "column": 16 - }, - "end": { - "line": 110, - "column": 28 - } - }, - "argument": { - "type": "Identifier", - "start": 3855, - "end": 3859, - "loc": { - "start": { - "line": 110, - "column": 23 - }, - "end": { - "line": 110, - "column": 27 - }, - "identifierName": "icon" - }, - "name": "icon" - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 3881, - "end": 3987, - "loc": { - "start": { - "line": 111, - "column": 19 - }, - "end": { - "line": 113, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 3900, - "end": 3972, - "loc": { - "start": { - "line": 112, - "column": 16 - }, - "end": { - "line": 112, - "column": 88 - } - }, - "expression": { - "type": "CallExpression", - "start": 3900, - "end": 3971, - "loc": { - "start": { - "line": 112, - "column": 16 - }, - "end": { - "line": 112, - "column": 87 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3900, - "end": 3937, - "loc": { - "start": { - "line": 112, - "column": 16 - }, - "end": { - "line": 112, - "column": 53 - } - }, - "object": { - "type": "CallExpression", - "start": 3900, - "end": 3931, - "loc": { - "start": { - "line": 112, - "column": 16 - }, - "end": { - "line": 112, - "column": 47 - } - }, - "callee": { - "type": "MemberExpression", - "start": 3900, - "end": 3917, - "loc": { - "start": { - "line": 112, - "column": 16 - }, - "end": { - "line": 112, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 3900, - "end": 3910, - "loc": { - "start": { - "line": 112, - "column": 16 - }, - "end": { - "line": 112, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 3900, - "end": 3903, - "loc": { - "start": { - "line": 112, - "column": 16 - }, - "end": { - "line": 112, - "column": 19 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 3904, - "end": 3910, - "loc": { - "start": { - "line": 112, - "column": 20 - }, - "end": { - "line": 112, - "column": 26 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 3911, - "end": 3917, - "loc": { - "start": { - "line": 112, - "column": 27 - }, - "end": { - "line": 112, - "column": 33 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 3918, - "end": 3930, - "loc": { - "start": { - "line": 112, - "column": 34 - }, - "end": { - "line": 112, - "column": 46 - } - }, - "extra": { - "rawValue": "VYI-module", - "raw": "'VYI-module'" - }, - "value": "VYI-module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 3932, - "end": 3937, - "loc": { - "start": { - "line": 112, - "column": 48 - }, - "end": { - "line": 112, - "column": 53 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 3938, - "end": 3970, - "loc": { - "start": { - "line": 112, - "column": 54 - }, - "end": { - "line": 112, - "column": 86 - } - }, - "extra": { - "rawValue": "Invalid icon data type passed!", - "raw": "'Invalid icon data type passed!'" - }, - "value": "Invalid icon data type passed!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 4004, - "end": 4092, - "loc": { - "start": { - "line": 114, - "column": 15 - }, - "end": { - "line": 116, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 4019, - "end": 4081, - "loc": { - "start": { - "line": 115, - "column": 12 - }, - "end": { - "line": 115, - "column": 74 - } - }, - "expression": { - "type": "CallExpression", - "start": 4019, - "end": 4080, - "loc": { - "start": { - "line": 115, - "column": 12 - }, - "end": { - "line": 115, - "column": 73 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4019, - "end": 4056, - "loc": { - "start": { - "line": 115, - "column": 12 - }, - "end": { - "line": 115, - "column": 49 - } - }, - "object": { - "type": "CallExpression", - "start": 4019, - "end": 4050, - "loc": { - "start": { - "line": 115, - "column": 12 - }, - "end": { - "line": 115, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4019, - "end": 4036, - "loc": { - "start": { - "line": 115, - "column": 12 - }, - "end": { - "line": 115, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 4019, - "end": 4029, - "loc": { - "start": { - "line": 115, - "column": 12 - }, - "end": { - "line": 115, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 4019, - "end": 4022, - "loc": { - "start": { - "line": 115, - "column": 12 - }, - "end": { - "line": 115, - "column": 15 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 4023, - "end": 4029, - "loc": { - "start": { - "line": 115, - "column": 16 - }, - "end": { - "line": 115, - "column": 22 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 4030, - "end": 4036, - "loc": { - "start": { - "line": 115, - "column": 23 - }, - "end": { - "line": 115, - "column": 29 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 4037, - "end": 4049, - "loc": { - "start": { - "line": 115, - "column": 30 - }, - "end": { - "line": 115, - "column": 42 - } - }, - "extra": { - "rawValue": "VYI-module", - "raw": "'VYI-module'" - }, - "value": "VYI-module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 4051, - "end": 4056, - "loc": { - "start": { - "line": 115, - "column": 44 - }, - "end": { - "line": 115, - "column": 49 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 4057, - "end": 4079, - "loc": { - "start": { - "line": 115, - "column": 50 - }, - "end": { - "line": 115, - "column": 72 - } - }, - "extra": { - "rawValue": "No icon data passed!", - "raw": "'No icon data passed!'" - }, - "value": "No icon data passed!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "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": 3411, - "end": 3580, - "loc": { - "start": { - "line": 99, - "column": 4 - }, - "end": { - "line": 103, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "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": 4105, - "end": 4437, - "loc": { - "start": { - "line": 118, - "column": 4 - }, - "end": { - "line": 122, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 4443, - "end": 4686, - "loc": { - "start": { - "line": 123, - "column": 4 - }, - "end": { - "line": 130, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4443, - "end": 4453, - "loc": { - "start": { - "line": 123, - "column": 4 - }, - "end": { - "line": 123, - "column": 14 - }, - "identifierName": "removeIcon" - }, - "name": "removeIcon", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 4454, - "end": 4459, - "loc": { - "start": { - "line": 123, - "column": 15 - }, - "end": { - "line": 123, - "column": 20 - }, - "identifierName": "pIcon" - }, - "name": "pIcon" - }, - { - "type": "Identifier", - "start": 4461, - "end": 4466, - "loc": { - "start": { - "line": 123, - "column": 22 - }, - "end": { - "line": 123, - "column": 27 - }, - "identifierName": "pName" - }, - "name": "pName" - } - ], - "body": { - "type": "BlockStatement", - "start": 4468, - "end": 4686, - "loc": { - "start": { - "line": 123, - "column": 29 - }, - "end": { - "line": 130, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 4479, - "end": 4521, - "loc": { - "start": { - "line": 124, - "column": 8 - }, - "end": { - "line": 124, - "column": 50 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 4485, - "end": 4520, - "loc": { - "start": { - "line": 124, - "column": 14 - }, - "end": { - "line": 124, - "column": 49 - } - }, - "id": { - "type": "Identifier", - "start": 4485, - "end": 4489, - "loc": { - "start": { - "line": 124, - "column": 14 - }, - "end": { - "line": 124, - "column": 18 - }, - "identifierName": "icon" - }, - "name": "icon" - }, - "init": { - "type": "LogicalExpression", - "start": 4492, - "end": 4520, - "loc": { - "start": { - "line": 124, - "column": 21 - }, - "end": { - "line": 124, - "column": 49 - } - }, - "left": { - "type": "Identifier", - "start": 4492, - "end": 4497, - "loc": { - "start": { - "line": 124, - "column": 21 - }, - "end": { - "line": 124, - "column": 26 - }, - "identifierName": "pIcon" - }, - "name": "pIcon" - }, - "operator": "||", - "right": { - "type": "CallExpression", - "start": 4501, - "end": 4520, - "loc": { - "start": { - "line": 124, - "column": 30 - }, - "end": { - "line": 124, - "column": 49 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4501, - "end": 4513, - "loc": { - "start": { - "line": 124, - "column": 30 - }, - "end": { - "line": 124, - "column": 42 - } - }, - "object": { - "type": "ThisExpression", - "start": 4501, - "end": 4505, - "loc": { - "start": { - "line": 124, - "column": 30 - }, - "end": { - "line": 124, - "column": 34 - } - } - }, - "property": { - "type": "Identifier", - "start": 4506, - "end": 4513, - "loc": { - "start": { - "line": 124, - "column": 35 - }, - "end": { - "line": 124, - "column": 42 - }, - "identifierName": "getIcon" - }, - "name": "getIcon" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 4514, - "end": 4519, - "loc": { - "start": { - "line": 124, - "column": 43 - }, - "end": { - "line": 124, - "column": 48 - }, - "identifierName": "pName" - }, - "name": "pName" - } - ] - } - } - } - ], - "kind": "const" - }, - { - "type": "IfStatement", - "start": 4531, - "end": 4679, - "loc": { - "start": { - "line": 125, - "column": 8 - }, - "end": { - "line": 129, - "column": 9 - } - }, - "test": { - "type": "Identifier", - "start": 4535, - "end": 4539, - "loc": { - "start": { - "line": 125, - "column": 12 - }, - "end": { - "line": 125, - "column": 16 - }, - "identifierName": "icon" - }, - "name": "icon" - }, - "consequent": { - "type": "BlockStatement", - "start": 4541, - "end": 4679, - "loc": { - "start": { - "line": 125, - "column": 18 - }, - "end": { - "line": 129, - "column": 9 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 4556, - "end": 4668, - "loc": { - "start": { - "line": 126, - "column": 12 - }, - "end": { - "line": 128, - "column": 13 - } - }, - "test": { - "type": "CallExpression", - "start": 4560, - "end": 4585, - "loc": { - "start": { - "line": 126, - "column": 16 - }, - "end": { - "line": 126, - "column": 41 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4560, - "end": 4579, - "loc": { - "start": { - "line": 126, - "column": 16 - }, - "end": { - "line": 126, - "column": 35 - } - }, - "object": { - "type": "MemberExpression", - "start": 4560, - "end": 4570, - "loc": { - "start": { - "line": 126, - "column": 16 - }, - "end": { - "line": 126, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 4560, - "end": 4564, - "loc": { - "start": { - "line": 126, - "column": 16 - }, - "end": { - "line": 126, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 4565, - "end": 4570, - "loc": { - "start": { - "line": 126, - "column": 21 - }, - "end": { - "line": 126, - "column": 26 - }, - "identifierName": "icons" - }, - "name": "icons" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 4571, - "end": 4579, - "loc": { - "start": { - "line": 126, - "column": 27 - }, - "end": { - "line": 126, - "column": 35 - }, - "identifierName": "includes" - }, - "name": "includes" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 4580, - "end": 4584, - "loc": { - "start": { - "line": 126, - "column": 36 - }, - "end": { - "line": 126, - "column": 40 - }, - "identifierName": "icon" - }, - "name": "icon" - } - ] - }, - "consequent": { - "type": "BlockStatement", - "start": 4587, - "end": 4668, - "loc": { - "start": { - "line": 126, - "column": 43 - }, - "end": { - "line": 128, - "column": 13 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 4606, - "end": 4653, - "loc": { - "start": { - "line": 127, - "column": 16 - }, - "end": { - "line": 127, - "column": 63 - } - }, - "expression": { - "type": "CallExpression", - "start": 4606, - "end": 4652, - "loc": { - "start": { - "line": 127, - "column": 16 - }, - "end": { - "line": 127, - "column": 62 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4606, - "end": 4623, - "loc": { - "start": { - "line": 127, - "column": 16 - }, - "end": { - "line": 127, - "column": 33 - } - }, - "object": { - "type": "MemberExpression", - "start": 4606, - "end": 4616, - "loc": { - "start": { - "line": 127, - "column": 16 - }, - "end": { - "line": 127, - "column": 26 - } - }, - "object": { - "type": "ThisExpression", - "start": 4606, - "end": 4610, - "loc": { - "start": { - "line": 127, - "column": 16 - }, - "end": { - "line": 127, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 4611, - "end": 4616, - "loc": { - "start": { - "line": 127, - "column": 21 - }, - "end": { - "line": 127, - "column": 26 - }, - "identifierName": "icons" - }, - "name": "icons" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 4617, - "end": 4623, - "loc": { - "start": { - "line": 127, - "column": 27 - }, - "end": { - "line": 127, - "column": 33 - }, - "identifierName": "splice" - }, - "name": "splice" - }, - "computed": false - }, - "arguments": [ - { - "type": "CallExpression", - "start": 4624, - "end": 4648, - "loc": { - "start": { - "line": 127, - "column": 34 - }, - "end": { - "line": 127, - "column": 58 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4624, - "end": 4642, - "loc": { - "start": { - "line": 127, - "column": 34 - }, - "end": { - "line": 127, - "column": 52 - } - }, - "object": { - "type": "MemberExpression", - "start": 4624, - "end": 4634, - "loc": { - "start": { - "line": 127, - "column": 34 - }, - "end": { - "line": 127, - "column": 44 - } - }, - "object": { - "type": "ThisExpression", - "start": 4624, - "end": 4628, - "loc": { - "start": { - "line": 127, - "column": 34 - }, - "end": { - "line": 127, - "column": 38 - } - } - }, - "property": { - "type": "Identifier", - "start": 4629, - "end": 4634, - "loc": { - "start": { - "line": 127, - "column": 39 - }, - "end": { - "line": 127, - "column": 44 - }, - "identifierName": "icons" - }, - "name": "icons" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 4635, - "end": 4642, - "loc": { - "start": { - "line": 127, - "column": 45 - }, - "end": { - "line": 127, - "column": 52 - }, - "identifierName": "indexOf" - }, - "name": "indexOf" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 4643, - "end": 4647, - "loc": { - "start": { - "line": 127, - "column": 53 - }, - "end": { - "line": 127, - "column": 57 - }, - "identifierName": "icon" - }, - "name": "icon" - } - ] - }, - { - "type": "NumericLiteral", - "start": 4650, - "end": 4651, - "loc": { - "start": { - "line": 127, - "column": 60 - }, - "end": { - "line": 127, - "column": 61 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - ] - } - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [] - }, - "alternate": null - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "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": 4105, - "end": 4437, - "loc": { - "start": { - "line": 118, - "column": 4 - }, - "end": { - "line": 122, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "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": 4692, - "end": 4813, - "loc": { - "start": { - "line": 131, - "column": 4 - }, - "end": { - "line": 134, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 4819, - "end": 5038, - "loc": { - "start": { - "line": 135, - "column": 4 - }, - "end": { - "line": 142, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 4819, - "end": 4831, - "loc": { - "start": { - "line": 135, - "column": 4 - }, - "end": { - "line": 135, - "column": 16 - }, - "identifierName": "getIconNames" - }, - "name": "getIconNames", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 4834, - "end": 5038, - "loc": { - "start": { - "line": 135, - "column": 19 - }, - "end": { - "line": 142, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 4888, - "end": 4909, - "loc": { - "start": { - "line": 137, - "column": 8 - }, - "end": { - "line": 137, - "column": 29 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 4894, - "end": 4908, - "loc": { - "start": { - "line": 137, - "column": 14 - }, - "end": { - "line": 137, - "column": 28 - } - }, - "id": { - "type": "Identifier", - "start": 4894, - "end": 4903, - "loc": { - "start": { - "line": 137, - "column": 14 - }, - "end": { - "line": 137, - "column": 23 - }, - "identifierName": "iconNames" - }, - "name": "iconNames", - "leadingComments": null - }, - "init": { - "type": "ArrayExpression", - "start": 4906, - "end": 4908, - "loc": { - "start": { - "line": 137, - "column": 26 - }, - "end": { - "line": 137, - "column": 28 - } - }, - "elements": [] - }, - "leadingComments": null - } - ], - "kind": "const", - "leadingComments": [ - { - "type": "CommentLine", - "value": " Array to store the icon names.", - "start": 4845, - "end": 4878, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 41 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 4919, - "end": 5004, - "loc": { - "start": { - "line": 138, - "column": 8 - }, - "end": { - "line": 140, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 4919, - "end": 5003, - "loc": { - "start": { - "line": 138, - "column": 8 - }, - "end": { - "line": 140, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4919, - "end": 4937, - "loc": { - "start": { - "line": 138, - "column": 8 - }, - "end": { - "line": 138, - "column": 26 - } - }, - "object": { - "type": "MemberExpression", - "start": 4919, - "end": 4929, - "loc": { - "start": { - "line": 138, - "column": 8 - }, - "end": { - "line": 138, - "column": 18 - } - }, - "object": { - "type": "ThisExpression", - "start": 4919, - "end": 4923, - "loc": { - "start": { - "line": 138, - "column": 8 - }, - "end": { - "line": 138, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 4924, - "end": 4929, - "loc": { - "start": { - "line": 138, - "column": 13 - }, - "end": { - "line": 138, - "column": 18 - }, - "identifierName": "icons" - }, - "name": "icons" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 4930, - "end": 4937, - "loc": { - "start": { - "line": 138, - "column": 19 - }, - "end": { - "line": 138, - "column": 26 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 4938, - "end": 5002, - "loc": { - "start": { - "line": 138, - "column": 27 - }, - "end": { - "line": 140, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 4939, - "end": 4944, - "loc": { - "start": { - "line": 138, - "column": 28 - }, - "end": { - "line": 138, - "column": 33 - }, - "identifierName": "pIcon" - }, - "name": "pIcon" - } - ], - "body": { - "type": "BlockStatement", - "start": 4949, - "end": 5002, - "loc": { - "start": { - "line": 138, - "column": 38 - }, - "end": { - "line": 140, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 4964, - "end": 4991, - "loc": { - "start": { - "line": 139, - "column": 12 - }, - "end": { - "line": 139, - "column": 39 - } - }, - "expression": { - "type": "CallExpression", - "start": 4964, - "end": 4990, - "loc": { - "start": { - "line": 139, - "column": 12 - }, - "end": { - "line": 139, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 4964, - "end": 4978, - "loc": { - "start": { - "line": 139, - "column": 12 - }, - "end": { - "line": 139, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 4964, - "end": 4973, - "loc": { - "start": { - "line": 139, - "column": 12 - }, - "end": { - "line": 139, - "column": 21 - }, - "identifierName": "iconNames" - }, - "name": "iconNames" - }, - "property": { - "type": "Identifier", - "start": 4974, - "end": 4978, - "loc": { - "start": { - "line": 139, - "column": 22 - }, - "end": { - "line": 139, - "column": 26 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 4979, - "end": 4989, - "loc": { - "start": { - "line": 139, - "column": 27 - }, - "end": { - "line": 139, - "column": 37 - } - }, - "object": { - "type": "Identifier", - "start": 4979, - "end": 4984, - "loc": { - "start": { - "line": 139, - "column": 27 - }, - "end": { - "line": 139, - "column": 32 - }, - "identifierName": "pIcon" - }, - "name": "pIcon" - }, - "property": { - "type": "Identifier", - "start": 4985, - "end": 4989, - "loc": { - "start": { - "line": 139, - "column": 33 - }, - "end": { - "line": 139, - "column": 37 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - } - ] - } - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 5014, - "end": 5031, - "loc": { - "start": { - "line": 141, - "column": 8 - }, - "end": { - "line": 141, - "column": 25 - } - }, - "argument": { - "type": "Identifier", - "start": 5021, - "end": 5030, - "loc": { - "start": { - "line": 141, - "column": 15 - }, - "end": { - "line": 141, - "column": 24 - }, - "identifierName": "iconNames" - }, - "name": "iconNames" - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "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": 4692, - "end": 4813, - "loc": { - "start": { - "line": 131, - "column": 4 - }, - "end": { - "line": 134, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "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": 5044, - "end": 5245, - "loc": { - "start": { - "line": 143, - "column": 4 - }, - "end": { - "line": 147, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5251, - "end": 5719, - "loc": { - "start": { - "line": 148, - "column": 4 - }, - "end": { - "line": 160, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5251, - "end": 5258, - "loc": { - "start": { - "line": 148, - "column": 4 - }, - "end": { - "line": 148, - "column": 11 - }, - "identifierName": "getIcon" - }, - "name": "getIcon", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 5259, - "end": 5264, - "loc": { - "start": { - "line": 148, - "column": 12 - }, - "end": { - "line": 148, - "column": 17 - }, - "identifierName": "pName" - }, - "name": "pName" - } - ], - "body": { - "type": "BlockStatement", - "start": 5266, - "end": 5719, - "loc": { - "start": { - "line": 148, - "column": 19 - }, - "end": { - "line": 160, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 5277, - "end": 5712, - "loc": { - "start": { - "line": 149, - "column": 8 - }, - "end": { - "line": 159, - "column": 9 - } - }, - "test": { - "type": "BinaryExpression", - "start": 5281, - "end": 5307, - "loc": { - "start": { - "line": 149, - "column": 12 - }, - "end": { - "line": 149, - "column": 38 - } - }, - "left": { - "type": "UnaryExpression", - "start": 5281, - "end": 5294, - "loc": { - "start": { - "line": 149, - "column": 12 - }, - "end": { - "line": 149, - "column": 25 - } - }, - "operator": "typeof", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 5288, - "end": 5293, - "loc": { - "start": { - "line": 149, - "column": 19 - }, - "end": { - "line": 149, - "column": 24 - }, - "identifierName": "pName" - }, - "name": "pName", - "extra": { - "parenthesized": true, - "parenStart": 5287 - } - }, - "extra": { - "parenthesizedArgument": false - } - }, - "operator": "===", - "right": { - "type": "StringLiteral", - "start": 5299, - "end": 5307, - "loc": { - "start": { - "line": 149, - "column": 30 - }, - "end": { - "line": 149, - "column": 38 - } - }, - "extra": { - "rawValue": "string", - "raw": "'string'" - }, - "value": "string" - } - }, - "consequent": { - "type": "BlockStatement", - "start": 5309, - "end": 5615, - "loc": { - "start": { - "line": 149, - "column": 40 - }, - "end": { - "line": 157, - "column": 9 - } - }, - "body": [ - { - "type": "ForStatement", - "start": 5324, - "end": 5604, - "loc": { - "start": { - "line": 150, - "column": 12 - }, - "end": { - "line": 156, - "column": 13 - } - }, - "init": { - "type": "VariableDeclaration", - "start": 5329, - "end": 5358, - "loc": { - "start": { - "line": 150, - "column": 17 - }, - "end": { - "line": 150, - "column": 46 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 5333, - "end": 5358, - "loc": { - "start": { - "line": 150, - "column": 21 - }, - "end": { - "line": 150, - "column": 46 - } - }, - "id": { - "type": "Identifier", - "start": 5333, - "end": 5334, - "loc": { - "start": { - "line": 150, - "column": 21 - }, - "end": { - "line": 150, - "column": 22 - }, - "identifierName": "i" - }, - "name": "i" - }, - "init": { - "type": "BinaryExpression", - "start": 5337, - "end": 5358, - "loc": { - "start": { - "line": 150, - "column": 25 - }, - "end": { - "line": 150, - "column": 46 - } - }, - "left": { - "type": "MemberExpression", - "start": 5337, - "end": 5354, - "loc": { - "start": { - "line": 150, - "column": 25 - }, - "end": { - "line": 150, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 5337, - "end": 5347, - "loc": { - "start": { - "line": 150, - "column": 25 - }, - "end": { - "line": 150, - "column": 35 - } - }, - "object": { - "type": "ThisExpression", - "start": 5337, - "end": 5341, - "loc": { - "start": { - "line": 150, - "column": 25 - }, - "end": { - "line": 150, - "column": 29 - } - } - }, - "property": { - "type": "Identifier", - "start": 5342, - "end": 5347, - "loc": { - "start": { - "line": 150, - "column": 30 - }, - "end": { - "line": 150, - "column": 35 - }, - "identifierName": "icons" - }, - "name": "icons" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 5348, - "end": 5354, - "loc": { - "start": { - "line": 150, - "column": 36 - }, - "end": { - "line": 150, - "column": 42 - }, - "identifierName": "length" - }, - "name": "length" - }, - "computed": false - }, - "operator": "-", - "right": { - "type": "NumericLiteral", - "start": 5357, - "end": 5358, - "loc": { - "start": { - "line": 150, - "column": 45 - }, - "end": { - "line": 150, - "column": 46 - } - }, - "extra": { - "rawValue": 1, - "raw": "1" - }, - "value": 1 - } - } - } - ], - "kind": "let" - }, - "test": { - "type": "BinaryExpression", - "start": 5360, - "end": 5366, - "loc": { - "start": { - "line": 150, - "column": 48 - }, - "end": { - "line": 150, - "column": 54 - } - }, - "left": { - "type": "Identifier", - "start": 5360, - "end": 5361, - "loc": { - "start": { - "line": 150, - "column": 48 - }, - "end": { - "line": 150, - "column": 49 - }, - "identifierName": "i" - }, - "name": "i" - }, - "operator": ">=", - "right": { - "type": "NumericLiteral", - "start": 5365, - "end": 5366, - "loc": { - "start": { - "line": 150, - "column": 53 - }, - "end": { - "line": 150, - "column": 54 - } - }, - "extra": { - "rawValue": 0, - "raw": "0" - }, - "value": 0 - } - }, - "update": { - "type": "UpdateExpression", - "start": 5368, - "end": 5371, - "loc": { - "start": { - "line": 150, - "column": 56 - }, - "end": { - "line": 150, - "column": 59 - } - }, - "operator": "--", - "prefix": false, - "argument": { - "type": "Identifier", - "start": 5368, - "end": 5369, - "loc": { - "start": { - "line": 150, - "column": 56 - }, - "end": { - "line": 150, - "column": 57 - }, - "identifierName": "i" - }, - "name": "i" - } - }, - "body": { - "type": "BlockStatement", - "start": 5373, - "end": 5604, - "loc": { - "start": { - "line": 150, - "column": 61 - }, - "end": { - "line": 156, - "column": 13 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 5392, - "end": 5419, - "loc": { - "start": { - "line": 151, - "column": 16 - }, - "end": { - "line": 151, - "column": 43 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 5398, - "end": 5418, - "loc": { - "start": { - "line": 151, - "column": 22 - }, - "end": { - "line": 151, - "column": 42 - } - }, - "id": { - "type": "Identifier", - "start": 5398, - "end": 5402, - "loc": { - "start": { - "line": 151, - "column": 22 - }, - "end": { - "line": 151, - "column": 26 - }, - "identifierName": "icon" - }, - "name": "icon" - }, - "init": { - "type": "MemberExpression", - "start": 5405, - "end": 5418, - "loc": { - "start": { - "line": 151, - "column": 29 - }, - "end": { - "line": 151, - "column": 42 - } - }, - "object": { - "type": "MemberExpression", - "start": 5405, - "end": 5415, - "loc": { - "start": { - "line": 151, - "column": 29 - }, - "end": { - "line": 151, - "column": 39 - } - }, - "object": { - "type": "ThisExpression", - "start": 5405, - "end": 5409, - "loc": { - "start": { - "line": 151, - "column": 29 - }, - "end": { - "line": 151, - "column": 33 - } - } - }, - "property": { - "type": "Identifier", - "start": 5410, - "end": 5415, - "loc": { - "start": { - "line": 151, - "column": 34 - }, - "end": { - "line": 151, - "column": 39 - }, - "identifierName": "icons" - }, - "name": "icons" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 5416, - "end": 5417, - "loc": { - "start": { - "line": 151, - "column": 40 - }, - "end": { - "line": 151, - "column": 41 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": true - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " If the icon has the same name, return that icon", - "start": 5437, - "end": 5487, - "loc": { - "start": { - "line": 152, - "column": 16 - }, - "end": { - "line": 152, - "column": 66 - } - } - } - ] - }, - { - "type": "IfStatement", - "start": 5505, - "end": 5589, - "loc": { - "start": { - "line": 153, - "column": 16 - }, - "end": { - "line": 155, - "column": 17 - } - }, - "test": { - "type": "BinaryExpression", - "start": 5509, - "end": 5533, - "loc": { - "start": { - "line": 153, - "column": 20 - }, - "end": { - "line": 153, - "column": 44 - } - }, - "left": { - "type": "CallExpression", - "start": 5509, - "end": 5523, - "loc": { - "start": { - "line": 153, - "column": 20 - }, - "end": { - "line": 153, - "column": 34 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5509, - "end": 5521, - "loc": { - "start": { - "line": 153, - "column": 20 - }, - "end": { - "line": 153, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 5509, - "end": 5513, - "loc": { - "start": { - "line": 153, - "column": 20 - }, - "end": { - "line": 153, - "column": 24 - }, - "identifierName": "icon" - }, - "name": "icon", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 5514, - "end": 5521, - "loc": { - "start": { - "line": 153, - "column": 25 - }, - "end": { - "line": 153, - "column": 32 - }, - "identifierName": "getName" - }, - "name": "getName" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [], - "leadingComments": null - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 5528, - "end": 5533, - "loc": { - "start": { - "line": 153, - "column": 39 - }, - "end": { - "line": 153, - "column": 44 - }, - "identifierName": "pName" - }, - "name": "pName" - }, - "leadingComments": null - }, - "consequent": { - "type": "BlockStatement", - "start": 5535, - "end": 5589, - "loc": { - "start": { - "line": 153, - "column": 46 - }, - "end": { - "line": 155, - "column": 17 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 5558, - "end": 5570, - "loc": { - "start": { - "line": 154, - "column": 20 - }, - "end": { - "line": 154, - "column": 32 - } - }, - "argument": { - "type": "Identifier", - "start": 5565, - "end": 5569, - "loc": { - "start": { - "line": 154, - "column": 27 - }, - "end": { - "line": 154, - "column": 31 - }, - "identifierName": "icon" - }, - "name": "icon" - } - } - ], - "directives": [] - }, - "alternate": null, - "leadingComments": [ - { - "type": "CommentLine", - "value": " If the icon has the same name, return that icon", - "start": 5437, - "end": 5487, - "loc": { - "start": { - "line": 152, - "column": 16 - }, - "end": { - "line": 152, - "column": 66 - } - } - } - ] - } - ], - "directives": [] - } - } - ], - "directives": [] - }, - "alternate": { - "type": "BlockStatement", - "start": 5621, - "end": 5712, - "loc": { - "start": { - "line": 157, - "column": 15 - }, - "end": { - "line": 159, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 5636, - "end": 5701, - "loc": { - "start": { - "line": 158, - "column": 12 - }, - "end": { - "line": 158, - "column": 77 - } - }, - "expression": { - "type": "CallExpression", - "start": 5636, - "end": 5700, - "loc": { - "start": { - "line": 158, - "column": 12 - }, - "end": { - "line": 158, - "column": 76 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5636, - "end": 5673, - "loc": { - "start": { - "line": 158, - "column": 12 - }, - "end": { - "line": 158, - "column": 49 - } - }, - "object": { - "type": "CallExpression", - "start": 5636, - "end": 5667, - "loc": { - "start": { - "line": 158, - "column": 12 - }, - "end": { - "line": 158, - "column": 43 - } - }, - "callee": { - "type": "MemberExpression", - "start": 5636, - "end": 5653, - "loc": { - "start": { - "line": 158, - "column": 12 - }, - "end": { - "line": 158, - "column": 29 - } - }, - "object": { - "type": "MemberExpression", - "start": 5636, - "end": 5646, - "loc": { - "start": { - "line": 158, - "column": 12 - }, - "end": { - "line": 158, - "column": 22 - } - }, - "object": { - "type": "Identifier", - "start": 5636, - "end": 5639, - "loc": { - "start": { - "line": 158, - "column": 12 - }, - "end": { - "line": 158, - "column": 15 - }, - "identifierName": "VYI" - }, - "name": "VYI" - }, - "property": { - "type": "Identifier", - "start": 5640, - "end": 5646, - "loc": { - "start": { - "line": 158, - "column": 16 - }, - "end": { - "line": 158, - "column": 22 - }, - "identifierName": "logger" - }, - "name": "logger" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 5647, - "end": 5653, - "loc": { - "start": { - "line": 158, - "column": 23 - }, - "end": { - "line": 158, - "column": 29 - }, - "identifierName": "prefix" - }, - "name": "prefix" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 5654, - "end": 5666, - "loc": { - "start": { - "line": 158, - "column": 30 - }, - "end": { - "line": 158, - "column": 42 - } - }, - "extra": { - "rawValue": "VYI-module", - "raw": "'VYI-module'" - }, - "value": "VYI-module" - } - ] - }, - "property": { - "type": "Identifier", - "start": 5668, - "end": 5673, - "loc": { - "start": { - "line": 158, - "column": 44 - }, - "end": { - "line": 158, - "column": 49 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 5674, - "end": 5699, - "loc": { - "start": { - "line": 158, - "column": 50 - }, - "end": { - "line": 158, - "column": 75 - } - }, - "extra": { - "rawValue": "Invalid name type used!", - "raw": "'Invalid name type used!'" - }, - "value": "Invalid name type used!" - } - ] - } - } - ], - "directives": [] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "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": 5044, - "end": 5245, - "loc": { - "start": { - "line": 143, - "column": 4 - }, - "end": { - "line": 147, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets an icon by the id provided.\r\n * \r\n * @private\r\n * @param {string} pID - The id of the icon.\r\n * @returns {Icon} The icon that has the id that was passed.\r\n ", - "start": 5725, - "end": 5920, - "loc": { - "start": { - "line": 161, - "column": 4 - }, - "end": { - "line": 167, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 5926, - "end": 6194, - "loc": { - "start": { - "line": 168, - "column": 4 - }, - "end": { - "line": 176, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 5926, - "end": 5937, - "loc": { - "start": { - "line": 168, - "column": 4 - }, - "end": { - "line": 168, - "column": 15 - }, - "identifierName": "getIconByID" - }, - "name": "getIconByID", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 5938, - "end": 5941, - "loc": { - "start": { - "line": 168, - "column": 16 - }, - "end": { - "line": 168, - "column": 19 - }, - "identifierName": "pID" - }, - "name": "pID" - } - ], - "body": { - "type": "BlockStatement", - "start": 5943, - "end": 6194, - "loc": { - "start": { - "line": 168, - "column": 21 - }, - "end": { - "line": 176, - "column": 5 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 5954, - "end": 5971, - "loc": { - "start": { - "line": 169, - "column": 8 - }, - "end": { - "line": 169, - "column": 25 - } - }, - "test": { - "type": "UnaryExpression", - "start": 5958, - "end": 5962, - "loc": { - "start": { - "line": 169, - "column": 12 - }, - "end": { - "line": 169, - "column": 16 - } - }, - "operator": "!", - "prefix": true, - "argument": { - "type": "Identifier", - "start": 5959, - "end": 5962, - "loc": { - "start": { - "line": 169, - "column": 13 - }, - "end": { - "line": 169, - "column": 16 - }, - "identifierName": "pID" - }, - "name": "pID" - }, - "extra": { - "parenthesizedArgument": false - } - }, - "consequent": { - "type": "ReturnStatement", - "start": 5964, - "end": 5971, - "loc": { - "start": { - "line": 169, - "column": 18 - }, - "end": { - "line": 169, - "column": 25 - } - }, - "argument": null - }, - "alternate": null - }, - { - "type": "ForOfStatement", - "start": 5981, - "end": 6187, - "loc": { - "start": { - "line": 170, - "column": 8 - }, - "end": { - "line": 175, - "column": 9 - } - }, - "left": { - "type": "VariableDeclaration", - "start": 5986, - "end": 5996, - "loc": { - "start": { - "line": 170, - "column": 13 - }, - "end": { - "line": 170, - "column": 23 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 5992, - "end": 5996, - "loc": { - "start": { - "line": 170, - "column": 19 - }, - "end": { - "line": 170, - "column": 23 - } - }, - "id": { - "type": "Identifier", - "start": 5992, - "end": 5996, - "loc": { - "start": { - "line": 170, - "column": 19 - }, - "end": { - "line": 170, - "column": 23 - }, - "identifierName": "icon" - }, - "name": "icon" - }, - "init": null - } - ], - "kind": "const" - }, - "right": { - "type": "MemberExpression", - "start": 6000, - "end": 6010, - "loc": { - "start": { - "line": 170, - "column": 27 - }, - "end": { - "line": 170, - "column": 37 - } - }, - "object": { - "type": "ThisExpression", - "start": 6000, - "end": 6004, - "loc": { - "start": { - "line": 170, - "column": 27 - }, - "end": { - "line": 170, - "column": 31 - } - } - }, - "property": { - "type": "Identifier", - "start": 6005, - "end": 6010, - "loc": { - "start": { - "line": 170, - "column": 32 - }, - "end": { - "line": 170, - "column": 37 - }, - "identifierName": "icons" - }, - "name": "icons" - }, - "computed": false - }, - "body": { - "type": "BlockStatement", - "start": 6012, - "end": 6187, - "loc": { - "start": { - "line": 170, - "column": 39 - }, - "end": { - "line": 175, - "column": 9 - } - }, - "body": [ - { - "type": "ForOfStatement", - "start": 6027, - "end": 6129, - "loc": { - "start": { - "line": 171, - "column": 12 - }, - "end": { - "line": 173, - "column": 13 - } - }, - "left": { - "type": "VariableDeclaration", - "start": 6032, - "end": 6043, - "loc": { - "start": { - "line": 171, - "column": 17 - }, - "end": { - "line": 171, - "column": 28 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 6038, - "end": 6043, - "loc": { - "start": { - "line": 171, - "column": 23 - }, - "end": { - "line": 171, - "column": 28 - } - }, - "id": { - "type": "Identifier", - "start": 6038, - "end": 6043, - "loc": { - "start": { - "line": 171, - "column": 23 - }, - "end": { - "line": 171, - "column": 28 - }, - "identifierName": "state" - }, - "name": "state" - }, - "init": null - } - ], - "kind": "const" - }, - "right": { - "type": "MemberExpression", - "start": 6047, - "end": 6058, - "loc": { - "start": { - "line": 171, - "column": 32 - }, - "end": { - "line": 171, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 6047, - "end": 6051, - "loc": { - "start": { - "line": 171, - "column": 32 - }, - "end": { - "line": 171, - "column": 36 - }, - "identifierName": "icon" - }, - "name": "icon" - }, - "property": { - "type": "Identifier", - "start": 6052, - "end": 6058, - "loc": { - "start": { - "line": 171, - "column": 37 - }, - "end": { - "line": 171, - "column": 43 - }, - "identifierName": "states" - }, - "name": "states" - }, - "computed": false - }, - "body": { - "type": "BlockStatement", - "start": 6060, - "end": 6129, - "loc": { - "start": { - "line": 171, - "column": 45 - }, - "end": { - "line": 173, - "column": 13 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 6079, - "end": 6114, - "loc": { - "start": { - "line": 172, - "column": 16 - }, - "end": { - "line": 172, - "column": 51 - } - }, - "test": { - "type": "BinaryExpression", - "start": 6083, - "end": 6099, - "loc": { - "start": { - "line": 172, - "column": 20 - }, - "end": { - "line": 172, - "column": 36 - } - }, - "left": { - "type": "MemberExpression", - "start": 6083, - "end": 6091, - "loc": { - "start": { - "line": 172, - "column": 20 - }, - "end": { - "line": 172, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 6083, - "end": 6088, - "loc": { - "start": { - "line": 172, - "column": 20 - }, - "end": { - "line": 172, - "column": 25 - }, - "identifierName": "state" - }, - "name": "state" - }, - "property": { - "type": "Identifier", - "start": 6089, - "end": 6091, - "loc": { - "start": { - "line": 172, - "column": 26 - }, - "end": { - "line": 172, - "column": 28 - }, - "identifierName": "id" - }, - "name": "id" - }, - "computed": false - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 6096, - "end": 6099, - "loc": { - "start": { - "line": 172, - "column": 33 - }, - "end": { - "line": 172, - "column": 36 - }, - "identifierName": "pID" - }, - "name": "pID" - } - }, - "consequent": { - "type": "ReturnStatement", - "start": 6101, - "end": 6114, - "loc": { - "start": { - "line": 172, - "column": 38 - }, - "end": { - "line": 172, - "column": 51 - } - }, - "argument": { - "type": "Identifier", - "start": 6108, - "end": 6113, - "loc": { - "start": { - "line": 172, - "column": 45 - }, - "end": { - "line": 172, - "column": 50 - }, - "identifierName": "state" - }, - "name": "state" - } - }, - "alternate": null - } - ], - "directives": [] - } - }, - { - "type": "IfStatement", - "start": 6143, - "end": 6176, - "loc": { - "start": { - "line": 174, - "column": 12 - }, - "end": { - "line": 174, - "column": 45 - } - }, - "test": { - "type": "BinaryExpression", - "start": 6147, - "end": 6162, - "loc": { - "start": { - "line": 174, - "column": 16 - }, - "end": { - "line": 174, - "column": 31 - } - }, - "left": { - "type": "MemberExpression", - "start": 6147, - "end": 6154, - "loc": { - "start": { - "line": 174, - "column": 16 - }, - "end": { - "line": 174, - "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 6147, - "end": 6151, - "loc": { - "start": { - "line": 174, - "column": 16 - }, - "end": { - "line": 174, - "column": 20 - }, - "identifierName": "icon" - }, - "name": "icon" - }, - "property": { - "type": "Identifier", - "start": 6152, - "end": 6154, - "loc": { - "start": { - "line": 174, - "column": 21 - }, - "end": { - "line": 174, - "column": 23 - }, - "identifierName": "id" - }, - "name": "id" - }, - "computed": false - }, - "operator": "===", - "right": { - "type": "Identifier", - "start": 6159, - "end": 6162, - "loc": { - "start": { - "line": 174, - "column": 28 - }, - "end": { - "line": 174, - "column": 31 - }, - "identifierName": "pID" - }, - "name": "pID" - } - }, - "consequent": { - "type": "ReturnStatement", - "start": 6164, - "end": 6176, - "loc": { - "start": { - "line": 174, - "column": 33 - }, - "end": { - "line": 174, - "column": 45 - } - }, - "argument": { - "type": "Identifier", - "start": 6171, - "end": 6175, - "loc": { - "start": { - "line": 174, - "column": 40 - }, - "end": { - "line": 174, - "column": 44 - }, - "identifierName": "icon" - }, - "name": "icon" - } - }, - "alternate": null - } - ], - "directives": [] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets an icon by the id provided.\r\n * \r\n * @private\r\n * @param {string} pID - The id of the icon.\r\n * @returns {Icon} The icon that has the id that was passed.\r\n ", - "start": 5725, - "end": 5920, - "loc": { - "start": { - "line": 161, - "column": 4 - }, - "end": { - "line": 167, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", - "start": 6200, - "end": 6283, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 180, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 6289, - "end": 6341, - "loc": { - "start": { - "line": 181, - "column": 4 - }, - "end": { - "line": 183, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6289, - "end": 6297, - "loc": { - "start": { - "line": 181, - "column": 4 - }, - "end": { - "line": 181, - "column": 12 - }, - "identifierName": "getIcons" - }, - "name": "getIcons", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 6300, - "end": 6341, - "loc": { - "start": { - "line": 181, - "column": 15 - }, - "end": { - "line": 183, - "column": 5 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 6311, - "end": 6334, - "loc": { - "start": { - "line": 182, - "column": 8 - }, - "end": { - "line": 182, - "column": 31 - } - }, - "argument": { - "type": "ArrayExpression", - "start": 6318, - "end": 6333, - "loc": { - "start": { - "line": 182, - "column": 15 - }, - "end": { - "line": 182, - "column": 30 - } - }, - "elements": [ - { - "type": "SpreadElement", - "start": 6319, - "end": 6332, - "loc": { - "start": { - "line": 182, - "column": 16 - }, - "end": { - "line": 182, - "column": 29 - } - }, - "argument": { - "type": "MemberExpression", - "start": 6322, - "end": 6332, - "loc": { - "start": { - "line": 182, - "column": 19 - }, - "end": { - "line": 182, - "column": 29 - } - }, - "object": { - "type": "ThisExpression", - "start": 6322, - "end": 6326, - "loc": { - "start": { - "line": 182, - "column": 19 - }, - "end": { - "line": 182, - "column": 23 - } - } - }, - "property": { - "type": "Identifier", - "start": 6327, - "end": 6332, - "loc": { - "start": { - "line": 182, - "column": 24 - }, - "end": { - "line": 182, - "column": 29 - }, - "identifierName": "icons" - }, - "name": "icons" - }, - "computed": false - } - } - ] - } - } - ], - "directives": [], - "trailingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", - "start": 6200, - "end": 6283, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 180, - "column": 7 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 6347, - "end": 6449, - "loc": { - "start": { - "line": 184, - "column": 4 - }, - "end": { - "line": 187, - "column": 7 - } - } - } - ] - }, - { - "type": "ClassMethod", - "start": 6455, - "end": 6788, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 199, - "column": 5 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 6455, - "end": 6461, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 188, - "column": 10 - }, - "identifierName": "export" - }, - "name": "export", - "leadingComments": null - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 6464, - "end": 6788, - "loc": { - "start": { - "line": 188, - "column": 13 - }, - "end": { - "line": 199, - "column": 5 - } - }, - "body": [ - { - "type": "VariableDeclaration", - "start": 6475, - "end": 6490, - "loc": { - "start": { - "line": 189, - "column": 8 - }, - "end": { - "line": 189, - "column": 23 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 6481, - "end": 6489, - "loc": { - "start": { - "line": 189, - "column": 14 - }, - "end": { - "line": 189, - "column": 22 - } - }, - "id": { - "type": "Identifier", - "start": 6481, - "end": 6484, - "loc": { - "start": { - "line": 189, - "column": 14 - }, - "end": { - "line": 189, - "column": 17 - }, - "identifierName": "vyi" - }, - "name": "vyi" - }, - "init": { - "type": "ObjectExpression", - "start": 6487, - "end": 6489, - "loc": { - "start": { - "line": 189, - "column": 20 - }, - "end": { - "line": 189, - "column": 22 - } - }, - "properties": [] - } - } - ], - "kind": "const", - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set version", - "start": 6500, - "end": 6514, - "loc": { - "start": { - "line": 190, - "column": 8 - }, - "end": { - "line": 190, - "column": 22 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 6524, - "end": 6551, - "loc": { - "start": { - "line": 191, - "column": 8 - }, - "end": { - "line": 191, - "column": 35 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 6524, - "end": 6550, - "loc": { - "start": { - "line": 191, - "column": 8 - }, - "end": { - "line": 191, - "column": 34 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 6524, - "end": 6529, - "loc": { - "start": { - "line": 191, - "column": 8 - }, - "end": { - "line": 191, - "column": 13 - } - }, - "object": { - "type": "Identifier", - "start": 6524, - "end": 6527, - "loc": { - "start": { - "line": 191, - "column": 8 - }, - "end": { - "line": 191, - "column": 11 - }, - "identifierName": "vyi" - }, - "name": "vyi", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 6528, - "end": 6529, - "loc": { - "start": { - "line": 191, - "column": 12 - }, - "end": { - "line": 191, - "column": 13 - }, - "identifierName": "v" - }, - "name": "v" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "MemberExpression", - "start": 6532, - "end": 6550, - "loc": { - "start": { - "line": 191, - "column": 16 - }, - "end": { - "line": 191, - "column": 34 - } - }, - "object": { - "type": "ThisExpression", - "start": 6532, - "end": 6536, - "loc": { - "start": { - "line": 191, - "column": 16 - }, - "end": { - "line": 191, - "column": 20 - } - } - }, - "property": { - "type": "Identifier", - "start": 6537, - "end": 6550, - "loc": { - "start": { - "line": 191, - "column": 21 - }, - "end": { - "line": 191, - "column": 34 - }, - "identifierName": "formatVersion" - }, - "name": "formatVersion" - }, - "computed": false - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set version", - "start": 6500, - "end": 6514, - "loc": { - "start": { - "line": 190, - "column": 8 - }, - "end": { - "line": 190, - "column": 22 - } - } - } - ], - "trailingComments": [ - { - "type": "CommentLine", - "value": " Set the icons array", - "start": 6561, - "end": 6583, - "loc": { - "start": { - "line": 192, - "column": 8 - }, - "end": { - "line": 192, - "column": 30 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 6593, - "end": 6604, - "loc": { - "start": { - "line": 193, - "column": 8 - }, - "end": { - "line": 193, - "column": 19 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 6593, - "end": 6603, - "loc": { - "start": { - "line": 193, - "column": 8 - }, - "end": { - "line": 193, - "column": 18 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 6593, - "end": 6598, - "loc": { - "start": { - "line": 193, - "column": 8 - }, - "end": { - "line": 193, - "column": 13 - } - }, - "object": { - "type": "Identifier", - "start": 6593, - "end": 6596, - "loc": { - "start": { - "line": 193, - "column": 8 - }, - "end": { - "line": 193, - "column": 11 - }, - "identifierName": "vyi" - }, - "name": "vyi", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 6597, - "end": 6598, - "loc": { - "start": { - "line": 193, - "column": 12 - }, - "end": { - "line": 193, - "column": 13 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": false, - "leadingComments": null - }, - "right": { - "type": "ArrayExpression", - "start": 6601, - "end": 6603, - "loc": { - "start": { - "line": 193, - "column": 16 - }, - "end": { - "line": 193, - "column": 18 - } - }, - "elements": [] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Set the icons array", - "start": 6561, - "end": 6583, - "loc": { - "start": { - "line": 192, - "column": 8 - }, - "end": { - "line": 192, - "column": 30 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 6614, - "end": 6760, - "loc": { - "start": { - "line": 194, - "column": 8 - }, - "end": { - "line": 197, - "column": 11 - } - }, - "expression": { - "type": "CallExpression", - "start": 6614, - "end": 6759, - "loc": { - "start": { - "line": 194, - "column": 8 - }, - "end": { - "line": 197, - "column": 10 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6614, - "end": 6632, - "loc": { - "start": { - "line": 194, - "column": 8 - }, - "end": { - "line": 194, - "column": 26 - } - }, - "object": { - "type": "MemberExpression", - "start": 6614, - "end": 6624, - "loc": { - "start": { - "line": 194, - "column": 8 - }, - "end": { - "line": 194, - "column": 18 - } - }, - "object": { - "type": "ThisExpression", - "start": 6614, - "end": 6618, - "loc": { - "start": { - "line": 194, - "column": 8 - }, - "end": { - "line": 194, - "column": 12 - } - } - }, - "property": { - "type": "Identifier", - "start": 6619, - "end": 6624, - "loc": { - "start": { - "line": 194, - "column": 13 - }, - "end": { - "line": 194, - "column": 18 - }, - "identifierName": "icons" - }, - "name": "icons" - }, - "computed": false - }, - "property": { - "type": "Identifier", - "start": 6625, - "end": 6632, - "loc": { - "start": { - "line": 194, - "column": 19 - }, - "end": { - "line": 194, - "column": 26 - }, - "identifierName": "forEach" - }, - "name": "forEach" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 6633, - "end": 6758, - "loc": { - "start": { - "line": 194, - "column": 27 - }, - "end": { - "line": 197, - "column": 9 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 6634, - "end": 6639, - "loc": { - "start": { - "line": 194, - "column": 28 - }, - "end": { - "line": 194, - "column": 33 - }, - "identifierName": "pIcon" - }, - "name": "pIcon" - } - ], - "body": { - "type": "BlockStatement", - "start": 6644, - "end": 6758, - "loc": { - "start": { - "line": 194, - "column": 38 - }, - "end": { - "line": 197, - "column": 9 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 6720, - "end": 6747, - "loc": { - "start": { - "line": 196, - "column": 12 - }, - "end": { - "line": 196, - "column": 39 - } - }, - "expression": { - "type": "CallExpression", - "start": 6720, - "end": 6746, - "loc": { - "start": { - "line": 196, - "column": 12 - }, - "end": { - "line": 196, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6720, - "end": 6730, - "loc": { - "start": { - "line": 196, - "column": 12 - }, - "end": { - "line": 196, - "column": 22 - } - }, - "object": { - "type": "MemberExpression", - "start": 6720, - "end": 6725, - "loc": { - "start": { - "line": 196, - "column": 12 - }, - "end": { - "line": 196, - "column": 17 - } - }, - "object": { - "type": "Identifier", - "start": 6720, - "end": 6723, - "loc": { - "start": { - "line": 196, - "column": 12 - }, - "end": { - "line": 196, - "column": 15 - }, - "identifierName": "vyi" - }, - "name": "vyi", - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 6724, - "end": 6725, - "loc": { - "start": { - "line": 196, - "column": 16 - }, - "end": { - "line": 196, - "column": 17 - }, - "identifierName": "i" - }, - "name": "i" - }, - "computed": false, - "leadingComments": null - }, - "property": { - "type": "Identifier", - "start": 6726, - "end": 6730, - "loc": { - "start": { - "line": 196, - "column": 18 - }, - "end": { - "line": 196, - "column": 22 - }, - "identifierName": "push" - }, - "name": "push" - }, - "computed": false, - "leadingComments": null - }, - "arguments": [ - { - "type": "CallExpression", - "start": 6731, - "end": 6745, - "loc": { - "start": { - "line": 196, - "column": 23 - }, - "end": { - "line": 196, - "column": 37 - } - }, - "callee": { - "type": "MemberExpression", - "start": 6731, - "end": 6743, - "loc": { - "start": { - "line": 196, - "column": 23 - }, - "end": { - "line": 196, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 6731, - "end": 6736, - "loc": { - "start": { - "line": 196, - "column": 23 - }, - "end": { - "line": 196, - "column": 28 - }, - "identifierName": "pIcon" - }, - "name": "pIcon" - }, - "property": { - "type": "Identifier", - "start": 6737, - "end": 6743, - "loc": { - "start": { - "line": 196, - "column": 29 - }, - "end": { - "line": 196, - "column": 35 - }, - "identifierName": "export" - }, - "name": "export" - }, - "computed": false - }, - "arguments": [] - } - ], - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Push the icon data to the vyi export object.", - "start": 6659, - "end": 6706, - "loc": { - "start": { - "line": 195, - "column": 12 - }, - "end": { - "line": 195, - "column": 59 - } - } - } - ] - } - ], - "directives": [] - } - } - ] - } - }, - { - "type": "ReturnStatement", - "start": 6770, - "end": 6781, - "loc": { - "start": { - "line": 198, - "column": 8 - }, - "end": { - "line": 198, - "column": 19 - } - }, - "argument": { - "type": "Identifier", - "start": 6777, - "end": 6780, - "loc": { - "start": { - "line": 198, - "column": 15 - }, - "end": { - "line": 198, - "column": 18 - }, - "identifierName": "vyi" - }, - "name": "vyi" - } - } - ], - "directives": [] - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 6347, - "end": 6449, - "loc": { - "start": { - "line": 184, - "column": 4 - }, - "end": { - "line": 187, - "column": 7 - } - } - } - ] - } - ] - }, - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\r\n\t * The version of the module.\r\n\t ", - "start": 106, - "end": 147, - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 7, - "column": 4 - } - } - }, - { - "type": "CommentBlock", - "value": "* The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n ", - "start": 194, - "end": 303, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 12, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n ", - "start": 344, - "end": 445, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 18, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n ", - "start": 468, - "end": 550, - "loc": { - "start": { - "line": 20, - "column": 4 - }, - "end": { - "line": 24, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n ", - "start": 595, - "end": 679, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 30, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * An array of used IDs to prevent collusion between duplicate named icons.\r\n * \r\n * @private\r\n * @type {Array}\r\n ", - "start": 705, - "end": 846, - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 37, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", - "start": 875, - "end": 1064, - "loc": { - "start": { - "line": 39, - "column": 4 - }, - "end": { - "line": 42, - "column": 6 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", - "start": 1419, - "end": 1744, - "loc": { - "start": { - "line": 53, - "column": 4 - }, - "end": { - "line": 58, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " If the data is a path then we need to use fetch to acquire the data first", - "start": 1861, - "end": 1937, - "loc": { - "start": { - "line": 63, - "column": 16 - }, - "end": { - "line": 63, - "column": 92 - } - } - }, - { - "type": "CommentLine", - "value": " If there is data to parse", - "start": 2272, - "end": 2300, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 44 - } - } - }, - { - "type": "CommentLine", - "value": " Then parse through it", - "start": 2318, - "end": 2342, - "loc": { - "start": { - "line": 72, - "column": 16 - }, - "end": { - "line": 72, - "column": 40 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n ", - "start": 2392, - "end": 2521, - "loc": { - "start": { - "line": 74, - "column": 20 - }, - "end": { - "line": 77, - "column": 23 - } - } - }, - { - "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": 2585, - "end": 2738, - "loc": { - "start": { - "line": 79, - "column": 20 - }, - "end": { - "line": 82, - "column": 23 - } - } - }, - { - "type": "CommentLine", - "value": " Loop through the icons and add them to the vyi module instance.", - "start": 2869, - "end": 2935, - "loc": { - "start": { - "line": 86, - "column": 24 - }, - "end": { - "line": 86, - "column": 90 - } - } - }, - { - "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": 3411, - "end": 3580, - "loc": { - "start": { - "line": 99, - "column": 4 - }, - "end": { - "line": 103, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " Add the icon to the icons array.", - "start": 3755, - "end": 3790, - "loc": { - "start": { - "line": 108, - "column": 16 - }, - "end": { - "line": 108, - "column": 51 - } - } - }, - { - "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": 4105, - "end": 4437, - "loc": { - "start": { - "line": 118, - "column": 4 - }, - "end": { - "line": 122, - "column": 7 - } - } - }, - { - "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": 4692, - "end": 4813, - "loc": { - "start": { - "line": 131, - "column": 4 - }, - "end": { - "line": 134, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " Array to store the icon names.", - "start": 4845, - "end": 4878, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 41 - } - } - }, - { - "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": 5044, - "end": 5245, - "loc": { - "start": { - "line": 143, - "column": 4 - }, - "end": { - "line": 147, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " If the icon has the same name, return that icon", - "start": 5437, - "end": 5487, - "loc": { - "start": { - "line": 152, - "column": 16 - }, - "end": { - "line": 152, - "column": 66 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets an icon by the id provided.\r\n * \r\n * @private\r\n * @param {string} pID - The id of the icon.\r\n * @returns {Icon} The icon that has the id that was passed.\r\n ", - "start": 5725, - "end": 5920, - "loc": { - "start": { - "line": 161, - "column": 4 - }, - "end": { - "line": 167, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", - "start": 6200, - "end": 6283, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 180, - "column": 7 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 6347, - "end": 6449, - "loc": { - "start": { - "line": 184, - "column": 4 - }, - "end": { - "line": 187, - "column": 7 - } - } - }, - { - "type": "CommentLine", - "value": " Set version", - "start": 6500, - "end": 6514, - "loc": { - "start": { - "line": 190, - "column": 8 - }, - "end": { - "line": 190, - "column": 22 - } - } - }, - { - "type": "CommentLine", - "value": " Set the icons array", - "start": 6561, - "end": 6583, - "loc": { - "start": { - "line": 192, - "column": 8 - }, - "end": { - "line": 192, - "column": 30 - } - } - }, - { - "type": "CommentLine", - "value": " Push the icon data to the vyi export object.", - "start": 6659, - "end": 6706, - "loc": { - "start": { - "line": 195, - "column": 12 - }, - "end": { - "line": 195, - "column": 59 - } - } - } - ], - "tokens": [ - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 0, - "end": 6, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 7, - "end": 8, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Logger", - "start": 9, - "end": 15, - "loc": { - "start": { - "line": 1, - "column": 9 - }, - "end": { - "line": 1, - "column": 15 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 16, - "end": 17, - "loc": { - "start": { - "line": 1, - "column": 16 - }, - "end": { - "line": 1, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 18, - "end": 22, - "loc": { - "start": { - "line": 1, - "column": 18 - }, - "end": { - "line": 1, - "column": 22 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./vendor/logger.mjs", - "start": 23, - "end": 44, - "loc": { - "start": { - "line": 1, - "column": 23 - }, - "end": { - "line": 1, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 44, - "end": 45, - "loc": { - "start": { - "line": 1, - "column": 44 - }, - "end": { - "line": 1, - "column": 45 - } - } - }, - { - "type": { - "label": "import", - "keyword": "import", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "import", - "start": 47, - "end": 53, - "loc": { - "start": { - "line": 2, - "column": 0 - }, - "end": { - "line": 2, - "column": 6 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 54, - "end": 55, - "loc": { - "start": { - "line": 2, - "column": 7 - }, - "end": { - "line": 2, - "column": 8 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Icon", - "start": 56, - "end": 60, - "loc": { - "start": { - "line": 2, - "column": 9 - }, - "end": { - "line": 2, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 61, - "end": 62, - "loc": { - "start": { - "line": 2, - "column": 14 - }, - "end": { - "line": 2, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 63, - "end": 67, - "loc": { - "start": { - "line": 2, - "column": 16 - }, - "end": { - "line": 2, - "column": 20 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./icon.mjs", - "start": 68, - "end": 80, - "loc": { - "start": { - "line": 2, - "column": 21 - }, - "end": { - "line": 2, - "column": 33 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 80, - "end": 81, - "loc": { - "start": { - "line": 2, - "column": 33 - }, - "end": { - "line": 2, - "column": 34 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 85, - "end": 91, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 4, - "column": 6 - } - } - }, - { - "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "class", - "start": 92, - "end": 97, - "loc": { - "start": { - "line": 4, - "column": 7 - }, - "end": { - "line": 4, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 98, - "end": 101, - "loc": { - "start": { - "line": 4, - "column": 13 - }, - "end": { - "line": 4, - "column": 16 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 102, - "end": 103, - "loc": { - "start": { - "line": 4, - "column": 17 - }, - "end": { - "line": 4, - "column": 18 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n\t * The version of the module.\r\n\t ", - "start": 106, - "end": 147, - "loc": { - "start": { - "line": 5, - "column": 1 - }, - "end": { - "line": 7, - "column": 4 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "static", - "start": 150, - "end": 156, - "loc": { - "start": { - "line": 8, - "column": 1 - }, - "end": { - "line": 8, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "version", - "start": 157, - "end": 164, - "loc": { - "start": { - "line": 8, - "column": 8 - }, - "end": { - "line": 8, - "column": 15 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 165, - "end": 166, - "loc": { - "start": { - "line": 8, - "column": 16 - }, - "end": { - "line": 8, - "column": 17 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "VERSION_REPLACE_ME", - "start": 167, - "end": 187, - "loc": { - "start": { - "line": 8, - "column": 18 - }, - "end": { - "line": 8, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 187, - "end": 188, - "loc": { - "start": { - "line": 8, - "column": 38 - }, - "end": { - "line": 8, - "column": 39 - } - } - }, - { - "type": "CommentBlock", - "value": "* The logger module this module uses to log errors / logs.\r\n * @private\r\n * @type {Object}\r\n ", - "start": 194, - "end": 303, - "loc": { - "start": { - "line": 9, - "column": 4 - }, - "end": { - "line": 12, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "static", - "start": 309, - "end": 315, - "loc": { - "start": { - "line": 13, - "column": 4 - }, - "end": { - "line": 13, - "column": 10 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 316, - "end": 322, - "loc": { - "start": { - "line": 13, - "column": 11 - }, - "end": { - "line": 13, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 323, - "end": 324, - "loc": { - "start": { - "line": 13, - "column": 18 - }, - "end": { - "line": 13, - "column": 19 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 325, - "end": 328, - "loc": { - "start": { - "line": 13, - "column": 20 - }, - "end": { - "line": 13, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Logger", - "start": 329, - "end": 335, - "loc": { - "start": { - "line": 13, - "column": 24 - }, - "end": { - "line": 13, - "column": 30 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 335, - "end": 336, - "loc": { - "start": { - "line": 13, - "column": 30 - }, - "end": { - "line": 13, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 336, - "end": 337, - "loc": { - "start": { - "line": 13, - "column": 31 - }, - "end": { - "line": 13, - "column": 32 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 337, - "end": 338, - "loc": { - "start": { - "line": 13, - "column": 32 - }, - "end": { - "line": 13, - "column": 33 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * An array of icons that belong to this VYI\r\n * @private\r\n * @type {Array}\r\n ", - "start": 344, - "end": 445, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 18, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 451, - "end": 456, - "loc": { - "start": { - "line": 19, - "column": 4 - }, - "end": { - "line": 19, - "column": 9 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 457, - "end": 458, - "loc": { - "start": { - "line": 19, - "column": 10 - }, - "end": { - "line": 19, - "column": 11 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 459, - "end": 460, - "loc": { - "start": { - "line": 19, - "column": 12 - }, - "end": { - "line": 19, - "column": 13 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 460, - "end": 461, - "loc": { - "start": { - "line": 19, - "column": 13 - }, - "end": { - "line": 19, - "column": 14 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 461, - "end": 462, - "loc": { - "start": { - "line": 19, - "column": 14 - }, - "end": { - "line": 19, - "column": 15 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The name of this vyi.\r\n * @private\r\n * @type {string}\r\n ", - "start": 468, - "end": 550, - "loc": { - "start": { - "line": 20, - "column": 4 - }, - "end": { - "line": 24, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 556, - "end": 560, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 8 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 561, - "end": 562, - "loc": { - "start": { - "line": 25, - "column": 9 - }, - "end": { - "line": 25, - "column": 10 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "failed-to-find-vyi-name", - "start": 563, - "end": 588, - "loc": { - "start": { - "line": 25, - "column": 11 - }, - "end": { - "line": 25, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 588, - "end": 589, - "loc": { - "start": { - "line": 25, - "column": 36 - }, - "end": { - "line": 25, - "column": 37 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * The version of the VYI.\r\n * @private\r\n * @type {number}\r\n ", - "start": 595, - "end": 679, - "loc": { - "start": { - "line": 26, - "column": 4 - }, - "end": { - "line": 30, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "formatVersion", - "start": 685, - "end": 698, - "loc": { - "start": { - "line": 31, - "column": 4 - }, - "end": { - "line": 31, - "column": 17 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 698, - "end": 699, - "loc": { - "start": { - "line": 31, - "column": 17 - }, - "end": { - "line": 31, - "column": 18 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * An array of used IDs to prevent collusion between duplicate named icons.\r\n * \r\n * @private\r\n * @type {Array}\r\n ", - "start": 705, - "end": 846, - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 37, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "reservedIDs", - "start": 852, - "end": 863, - "loc": { - "start": { - "line": 38, - "column": 4 - }, - "end": { - "line": 38, - "column": 15 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 864, - "end": 865, - "loc": { - "start": { - "line": 38, - "column": 16 - }, - "end": { - "line": 38, - "column": 17 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 866, - "end": 867, - "loc": { - "start": { - "line": 38, - "column": 18 - }, - "end": { - "line": 38, - "column": 19 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 867, - "end": 868, - "loc": { - "start": { - "line": 38, - "column": 19 - }, - "end": { - "line": 38, - "column": 20 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 868, - "end": 869, - "loc": { - "start": { - "line": 38, - "column": 20 - }, - "end": { - "line": 38, - "column": 21 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger\r\n ", - "start": 875, - "end": 1064, - "loc": { - "start": { - "line": 39, - "column": 4 - }, - "end": { - "line": 42, - "column": 6 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "constructor", - "start": 1070, - "end": 1081, - "loc": { - "start": { - "line": 43, - "column": 4 - }, - "end": { - "line": 43, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1081, - "end": 1082, - "loc": { - "start": { - "line": 43, - "column": 15 - }, - "end": { - "line": 43, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYIData", - "start": 1082, - "end": 1090, - "loc": { - "start": { - "line": 43, - "column": 16 - }, - "end": { - "line": 43, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1090, - "end": 1091, - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 43, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1092, - "end": 1093, - "loc": { - "start": { - "line": 43, - "column": 26 - }, - "end": { - "line": 43, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 1103, - "end": 1106, - "loc": { - "start": { - "line": 44, - "column": 8 - }, - "end": { - "line": 44, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1106, - "end": 1107, - "loc": { - "start": { - "line": 44, - "column": 11 - }, - "end": { - "line": 44, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 1107, - "end": 1113, - "loc": { - "start": { - "line": 44, - "column": 12 - }, - "end": { - "line": 44, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1113, - "end": 1114, - "loc": { - "start": { - "line": 44, - "column": 18 - }, - "end": { - "line": 44, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "registerType", - "start": 1114, - "end": 1126, - "loc": { - "start": { - "line": 44, - "column": 19 - }, - "end": { - "line": 44, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1126, - "end": 1127, - "loc": { - "start": { - "line": 44, - "column": 31 - }, - "end": { - "line": 44, - "column": 32 - } - } - }, - { - "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": 1127, - "end": 1139, - "loc": { - "start": { - "line": 44, - "column": 32 - }, - "end": { - "line": 44, - "column": 44 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1139, - "end": 1140, - "loc": { - "start": { - "line": 44, - "column": 44 - }, - "end": { - "line": 44, - "column": 45 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "#ff6600", - "start": 1141, - "end": 1150, - "loc": { - "start": { - "line": 44, - "column": 46 - }, - "end": { - "line": 44, - "column": 55 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1150, - "end": 1151, - "loc": { - "start": { - "line": 44, - "column": 55 - }, - "end": { - "line": 44, - "column": 56 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1151, - "end": 1152, - "loc": { - "start": { - "line": 44, - "column": 56 - }, - "end": { - "line": 44, - "column": 57 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 1162, - "end": 1164, - "loc": { - "start": { - "line": 45, - "column": 8 - }, - "end": { - "line": 45, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1165, - "end": 1166, - "loc": { - "start": { - "line": 45, - "column": 11 - }, - "end": { - "line": 45, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYIData", - "start": 1166, - "end": 1174, - "loc": { - "start": { - "line": 45, - "column": 12 - }, - "end": { - "line": 45, - "column": 20 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1174, - "end": 1175, - "loc": { - "start": { - "line": 45, - "column": 20 - }, - "end": { - "line": 45, - "column": 21 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1176, - "end": 1177, - "loc": { - "start": { - "line": 45, - "column": 22 - }, - "end": { - "line": 45, - "column": 23 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 1191, - "end": 1193, - "loc": { - "start": { - "line": 46, - "column": 12 - }, - "end": { - "line": 46, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1194, - "end": 1195, - "loc": { - "start": { - "line": 46, - "column": 15 - }, - "end": { - "line": 46, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYIData", - "start": 1195, - "end": 1203, - "loc": { - "start": { - "line": 46, - "column": 16 - }, - "end": { - "line": 46, - "column": 24 - } - } - }, - { - "type": { - "label": "instanceof", - "keyword": "instanceof", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": "instanceof", - "start": 1204, - "end": 1214, - "loc": { - "start": { - "line": 46, - "column": 25 - }, - "end": { - "line": 46, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Object", - "start": 1215, - "end": 1221, - "loc": { - "start": { - "line": 46, - "column": 36 - }, - "end": { - "line": 46, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1221, - "end": 1222, - "loc": { - "start": { - "line": 46, - "column": 42 - }, - "end": { - "line": 46, - "column": 43 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1223, - "end": 1224, - "loc": { - "start": { - "line": 46, - "column": 44 - }, - "end": { - "line": 46, - "column": 45 - } - } - }, - { - "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": 1242, - "end": 1246, - "loc": { - "start": { - "line": 47, - "column": 16 - }, - "end": { - "line": 47, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1246, - "end": 1247, - "loc": { - "start": { - "line": 47, - "column": 20 - }, - "end": { - "line": 47, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parse", - "start": 1247, - "end": 1252, - "loc": { - "start": { - "line": 47, - "column": 21 - }, - "end": { - "line": 47, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1252, - "end": 1253, - "loc": { - "start": { - "line": 47, - "column": 26 - }, - "end": { - "line": 47, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYIData", - "start": 1253, - "end": 1261, - "loc": { - "start": { - "line": 47, - "column": 27 - }, - "end": { - "line": 47, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1261, - "end": 1262, - "loc": { - "start": { - "line": 47, - "column": 35 - }, - "end": { - "line": 47, - "column": 36 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1262, - "end": 1263, - "loc": { - "start": { - "line": 47, - "column": 36 - }, - "end": { - "line": 47, - "column": 37 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1277, - "end": 1278, - "loc": { - "start": { - "line": 48, - "column": 12 - }, - "end": { - "line": 48, - "column": 13 - } - } - }, - { - "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": 1279, - "end": 1283, - "loc": { - "start": { - "line": 48, - "column": 14 - }, - "end": { - "line": 48, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1284, - "end": 1285, - "loc": { - "start": { - "line": 48, - "column": 19 - }, - "end": { - "line": 48, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 1303, - "end": 1306, - "loc": { - "start": { - "line": 49, - "column": 16 - }, - "end": { - "line": 49, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1306, - "end": 1307, - "loc": { - "start": { - "line": 49, - "column": 19 - }, - "end": { - "line": 49, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 1307, - "end": 1313, - "loc": { - "start": { - "line": 49, - "column": 20 - }, - "end": { - "line": 49, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1313, - "end": 1314, - "loc": { - "start": { - "line": 49, - "column": 26 - }, - "end": { - "line": 49, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 1314, - "end": 1320, - "loc": { - "start": { - "line": 49, - "column": 27 - }, - "end": { - "line": 49, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1320, - "end": 1321, - "loc": { - "start": { - "line": 49, - "column": 33 - }, - "end": { - "line": 49, - "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": 1321, - "end": 1333, - "loc": { - "start": { - "line": 49, - "column": 34 - }, - "end": { - "line": 49, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1333, - "end": 1334, - "loc": { - "start": { - "line": 49, - "column": 46 - }, - "end": { - "line": 49, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1334, - "end": 1335, - "loc": { - "start": { - "line": 49, - "column": 47 - }, - "end": { - "line": 49, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 1335, - "end": 1340, - "loc": { - "start": { - "line": 49, - "column": 48 - }, - "end": { - "line": 49, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1340, - "end": 1341, - "loc": { - "start": { - "line": 49, - "column": 53 - }, - "end": { - "line": 49, - "column": 54 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid vyiData type! Cannot parse!", - "start": 1341, - "end": 1378, - "loc": { - "start": { - "line": 49, - "column": 54 - }, - "end": { - "line": 49, - "column": 91 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1378, - "end": 1379, - "loc": { - "start": { - "line": 49, - "column": 91 - }, - "end": { - "line": 49, - "column": 92 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1379, - "end": 1380, - "loc": { - "start": { - "line": 49, - "column": 92 - }, - "end": { - "line": 49, - "column": 93 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1394, - "end": 1395, - "loc": { - "start": { - "line": 50, - "column": 12 - }, - "end": { - "line": 50, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1405, - "end": 1406, - "loc": { - "start": { - "line": 51, - "column": 8 - }, - "end": { - "line": 51, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1412, - "end": 1413, - "loc": { - "start": { - "line": 52, - "column": 4 - }, - "end": { - "line": 52, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Initializes this module with the information from the VYI passed.\r\n * Can call parse multiple times with different data to \"merge\" vyis.\r\n * @async\r\n * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.\r\n ", - "start": 1419, - "end": 1744, - "loc": { - "start": { - "line": 53, - "column": 4 - }, - "end": { - "line": 58, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "async", - "start": 1750, - "end": 1755, - "loc": { - "start": { - "line": 59, - "column": 4 - }, - "end": { - "line": 59, - "column": 9 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "parse", - "start": 1756, - "end": 1761, - "loc": { - "start": { - "line": 59, - "column": 10 - }, - "end": { - "line": 59, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1761, - "end": 1762, - "loc": { - "start": { - "line": 59, - "column": 15 - }, - "end": { - "line": 59, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYIData", - "start": 1762, - "end": 1770, - "loc": { - "start": { - "line": 59, - "column": 16 - }, - "end": { - "line": 59, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1770, - "end": 1771, - "loc": { - "start": { - "line": 59, - "column": 24 - }, - "end": { - "line": 59, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1772, - "end": 1773, - "loc": { - "start": { - "line": 59, - "column": 26 - }, - "end": { - "line": 59, - "column": 27 - } - } - }, - { - "type": { - "label": "try", - "keyword": "try", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "try", - "start": 1783, - "end": 1786, - "loc": { - "start": { - "line": 60, - "column": 8 - }, - "end": { - "line": 60, - "column": 11 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1787, - "end": 1788, - "loc": { - "start": { - "line": 60, - "column": 12 - }, - "end": { - "line": 60, - "column": 13 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 1802, - "end": 1804, - "loc": { - "start": { - "line": 61, - "column": 12 - }, - "end": { - "line": 61, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1805, - "end": 1806, - "loc": { - "start": { - "line": 61, - "column": 15 - }, - "end": { - "line": 61, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYIData", - "start": 1806, - "end": 1814, - "loc": { - "start": { - "line": 61, - "column": 16 - }, - "end": { - "line": 61, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1814, - "end": 1815, - "loc": { - "start": { - "line": 61, - "column": 24 - }, - "end": { - "line": 61, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1816, - "end": 1817, - "loc": { - "start": { - "line": 61, - "column": 26 - }, - "end": { - "line": 61, - "column": 27 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 1835, - "end": 1838, - "loc": { - "start": { - "line": 62, - "column": 16 - }, - "end": { - "line": 62, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 1839, - "end": 1842, - "loc": { - "start": { - "line": 62, - "column": 20 - }, - "end": { - "line": 62, - "column": 23 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1842, - "end": 1843, - "loc": { - "start": { - "line": 62, - "column": 23 - }, - "end": { - "line": 62, - "column": 24 - } - } - }, - { - "type": "CommentLine", - "value": " If the data is a path then we need to use fetch to acquire the data first", - "start": 1861, - "end": 1937, - "loc": { - "start": { - "line": 63, - "column": 16 - }, - "end": { - "line": 63, - "column": 92 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 1955, - "end": 1957, - "loc": { - "start": { - "line": 64, - "column": 16 - }, - "end": { - "line": 64, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1958, - "end": 1959, - "loc": { - "start": { - "line": 64, - "column": 19 - }, - "end": { - "line": 64, - "column": 20 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 1959, - "end": 1965, - "loc": { - "start": { - "line": 64, - "column": 20 - }, - "end": { - "line": 64, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1965, - "end": 1966, - "loc": { - "start": { - "line": 64, - "column": 26 - }, - "end": { - "line": 64, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYIData", - "start": 1966, - "end": 1974, - "loc": { - "start": { - "line": 64, - "column": 27 - }, - "end": { - "line": 64, - "column": 35 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1974, - "end": 1975, - "loc": { - "start": { - "line": 64, - "column": 35 - }, - "end": { - "line": 64, - "column": 36 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 1976, - "end": 1979, - "loc": { - "start": { - "line": 64, - "column": 37 - }, - "end": { - "line": 64, - "column": 40 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "string", - "start": 1980, - "end": 1988, - "loc": { - "start": { - "line": 64, - "column": 41 - }, - "end": { - "line": 64, - "column": 49 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1988, - "end": 1989, - "loc": { - "start": { - "line": 64, - "column": 49 - }, - "end": { - "line": 64, - "column": 50 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1990, - "end": 1991, - "loc": { - "start": { - "line": 64, - "column": 51 - }, - "end": { - "line": 64, - "column": 52 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 2013, - "end": 2018, - "loc": { - "start": { - "line": 65, - "column": 20 - }, - "end": { - "line": 65, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "url", - "start": 2019, - "end": 2022, - "loc": { - "start": { - "line": 65, - "column": 26 - }, - "end": { - "line": 65, - "column": 29 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2023, - "end": 2024, - "loc": { - "start": { - "line": 65, - "column": 30 - }, - "end": { - "line": 65, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYIData", - "start": 2025, - "end": 2033, - "loc": { - "start": { - "line": 65, - "column": 32 - }, - "end": { - "line": 65, - "column": 40 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2033, - "end": 2034, - "loc": { - "start": { - "line": 65, - "column": 40 - }, - "end": { - "line": 65, - "column": 41 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 2056, - "end": 2061, - "loc": { - "start": { - "line": 66, - "column": 20 - }, - "end": { - "line": 66, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "response", - "start": 2062, - "end": 2070, - "loc": { - "start": { - "line": 66, - "column": 26 - }, - "end": { - "line": 66, - "column": 34 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2071, - "end": 2072, - "loc": { - "start": { - "line": 66, - "column": 35 - }, - "end": { - "line": 66, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "await", - "start": 2073, - "end": 2078, - "loc": { - "start": { - "line": 66, - "column": 37 - }, - "end": { - "line": 66, - "column": 42 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "fetch", - "start": 2079, - "end": 2084, - "loc": { - "start": { - "line": 66, - "column": 43 - }, - "end": { - "line": 66, - "column": 48 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2084, - "end": 2085, - "loc": { - "start": { - "line": 66, - "column": 48 - }, - "end": { - "line": 66, - "column": 49 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "url", - "start": 2085, - "end": 2088, - "loc": { - "start": { - "line": 66, - "column": 49 - }, - "end": { - "line": 66, - "column": 52 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2088, - "end": 2089, - "loc": { - "start": { - "line": 66, - "column": 52 - }, - "end": { - "line": 66, - "column": 53 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2089, - "end": 2090, - "loc": { - "start": { - "line": 66, - "column": 53 - }, - "end": { - "line": 66, - "column": 54 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 2112, - "end": 2115, - "loc": { - "start": { - "line": 67, - "column": 20 - }, - "end": { - "line": 67, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2116, - "end": 2117, - "loc": { - "start": { - "line": 67, - "column": 24 - }, - "end": { - "line": 67, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "await", - "start": 2118, - "end": 2123, - "loc": { - "start": { - "line": 67, - "column": 26 - }, - "end": { - "line": 67, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "response", - "start": 2124, - "end": 2132, - "loc": { - "start": { - "line": 67, - "column": 32 - }, - "end": { - "line": 67, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2132, - "end": 2133, - "loc": { - "start": { - "line": 67, - "column": 40 - }, - "end": { - "line": 67, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "json", - "start": 2133, - "end": 2137, - "loc": { - "start": { - "line": 67, - "column": 41 - }, - "end": { - "line": 67, - "column": 45 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2137, - "end": 2138, - "loc": { - "start": { - "line": 67, - "column": 45 - }, - "end": { - "line": 67, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2138, - "end": 2139, - "loc": { - "start": { - "line": 67, - "column": 46 - }, - "end": { - "line": 67, - "column": 47 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2139, - "end": 2140, - "loc": { - "start": { - "line": 67, - "column": 47 - }, - "end": { - "line": 67, - "column": 48 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2158, - "end": 2159, - "loc": { - "start": { - "line": 68, - "column": 16 - }, - "end": { - "line": 68, - "column": 17 - } - } - }, - { - "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": 2160, - "end": 2164, - "loc": { - "start": { - "line": 68, - "column": 18 - }, - "end": { - "line": 68, - "column": 22 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 2165, - "end": 2167, - "loc": { - "start": { - "line": 68, - "column": 23 - }, - "end": { - "line": 68, - "column": 25 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2168, - "end": 2169, - "loc": { - "start": { - "line": 68, - "column": 26 - }, - "end": { - "line": 68, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYIData", - "start": 2169, - "end": 2177, - "loc": { - "start": { - "line": 68, - "column": 27 - }, - "end": { - "line": 68, - "column": 35 - } - } - }, - { - "type": { - "label": "instanceof", - "keyword": "instanceof", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": "instanceof", - "start": 2178, - "end": 2188, - "loc": { - "start": { - "line": 68, - "column": 36 - }, - "end": { - "line": 68, - "column": 46 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Object", - "start": 2189, - "end": 2195, - "loc": { - "start": { - "line": 68, - "column": 47 - }, - "end": { - "line": 68, - "column": 53 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2195, - "end": 2196, - "loc": { - "start": { - "line": 68, - "column": 53 - }, - "end": { - "line": 68, - "column": 54 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2197, - "end": 2198, - "loc": { - "start": { - "line": 68, - "column": 55 - }, - "end": { - "line": 68, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 2220, - "end": 2223, - "loc": { - "start": { - "line": 69, - "column": 20 - }, - "end": { - "line": 69, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2224, - "end": 2225, - "loc": { - "start": { - "line": 69, - "column": 24 - }, - "end": { - "line": 69, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pVYIData", - "start": 2226, - "end": 2234, - "loc": { - "start": { - "line": 69, - "column": 26 - }, - "end": { - "line": 69, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2234, - "end": 2235, - "loc": { - "start": { - "line": 69, - "column": 34 - }, - "end": { - "line": 69, - "column": 35 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2253, - "end": 2254, - "loc": { - "start": { - "line": 70, - "column": 16 - }, - "end": { - "line": 70, - "column": 17 - } - } - }, - { - "type": "CommentLine", - "value": " If there is data to parse", - "start": 2272, - "end": 2300, - "loc": { - "start": { - "line": 71, - "column": 16 - }, - "end": { - "line": 71, - "column": 44 - } - } - }, - { - "type": "CommentLine", - "value": " Then parse through it", - "start": 2318, - "end": 2342, - "loc": { - "start": { - "line": 72, - "column": 16 - }, - "end": { - "line": 72, - "column": 40 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 2360, - "end": 2362, - "loc": { - "start": { - "line": 73, - "column": 16 - }, - "end": { - "line": 73, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2363, - "end": 2364, - "loc": { - "start": { - "line": 73, - "column": 19 - }, - "end": { - "line": 73, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 2364, - "end": 2367, - "loc": { - "start": { - "line": 73, - "column": 20 - }, - "end": { - "line": 73, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2367, - "end": 2368, - "loc": { - "start": { - "line": 73, - "column": 23 - }, - "end": { - "line": 73, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2369, - "end": 2370, - "loc": { - "start": { - "line": 73, - "column": 25 - }, - "end": { - "line": 73, - "column": 26 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * An array of icons that this vyi holds.\r\n * @type {Array}\r\n ", - "start": 2392, - "end": 2521, - "loc": { - "start": { - "line": 74, - "column": 20 - }, - "end": { - "line": 77, - "column": 23 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 2543, - "end": 2548, - "loc": { - "start": { - "line": 78, - "column": 20 - }, - "end": { - "line": 78, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 2549, - "end": 2554, - "loc": { - "start": { - "line": 78, - "column": 26 - }, - "end": { - "line": 78, - "column": 31 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2555, - "end": 2556, - "loc": { - "start": { - "line": 78, - "column": 32 - }, - "end": { - "line": 78, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 2557, - "end": 2560, - "loc": { - "start": { - "line": 78, - "column": 34 - }, - "end": { - "line": 78, - "column": 37 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2560, - "end": 2561, - "loc": { - "start": { - "line": 78, - "column": 37 - }, - "end": { - "line": 78, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 2561, - "end": 2562, - "loc": { - "start": { - "line": 78, - "column": 38 - }, - "end": { - "line": 78, - "column": 39 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2562, - "end": 2563, - "loc": { - "start": { - "line": 78, - "column": 39 - }, - "end": { - "line": 78, - "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": 2585, - "end": 2738, - "loc": { - "start": { - "line": 79, - "column": 20 - }, - "end": { - "line": 82, - "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": 2760, - "end": 2764, - "loc": { - "start": { - "line": 83, - "column": 20 - }, - "end": { - "line": 83, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2764, - "end": 2765, - "loc": { - "start": { - "line": 83, - "column": 24 - }, - "end": { - "line": 83, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "formatVersion", - "start": 2765, - "end": 2778, - "loc": { - "start": { - "line": 83, - "column": 25 - }, - "end": { - "line": 83, - "column": 38 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 2779, - "end": 2780, - "loc": { - "start": { - "line": 83, - "column": 39 - }, - "end": { - "line": 83, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 2781, - "end": 2784, - "loc": { - "start": { - "line": 83, - "column": 41 - }, - "end": { - "line": 83, - "column": 44 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2784, - "end": 2785, - "loc": { - "start": { - "line": 83, - "column": 44 - }, - "end": { - "line": 83, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "v", - "start": 2785, - "end": 2786, - "loc": { - "start": { - "line": 83, - "column": 45 - }, - "end": { - "line": 83, - "column": 46 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 2787, - "end": 2789, - "loc": { - "start": { - "line": 83, - "column": 47 - }, - "end": { - "line": 83, - "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": 2790, - "end": 2791, - "loc": { - "start": { - "line": 83, - "column": 50 - }, - "end": { - "line": 83, - "column": 51 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2791, - "end": 2792, - "loc": { - "start": { - "line": 83, - "column": 51 - }, - "end": { - "line": 83, - "column": 52 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 2816, - "end": 2818, - "loc": { - "start": { - "line": 85, - "column": 20 - }, - "end": { - "line": 85, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2819, - "end": 2820, - "loc": { - "start": { - "line": 85, - "column": 23 - }, - "end": { - "line": 85, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Array", - "start": 2820, - "end": 2825, - "loc": { - "start": { - "line": 85, - "column": 24 - }, - "end": { - "line": 85, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2825, - "end": 2826, - "loc": { - "start": { - "line": 85, - "column": 29 - }, - "end": { - "line": 85, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "isArray", - "start": 2826, - "end": 2833, - "loc": { - "start": { - "line": 85, - "column": 30 - }, - "end": { - "line": 85, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2833, - "end": 2834, - "loc": { - "start": { - "line": 85, - "column": 37 - }, - "end": { - "line": 85, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 2834, - "end": 2839, - "loc": { - "start": { - "line": 85, - "column": 38 - }, - "end": { - "line": 85, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2839, - "end": 2840, - "loc": { - "start": { - "line": 85, - "column": 43 - }, - "end": { - "line": 85, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2840, - "end": 2841, - "loc": { - "start": { - "line": 85, - "column": 44 - }, - "end": { - "line": 85, - "column": 45 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2842, - "end": 2843, - "loc": { - "start": { - "line": 85, - "column": 46 - }, - "end": { - "line": 85, - "column": 47 - } - } - }, - { - "type": "CommentLine", - "value": " Loop through the icons and add them to the vyi module instance.", - "start": 2869, - "end": 2935, - "loc": { - "start": { - "line": 86, - "column": 24 - }, - "end": { - "line": 86, - "column": 90 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 2961, - "end": 2966, - "loc": { - "start": { - "line": 87, - "column": 24 - }, - "end": { - "line": 87, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2966, - "end": 2967, - "loc": { - "start": { - "line": 87, - "column": 29 - }, - "end": { - "line": 87, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 2967, - "end": 2974, - "loc": { - "start": { - "line": 87, - "column": 30 - }, - "end": { - "line": 87, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2974, - "end": 2975, - "loc": { - "start": { - "line": 87, - "column": 37 - }, - "end": { - "line": 87, - "column": 38 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2975, - "end": 2976, - "loc": { - "start": { - "line": 87, - "column": 38 - }, - "end": { - "line": 87, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 2976, - "end": 2985, - "loc": { - "start": { - "line": 87, - "column": 39 - }, - "end": { - "line": 87, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2985, - "end": 2986, - "loc": { - "start": { - "line": 87, - "column": 48 - }, - "end": { - "line": 87, - "column": 49 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 2987, - "end": 2989, - "loc": { - "start": { - "line": 87, - "column": 50 - }, - "end": { - "line": 87, - "column": 52 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 2990, - "end": 2991, - "loc": { - "start": { - "line": 87, - "column": 53 - }, - "end": { - "line": 87, - "column": 54 - } - } - }, - { - "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": 3021, - "end": 3025, - "loc": { - "start": { - "line": 88, - "column": 28 - }, - "end": { - "line": 88, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3025, - "end": 3026, - "loc": { - "start": { - "line": 88, - "column": 32 - }, - "end": { - "line": 88, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addIcon", - "start": 3026, - "end": 3033, - "loc": { - "start": { - "line": 88, - "column": 33 - }, - "end": { - "line": 88, - "column": 40 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3033, - "end": 3034, - "loc": { - "start": { - "line": 88, - "column": 40 - }, - "end": { - "line": 88, - "column": 41 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3034, - "end": 3043, - "loc": { - "start": { - "line": 88, - "column": 41 - }, - "end": { - "line": 88, - "column": 50 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3043, - "end": 3044, - "loc": { - "start": { - "line": 88, - "column": 50 - }, - "end": { - "line": 88, - "column": 51 - } - } - }, - { - "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": 3045, - "end": 3049, - "loc": { - "start": { - "line": 88, - "column": 52 - }, - "end": { - "line": 88, - "column": 56 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3049, - "end": 3050, - "loc": { - "start": { - "line": 88, - "column": 56 - }, - "end": { - "line": 88, - "column": 57 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3050, - "end": 3051, - "loc": { - "start": { - "line": 88, - "column": 57 - }, - "end": { - "line": 88, - "column": 58 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3077, - "end": 3078, - "loc": { - "start": { - "line": 89, - "column": 24 - }, - "end": { - "line": 89, - "column": 25 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3078, - "end": 3079, - "loc": { - "start": { - "line": 89, - "column": 25 - }, - "end": { - "line": 89, - "column": 26 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3079, - "end": 3080, - "loc": { - "start": { - "line": 89, - "column": 26 - }, - "end": { - "line": 89, - "column": 27 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3102, - "end": 3103, - "loc": { - "start": { - "line": 90, - "column": 20 - }, - "end": { - "line": 90, - "column": 21 - } - } - }, - { - "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": 3104, - "end": 3108, - "loc": { - "start": { - "line": 90, - "column": 22 - }, - "end": { - "line": 90, - "column": 26 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3109, - "end": 3110, - "loc": { - "start": { - "line": 90, - "column": 27 - }, - "end": { - "line": 90, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 3136, - "end": 3139, - "loc": { - "start": { - "line": 91, - "column": 24 - }, - "end": { - "line": 91, - "column": 27 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3139, - "end": 3140, - "loc": { - "start": { - "line": 91, - "column": 27 - }, - "end": { - "line": 91, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 3140, - "end": 3146, - "loc": { - "start": { - "line": 91, - "column": 28 - }, - "end": { - "line": 91, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3146, - "end": 3147, - "loc": { - "start": { - "line": 91, - "column": 34 - }, - "end": { - "line": 91, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 3147, - "end": 3153, - "loc": { - "start": { - "line": 91, - "column": 35 - }, - "end": { - "line": 91, - "column": 41 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3153, - "end": 3154, - "loc": { - "start": { - "line": 91, - "column": 41 - }, - "end": { - "line": 91, - "column": 42 - } - } - }, - { - "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": 3154, - "end": 3166, - "loc": { - "start": { - "line": 91, - "column": 42 - }, - "end": { - "line": 91, - "column": 54 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3166, - "end": 3167, - "loc": { - "start": { - "line": 91, - "column": 54 - }, - "end": { - "line": 91, - "column": 55 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3167, - "end": 3168, - "loc": { - "start": { - "line": 91, - "column": 55 - }, - "end": { - "line": 91, - "column": 56 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 3168, - "end": 3173, - "loc": { - "start": { - "line": 91, - "column": 56 - }, - "end": { - "line": 91, - "column": 61 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3173, - "end": 3174, - "loc": { - "start": { - "line": 91, - "column": 61 - }, - "end": { - "line": 91, - "column": 62 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid .vyi file! Cannot parse.", - "start": 3174, - "end": 3208, - "loc": { - "start": { - "line": 91, - "column": 62 - }, - "end": { - "line": 91, - "column": 96 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3208, - "end": 3209, - "loc": { - "start": { - "line": 91, - "column": 96 - }, - "end": { - "line": 91, - "column": 97 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3209, - "end": 3210, - "loc": { - "start": { - "line": 91, - "column": 97 - }, - "end": { - "line": 91, - "column": 98 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3232, - "end": 3233, - "loc": { - "start": { - "line": 92, - "column": 20 - }, - "end": { - "line": 92, - "column": 21 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3251, - "end": 3252, - "loc": { - "start": { - "line": 93, - "column": 16 - }, - "end": { - "line": 93, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3266, - "end": 3267, - "loc": { - "start": { - "line": 94, - "column": 12 - }, - "end": { - "line": 94, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3277, - "end": 3278, - "loc": { - "start": { - "line": 95, - "column": 8 - }, - "end": { - "line": 95, - "column": 9 - } - } - }, - { - "type": { - "label": "catch", - "keyword": "catch", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "catch", - "start": 3279, - "end": 3284, - "loc": { - "start": { - "line": 95, - "column": 10 - }, - "end": { - "line": 95, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3285, - "end": 3286, - "loc": { - "start": { - "line": 95, - "column": 16 - }, - "end": { - "line": 95, - "column": 17 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pError", - "start": 3286, - "end": 3292, - "loc": { - "start": { - "line": 95, - "column": 17 - }, - "end": { - "line": 95, - "column": 23 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3292, - "end": 3293, - "loc": { - "start": { - "line": 95, - "column": 23 - }, - "end": { - "line": 95, - "column": 24 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3294, - "end": 3295, - "loc": { - "start": { - "line": 95, - "column": 25 - }, - "end": { - "line": 95, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 3309, - "end": 3312, - "loc": { - "start": { - "line": 96, - "column": 12 - }, - "end": { - "line": 96, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3312, - "end": 3313, - "loc": { - "start": { - "line": 96, - "column": 15 - }, - "end": { - "line": 96, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 3313, - "end": 3319, - "loc": { - "start": { - "line": 96, - "column": 16 - }, - "end": { - "line": 96, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3319, - "end": 3320, - "loc": { - "start": { - "line": 96, - "column": 22 - }, - "end": { - "line": 96, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 3320, - "end": 3326, - "loc": { - "start": { - "line": 96, - "column": 23 - }, - "end": { - "line": 96, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3326, - "end": 3327, - "loc": { - "start": { - "line": 96, - "column": 29 - }, - "end": { - "line": 96, - "column": 30 - } - } - }, - { - "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": 3327, - "end": 3339, - "loc": { - "start": { - "line": 96, - "column": 30 - }, - "end": { - "line": 96, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3339, - "end": 3340, - "loc": { - "start": { - "line": 96, - "column": 42 - }, - "end": { - "line": 96, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3340, - "end": 3341, - "loc": { - "start": { - "line": 96, - "column": 43 - }, - "end": { - "line": 96, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 3341, - "end": 3346, - "loc": { - "start": { - "line": 96, - "column": 44 - }, - "end": { - "line": 96, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3346, - "end": 3347, - "loc": { - "start": { - "line": 96, - "column": 49 - }, - "end": { - "line": 96, - "column": 50 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3347, - "end": 3348, - "loc": { - "start": { - "line": 96, - "column": 50 - }, - "end": { - "line": 96, - "column": 51 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Error processing vyi data: ", - "start": 3348, - "end": 3375, - "loc": { - "start": { - "line": 96, - "column": 51 - }, - "end": { - "line": 96, - "column": 78 - } - } - }, - { - "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3375, - "end": 3377, - "loc": { - "start": { - "line": 96, - "column": 78 - }, - "end": { - "line": 96, - "column": 80 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pError", - "start": 3377, - "end": 3383, - "loc": { - "start": { - "line": 96, - "column": 80 - }, - "end": { - "line": 96, - "column": 86 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3383, - "end": 3384, - "loc": { - "start": { - "line": 96, - "column": 86 - }, - "end": { - "line": 96, - "column": 87 - } - } - }, - { - "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 3384, - "end": 3384, - "loc": { - "start": { - "line": 96, - "column": 87 - }, - "end": { - "line": 96, - "column": 87 - } - } - }, - { - "type": { - "label": "`", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3384, - "end": 3385, - "loc": { - "start": { - "line": 96, - "column": 87 - }, - "end": { - "line": 96, - "column": 88 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3385, - "end": 3386, - "loc": { - "start": { - "line": 96, - "column": 88 - }, - "end": { - "line": 96, - "column": 89 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3386, - "end": 3387, - "loc": { - "start": { - "line": 96, - "column": 89 - }, - "end": { - "line": 96, - "column": 90 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3397, - "end": 3398, - "loc": { - "start": { - "line": 97, - "column": 8 - }, - "end": { - "line": 97, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3404, - "end": 3405, - "loc": { - "start": { - "line": 98, - "column": 4 - }, - "end": { - "line": 98, - "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": 3411, - "end": 3580, - "loc": { - "start": { - "line": 99, - "column": 4 - }, - "end": { - "line": 103, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "addIcon", - "start": 3586, - "end": 3593, - "loc": { - "start": { - "line": 104, - "column": 4 - }, - "end": { - "line": 104, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3593, - "end": 3594, - "loc": { - "start": { - "line": 104, - "column": 11 - }, - "end": { - "line": 104, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3594, - "end": 3603, - "loc": { - "start": { - "line": 104, - "column": 12 - }, - "end": { - "line": 104, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3603, - "end": 3604, - "loc": { - "start": { - "line": 104, - "column": 21 - }, - "end": { - "line": 104, - "column": 22 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3605, - "end": 3606, - "loc": { - "start": { - "line": 104, - "column": 23 - }, - "end": { - "line": 104, - "column": 24 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 3616, - "end": 3618, - "loc": { - "start": { - "line": 105, - "column": 8 - }, - "end": { - "line": 105, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3619, - "end": 3620, - "loc": { - "start": { - "line": 105, - "column": 11 - }, - "end": { - "line": 105, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3620, - "end": 3629, - "loc": { - "start": { - "line": 105, - "column": 12 - }, - "end": { - "line": 105, - "column": 21 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3629, - "end": 3630, - "loc": { - "start": { - "line": 105, - "column": 21 - }, - "end": { - "line": 105, - "column": 22 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3631, - "end": 3632, - "loc": { - "start": { - "line": 105, - "column": 23 - }, - "end": { - "line": 105, - "column": 24 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 3646, - "end": 3648, - "loc": { - "start": { - "line": 106, - "column": 12 - }, - "end": { - "line": 106, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3649, - "end": 3650, - "loc": { - "start": { - "line": 106, - "column": 15 - }, - "end": { - "line": 106, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3650, - "end": 3659, - "loc": { - "start": { - "line": 106, - "column": 16 - }, - "end": { - "line": 106, - "column": 25 - } - } - }, - { - "type": { - "label": "instanceof", - "keyword": "instanceof", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": "instanceof", - "start": 3660, - "end": 3670, - "loc": { - "start": { - "line": 106, - "column": 26 - }, - "end": { - "line": 106, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Object", - "start": 3671, - "end": 3677, - "loc": { - "start": { - "line": 106, - "column": 37 - }, - "end": { - "line": 106, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3677, - "end": 3678, - "loc": { - "start": { - "line": 106, - "column": 43 - }, - "end": { - "line": 106, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3679, - "end": 3680, - "loc": { - "start": { - "line": 106, - "column": 45 - }, - "end": { - "line": 106, - "column": 46 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 3698, - "end": 3703, - "loc": { - "start": { - "line": 107, - "column": 16 - }, - "end": { - "line": 107, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 3704, - "end": 3708, - "loc": { - "start": { - "line": 107, - "column": 22 - }, - "end": { - "line": 107, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 3709, - "end": 3710, - "loc": { - "start": { - "line": 107, - "column": 27 - }, - "end": { - "line": 107, - "column": 28 - } - } - }, - { - "type": { - "label": "new", - "keyword": "new", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "new", - "start": 3711, - "end": 3714, - "loc": { - "start": { - "line": 107, - "column": 29 - }, - "end": { - "line": 107, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Icon", - "start": 3715, - "end": 3719, - "loc": { - "start": { - "line": 107, - "column": 33 - }, - "end": { - "line": 107, - "column": 37 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3719, - "end": 3720, - "loc": { - "start": { - "line": 107, - "column": 37 - }, - "end": { - "line": 107, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIconData", - "start": 3720, - "end": 3729, - "loc": { - "start": { - "line": 107, - "column": 38 - }, - "end": { - "line": 107, - "column": 47 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3729, - "end": 3730, - "loc": { - "start": { - "line": 107, - "column": 47 - }, - "end": { - "line": 107, - "column": 48 - } - } - }, - { - "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": 3731, - "end": 3735, - "loc": { - "start": { - "line": 107, - "column": 49 - }, - "end": { - "line": 107, - "column": 53 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3735, - "end": 3736, - "loc": { - "start": { - "line": 107, - "column": 53 - }, - "end": { - "line": 107, - "column": 54 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3736, - "end": 3737, - "loc": { - "start": { - "line": 107, - "column": 54 - }, - "end": { - "line": 107, - "column": 55 - } - } - }, - { - "type": "CommentLine", - "value": " Add the icon to the icons array.", - "start": 3755, - "end": 3790, - "loc": { - "start": { - "line": 108, - "column": 16 - }, - "end": { - "line": 108, - "column": 51 - } - } - }, - { - "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": 3808, - "end": 3812, - "loc": { - "start": { - "line": 109, - "column": 16 - }, - "end": { - "line": 109, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3812, - "end": 3813, - "loc": { - "start": { - "line": 109, - "column": 20 - }, - "end": { - "line": 109, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 3813, - "end": 3818, - "loc": { - "start": { - "line": 109, - "column": 21 - }, - "end": { - "line": 109, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3818, - "end": 3819, - "loc": { - "start": { - "line": 109, - "column": 26 - }, - "end": { - "line": 109, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 3819, - "end": 3823, - "loc": { - "start": { - "line": 109, - "column": 27 - }, - "end": { - "line": 109, - "column": 31 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3823, - "end": 3824, - "loc": { - "start": { - "line": 109, - "column": 31 - }, - "end": { - "line": 109, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 3824, - "end": 3828, - "loc": { - "start": { - "line": 109, - "column": 32 - }, - "end": { - "line": 109, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3828, - "end": 3829, - "loc": { - "start": { - "line": 109, - "column": 36 - }, - "end": { - "line": 109, - "column": 37 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3829, - "end": 3830, - "loc": { - "start": { - "line": 109, - "column": 37 - }, - "end": { - "line": 109, - "column": 38 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 3848, - "end": 3854, - "loc": { - "start": { - "line": 110, - "column": 16 - }, - "end": { - "line": 110, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 3855, - "end": 3859, - "loc": { - "start": { - "line": 110, - "column": 23 - }, - "end": { - "line": 110, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3859, - "end": 3860, - "loc": { - "start": { - "line": 110, - "column": 27 - }, - "end": { - "line": 110, - "column": 28 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3874, - "end": 3875, - "loc": { - "start": { - "line": 111, - "column": 12 - }, - "end": { - "line": 111, - "column": 13 - } - } - }, - { - "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": 3876, - "end": 3880, - "loc": { - "start": { - "line": 111, - "column": 14 - }, - "end": { - "line": 111, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3881, - "end": 3882, - "loc": { - "start": { - "line": 111, - "column": 19 - }, - "end": { - "line": 111, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 3900, - "end": 3903, - "loc": { - "start": { - "line": 112, - "column": 16 - }, - "end": { - "line": 112, - "column": 19 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3903, - "end": 3904, - "loc": { - "start": { - "line": 112, - "column": 19 - }, - "end": { - "line": 112, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 3904, - "end": 3910, - "loc": { - "start": { - "line": 112, - "column": 20 - }, - "end": { - "line": 112, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3910, - "end": 3911, - "loc": { - "start": { - "line": 112, - "column": 26 - }, - "end": { - "line": 112, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 3911, - "end": 3917, - "loc": { - "start": { - "line": 112, - "column": 27 - }, - "end": { - "line": 112, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3917, - "end": 3918, - "loc": { - "start": { - "line": 112, - "column": 33 - }, - "end": { - "line": 112, - "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": 3918, - "end": 3930, - "loc": { - "start": { - "line": 112, - "column": 34 - }, - "end": { - "line": 112, - "column": 46 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3930, - "end": 3931, - "loc": { - "start": { - "line": 112, - "column": 46 - }, - "end": { - "line": 112, - "column": 47 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3931, - "end": 3932, - "loc": { - "start": { - "line": 112, - "column": 47 - }, - "end": { - "line": 112, - "column": 48 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 3932, - "end": 3937, - "loc": { - "start": { - "line": 112, - "column": 48 - }, - "end": { - "line": 112, - "column": 53 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3937, - "end": 3938, - "loc": { - "start": { - "line": 112, - "column": 53 - }, - "end": { - "line": 112, - "column": 54 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid icon data type passed!", - "start": 3938, - "end": 3970, - "loc": { - "start": { - "line": 112, - "column": 54 - }, - "end": { - "line": 112, - "column": 86 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3970, - "end": 3971, - "loc": { - "start": { - "line": 112, - "column": 86 - }, - "end": { - "line": 112, - "column": 87 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3971, - "end": 3972, - "loc": { - "start": { - "line": 112, - "column": 87 - }, - "end": { - "line": 112, - "column": 88 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3986, - "end": 3987, - "loc": { - "start": { - "line": 113, - "column": 12 - }, - "end": { - "line": 113, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 3997, - "end": 3998, - "loc": { - "start": { - "line": 114, - "column": 8 - }, - "end": { - "line": 114, - "column": 9 - } - } - }, - { - "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": 3999, - "end": 4003, - "loc": { - "start": { - "line": 114, - "column": 10 - }, - "end": { - "line": 114, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4004, - "end": 4005, - "loc": { - "start": { - "line": 114, - "column": 15 - }, - "end": { - "line": 114, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 4019, - "end": 4022, - "loc": { - "start": { - "line": 115, - "column": 12 - }, - "end": { - "line": 115, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4022, - "end": 4023, - "loc": { - "start": { - "line": 115, - "column": 15 - }, - "end": { - "line": 115, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 4023, - "end": 4029, - "loc": { - "start": { - "line": 115, - "column": 16 - }, - "end": { - "line": 115, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4029, - "end": 4030, - "loc": { - "start": { - "line": 115, - "column": 22 - }, - "end": { - "line": 115, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 4030, - "end": 4036, - "loc": { - "start": { - "line": 115, - "column": 23 - }, - "end": { - "line": 115, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4036, - "end": 4037, - "loc": { - "start": { - "line": 115, - "column": 29 - }, - "end": { - "line": 115, - "column": 30 - } - } - }, - { - "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": 4037, - "end": 4049, - "loc": { - "start": { - "line": 115, - "column": 30 - }, - "end": { - "line": 115, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4049, - "end": 4050, - "loc": { - "start": { - "line": 115, - "column": 42 - }, - "end": { - "line": 115, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4050, - "end": 4051, - "loc": { - "start": { - "line": 115, - "column": 43 - }, - "end": { - "line": 115, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 4051, - "end": 4056, - "loc": { - "start": { - "line": 115, - "column": 44 - }, - "end": { - "line": 115, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4056, - "end": 4057, - "loc": { - "start": { - "line": 115, - "column": 49 - }, - "end": { - "line": 115, - "column": 50 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "No icon data passed!", - "start": 4057, - "end": 4079, - "loc": { - "start": { - "line": 115, - "column": 50 - }, - "end": { - "line": 115, - "column": 72 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4079, - "end": 4080, - "loc": { - "start": { - "line": 115, - "column": 72 - }, - "end": { - "line": 115, - "column": 73 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4080, - "end": 4081, - "loc": { - "start": { - "line": 115, - "column": 73 - }, - "end": { - "line": 115, - "column": 74 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4091, - "end": 4092, - "loc": { - "start": { - "line": 116, - "column": 8 - }, - "end": { - "line": 116, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4098, - "end": 4099, - "loc": { - "start": { - "line": 117, - "column": 4 - }, - "end": { - "line": 117, - "column": 5 - } - } - }, - { - "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": 4105, - "end": 4437, - "loc": { - "start": { - "line": 118, - "column": 4 - }, - "end": { - "line": 122, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "removeIcon", - "start": 4443, - "end": 4453, - "loc": { - "start": { - "line": 123, - "column": 4 - }, - "end": { - "line": 123, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4453, - "end": 4454, - "loc": { - "start": { - "line": 123, - "column": 14 - }, - "end": { - "line": 123, - "column": 15 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIcon", - "start": 4454, - "end": 4459, - "loc": { - "start": { - "line": 123, - "column": 15 - }, - "end": { - "line": 123, - "column": 20 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4459, - "end": 4460, - "loc": { - "start": { - "line": 123, - "column": 20 - }, - "end": { - "line": 123, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 4461, - "end": 4466, - "loc": { - "start": { - "line": 123, - "column": 22 - }, - "end": { - "line": 123, - "column": 27 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4466, - "end": 4467, - "loc": { - "start": { - "line": 123, - "column": 27 - }, - "end": { - "line": 123, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4468, - "end": 4469, - "loc": { - "start": { - "line": 123, - "column": 29 - }, - "end": { - "line": 123, - "column": 30 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 4479, - "end": 4484, - "loc": { - "start": { - "line": 124, - "column": 8 - }, - "end": { - "line": 124, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 4485, - "end": 4489, - "loc": { - "start": { - "line": 124, - "column": 14 - }, - "end": { - "line": 124, - "column": 18 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 4490, - "end": 4491, - "loc": { - "start": { - "line": 124, - "column": 19 - }, - "end": { - "line": 124, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIcon", - "start": 4492, - "end": 4497, - "loc": { - "start": { - "line": 124, - "column": 21 - }, - "end": { - "line": 124, - "column": 26 - } - } - }, - { - "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 1, - "updateContext": null - }, - "value": "||", - "start": 4498, - "end": 4500, - "loc": { - "start": { - "line": 124, - "column": 27 - }, - "end": { - "line": 124, - "column": 29 - } - } - }, - { - "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": 4501, - "end": 4505, - "loc": { - "start": { - "line": 124, - "column": 30 - }, - "end": { - "line": 124, - "column": 34 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4505, - "end": 4506, - "loc": { - "start": { - "line": 124, - "column": 34 - }, - "end": { - "line": 124, - "column": 35 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getIcon", - "start": 4506, - "end": 4513, - "loc": { - "start": { - "line": 124, - "column": 35 - }, - "end": { - "line": 124, - "column": 42 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4513, - "end": 4514, - "loc": { - "start": { - "line": 124, - "column": 42 - }, - "end": { - "line": 124, - "column": 43 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 4514, - "end": 4519, - "loc": { - "start": { - "line": 124, - "column": 43 - }, - "end": { - "line": 124, - "column": 48 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4519, - "end": 4520, - "loc": { - "start": { - "line": 124, - "column": 48 - }, - "end": { - "line": 124, - "column": 49 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4520, - "end": 4521, - "loc": { - "start": { - "line": 124, - "column": 49 - }, - "end": { - "line": 124, - "column": 50 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 4531, - "end": 4533, - "loc": { - "start": { - "line": 125, - "column": 8 - }, - "end": { - "line": 125, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4534, - "end": 4535, - "loc": { - "start": { - "line": 125, - "column": 11 - }, - "end": { - "line": 125, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 4535, - "end": 4539, - "loc": { - "start": { - "line": 125, - "column": 12 - }, - "end": { - "line": 125, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4539, - "end": 4540, - "loc": { - "start": { - "line": 125, - "column": 16 - }, - "end": { - "line": 125, - "column": 17 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4541, - "end": 4542, - "loc": { - "start": { - "line": 125, - "column": 18 - }, - "end": { - "line": 125, - "column": 19 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 4556, - "end": 4558, - "loc": { - "start": { - "line": 126, - "column": 12 - }, - "end": { - "line": 126, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4559, - "end": 4560, - "loc": { - "start": { - "line": 126, - "column": 15 - }, - "end": { - "line": 126, - "column": 16 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 4560, - "end": 4564, - "loc": { - "start": { - "line": 126, - "column": 16 - }, - "end": { - "line": 126, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4564, - "end": 4565, - "loc": { - "start": { - "line": 126, - "column": 20 - }, - "end": { - "line": 126, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 4565, - "end": 4570, - "loc": { - "start": { - "line": 126, - "column": 21 - }, - "end": { - "line": 126, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4570, - "end": 4571, - "loc": { - "start": { - "line": 126, - "column": 26 - }, - "end": { - "line": 126, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "includes", - "start": 4571, - "end": 4579, - "loc": { - "start": { - "line": 126, - "column": 27 - }, - "end": { - "line": 126, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4579, - "end": 4580, - "loc": { - "start": { - "line": 126, - "column": 35 - }, - "end": { - "line": 126, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 4580, - "end": 4584, - "loc": { - "start": { - "line": 126, - "column": 36 - }, - "end": { - "line": 126, - "column": 40 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4584, - "end": 4585, - "loc": { - "start": { - "line": 126, - "column": 40 - }, - "end": { - "line": 126, - "column": 41 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4585, - "end": 4586, - "loc": { - "start": { - "line": 126, - "column": 41 - }, - "end": { - "line": 126, - "column": 42 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4587, - "end": 4588, - "loc": { - "start": { - "line": 126, - "column": 43 - }, - "end": { - "line": 126, - "column": 44 - } - } - }, - { - "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": 4606, - "end": 4610, - "loc": { - "start": { - "line": 127, - "column": 16 - }, - "end": { - "line": 127, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4610, - "end": 4611, - "loc": { - "start": { - "line": 127, - "column": 20 - }, - "end": { - "line": 127, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 4611, - "end": 4616, - "loc": { - "start": { - "line": 127, - "column": 21 - }, - "end": { - "line": 127, - "column": 26 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4616, - "end": 4617, - "loc": { - "start": { - "line": 127, - "column": 26 - }, - "end": { - "line": 127, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "splice", - "start": 4617, - "end": 4623, - "loc": { - "start": { - "line": 127, - "column": 27 - }, - "end": { - "line": 127, - "column": 33 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4623, - "end": 4624, - "loc": { - "start": { - "line": 127, - "column": 33 - }, - "end": { - "line": 127, - "column": 34 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 4624, - "end": 4628, - "loc": { - "start": { - "line": 127, - "column": 34 - }, - "end": { - "line": 127, - "column": 38 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4628, - "end": 4629, - "loc": { - "start": { - "line": 127, - "column": 38 - }, - "end": { - "line": 127, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 4629, - "end": 4634, - "loc": { - "start": { - "line": 127, - "column": 39 - }, - "end": { - "line": 127, - "column": 44 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4634, - "end": 4635, - "loc": { - "start": { - "line": 127, - "column": 44 - }, - "end": { - "line": 127, - "column": 45 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "indexOf", - "start": 4635, - "end": 4642, - "loc": { - "start": { - "line": 127, - "column": 45 - }, - "end": { - "line": 127, - "column": 52 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4642, - "end": 4643, - "loc": { - "start": { - "line": 127, - "column": 52 - }, - "end": { - "line": 127, - "column": 53 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 4643, - "end": 4647, - "loc": { - "start": { - "line": 127, - "column": 53 - }, - "end": { - "line": 127, - "column": 57 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4647, - "end": 4648, - "loc": { - "start": { - "line": 127, - "column": 57 - }, - "end": { - "line": 127, - "column": 58 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4648, - "end": 4649, - "loc": { - "start": { - "line": 127, - "column": 58 - }, - "end": { - "line": 127, - "column": 59 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 4650, - "end": 4651, - "loc": { - "start": { - "line": 127, - "column": 60 - }, - "end": { - "line": 127, - "column": 61 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4651, - "end": 4652, - "loc": { - "start": { - "line": 127, - "column": 61 - }, - "end": { - "line": 127, - "column": 62 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4652, - "end": 4653, - "loc": { - "start": { - "line": 127, - "column": 62 - }, - "end": { - "line": 127, - "column": 63 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4667, - "end": 4668, - "loc": { - "start": { - "line": 128, - "column": 12 - }, - "end": { - "line": 128, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4678, - "end": 4679, - "loc": { - "start": { - "line": 129, - "column": 8 - }, - "end": { - "line": 129, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4685, - "end": 4686, - "loc": { - "start": { - "line": 130, - "column": 4 - }, - "end": { - "line": 130, - "column": 5 - } - } - }, - { - "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": 4692, - "end": 4813, - "loc": { - "start": { - "line": 131, - "column": 4 - }, - "end": { - "line": 134, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getIconNames", - "start": 4819, - "end": 4831, - "loc": { - "start": { - "line": 135, - "column": 4 - }, - "end": { - "line": 135, - "column": 16 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4831, - "end": 4832, - "loc": { - "start": { - "line": 135, - "column": 16 - }, - "end": { - "line": 135, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4832, - "end": 4833, - "loc": { - "start": { - "line": 135, - "column": 17 - }, - "end": { - "line": 135, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4834, - "end": 4835, - "loc": { - "start": { - "line": 135, - "column": 19 - }, - "end": { - "line": 135, - "column": 20 - } - } - }, - { - "type": "CommentLine", - "value": " Array to store the icon names.", - "start": 4845, - "end": 4878, - "loc": { - "start": { - "line": 136, - "column": 8 - }, - "end": { - "line": 136, - "column": 41 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 4888, - "end": 4893, - "loc": { - "start": { - "line": 137, - "column": 8 - }, - "end": { - "line": 137, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconNames", - "start": 4894, - "end": 4903, - "loc": { - "start": { - "line": 137, - "column": 14 - }, - "end": { - "line": 137, - "column": 23 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 4904, - "end": 4905, - "loc": { - "start": { - "line": 137, - "column": 24 - }, - "end": { - "line": 137, - "column": 25 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4906, - "end": 4907, - "loc": { - "start": { - "line": 137, - "column": 26 - }, - "end": { - "line": 137, - "column": 27 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4907, - "end": 4908, - "loc": { - "start": { - "line": 137, - "column": 27 - }, - "end": { - "line": 137, - "column": 28 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4908, - "end": 4909, - "loc": { - "start": { - "line": 137, - "column": 28 - }, - "end": { - "line": 137, - "column": 29 - } - } - }, - { - "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": 4919, - "end": 4923, - "loc": { - "start": { - "line": 138, - "column": 8 - }, - "end": { - "line": 138, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4923, - "end": 4924, - "loc": { - "start": { - "line": 138, - "column": 12 - }, - "end": { - "line": 138, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 4924, - "end": 4929, - "loc": { - "start": { - "line": 138, - "column": 13 - }, - "end": { - "line": 138, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4929, - "end": 4930, - "loc": { - "start": { - "line": 138, - "column": 18 - }, - "end": { - "line": 138, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 4930, - "end": 4937, - "loc": { - "start": { - "line": 138, - "column": 19 - }, - "end": { - "line": 138, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4937, - "end": 4938, - "loc": { - "start": { - "line": 138, - "column": 26 - }, - "end": { - "line": 138, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4938, - "end": 4939, - "loc": { - "start": { - "line": 138, - "column": 27 - }, - "end": { - "line": 138, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIcon", - "start": 4939, - "end": 4944, - "loc": { - "start": { - "line": 138, - "column": 28 - }, - "end": { - "line": 138, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4944, - "end": 4945, - "loc": { - "start": { - "line": 138, - "column": 33 - }, - "end": { - "line": 138, - "column": 34 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4946, - "end": 4948, - "loc": { - "start": { - "line": 138, - "column": 35 - }, - "end": { - "line": 138, - "column": 37 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4949, - "end": 4950, - "loc": { - "start": { - "line": 138, - "column": 38 - }, - "end": { - "line": 138, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconNames", - "start": 4964, - "end": 4973, - "loc": { - "start": { - "line": 139, - "column": 12 - }, - "end": { - "line": 139, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4973, - "end": 4974, - "loc": { - "start": { - "line": 139, - "column": 21 - }, - "end": { - "line": 139, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 4974, - "end": 4978, - "loc": { - "start": { - "line": 139, - "column": 22 - }, - "end": { - "line": 139, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4978, - "end": 4979, - "loc": { - "start": { - "line": 139, - "column": 26 - }, - "end": { - "line": 139, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIcon", - "start": 4979, - "end": 4984, - "loc": { - "start": { - "line": 139, - "column": 27 - }, - "end": { - "line": 139, - "column": 32 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4984, - "end": 4985, - "loc": { - "start": { - "line": 139, - "column": 32 - }, - "end": { - "line": 139, - "column": 33 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "name", - "start": 4985, - "end": 4989, - "loc": { - "start": { - "line": 139, - "column": 33 - }, - "end": { - "line": 139, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4989, - "end": 4990, - "loc": { - "start": { - "line": 139, - "column": 37 - }, - "end": { - "line": 139, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 4990, - "end": 4991, - "loc": { - "start": { - "line": 139, - "column": 38 - }, - "end": { - "line": 139, - "column": 39 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5001, - "end": 5002, - "loc": { - "start": { - "line": 140, - "column": 8 - }, - "end": { - "line": 140, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5002, - "end": 5003, - "loc": { - "start": { - "line": 140, - "column": 9 - }, - "end": { - "line": 140, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5003, - "end": 5004, - "loc": { - "start": { - "line": 140, - "column": 10 - }, - "end": { - "line": 140, - "column": 11 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 5014, - "end": 5020, - "loc": { - "start": { - "line": 141, - "column": 8 - }, - "end": { - "line": 141, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "iconNames", - "start": 5021, - "end": 5030, - "loc": { - "start": { - "line": 141, - "column": 15 - }, - "end": { - "line": 141, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5030, - "end": 5031, - "loc": { - "start": { - "line": 141, - "column": 24 - }, - "end": { - "line": 141, - "column": 25 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5037, - "end": 5038, - "loc": { - "start": { - "line": 142, - "column": 4 - }, - "end": { - "line": 142, - "column": 5 - } - } - }, - { - "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": 5044, - "end": 5245, - "loc": { - "start": { - "line": 143, - "column": 4 - }, - "end": { - "line": 147, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getIcon", - "start": 5251, - "end": 5258, - "loc": { - "start": { - "line": 148, - "column": 4 - }, - "end": { - "line": 148, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5258, - "end": 5259, - "loc": { - "start": { - "line": 148, - "column": 11 - }, - "end": { - "line": 148, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 5259, - "end": 5264, - "loc": { - "start": { - "line": 148, - "column": 12 - }, - "end": { - "line": 148, - "column": 17 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5264, - "end": 5265, - "loc": { - "start": { - "line": 148, - "column": 17 - }, - "end": { - "line": 148, - "column": 18 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5266, - "end": 5267, - "loc": { - "start": { - "line": 148, - "column": 19 - }, - "end": { - "line": 148, - "column": 20 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 5277, - "end": 5279, - "loc": { - "start": { - "line": 149, - "column": 8 - }, - "end": { - "line": 149, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5280, - "end": 5281, - "loc": { - "start": { - "line": 149, - "column": 11 - }, - "end": { - "line": 149, - "column": 12 - } - } - }, - { - "type": { - "label": "typeof", - "keyword": "typeof", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "typeof", - "start": 5281, - "end": 5287, - "loc": { - "start": { - "line": 149, - "column": 12 - }, - "end": { - "line": 149, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5287, - "end": 5288, - "loc": { - "start": { - "line": 149, - "column": 18 - }, - "end": { - "line": 149, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 5288, - "end": 5293, - "loc": { - "start": { - "line": 149, - "column": 19 - }, - "end": { - "line": 149, - "column": 24 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5293, - "end": 5294, - "loc": { - "start": { - "line": 149, - "column": 24 - }, - "end": { - "line": 149, - "column": 25 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 5295, - "end": 5298, - "loc": { - "start": { - "line": 149, - "column": 26 - }, - "end": { - "line": 149, - "column": 29 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "string", - "start": 5299, - "end": 5307, - "loc": { - "start": { - "line": 149, - "column": 30 - }, - "end": { - "line": 149, - "column": 38 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5307, - "end": 5308, - "loc": { - "start": { - "line": 149, - "column": 38 - }, - "end": { - "line": 149, - "column": 39 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5309, - "end": 5310, - "loc": { - "start": { - "line": 149, - "column": 40 - }, - "end": { - "line": 149, - "column": 41 - } - } - }, - { - "type": { - "label": "for", - "keyword": "for", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": true, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "for", - "start": 5324, - "end": 5327, - "loc": { - "start": { - "line": 150, - "column": 12 - }, - "end": { - "line": 150, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5328, - "end": 5329, - "loc": { - "start": { - "line": 150, - "column": 16 - }, - "end": { - "line": 150, - "column": 17 - } - } - }, - { - "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "let", - "start": 5329, - "end": 5332, - "loc": { - "start": { - "line": 150, - "column": 17 - }, - "end": { - "line": 150, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 5333, - "end": 5334, - "loc": { - "start": { - "line": 150, - "column": 21 - }, - "end": { - "line": 150, - "column": 22 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 5335, - "end": 5336, - "loc": { - "start": { - "line": 150, - "column": 23 - }, - "end": { - "line": 150, - "column": 24 - } - } - }, - { - "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": 5337, - "end": 5341, - "loc": { - "start": { - "line": 150, - "column": 25 - }, - "end": { - "line": 150, - "column": 29 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5341, - "end": 5342, - "loc": { - "start": { - "line": 150, - "column": 29 - }, - "end": { - "line": 150, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 5342, - "end": 5347, - "loc": { - "start": { - "line": 150, - "column": 30 - }, - "end": { - "line": 150, - "column": 35 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5347, - "end": 5348, - "loc": { - "start": { - "line": 150, - "column": 35 - }, - "end": { - "line": 150, - "column": 36 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "length", - "start": 5348, - "end": 5354, - "loc": { - "start": { - "line": 150, - "column": 36 - }, - "end": { - "line": 150, - "column": 42 - } - } - }, - { - "type": { - "label": "+/-", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": 9, - "updateContext": null - }, - "value": "-", - "start": 5355, - "end": 5356, - "loc": { - "start": { - "line": 150, - "column": 43 - }, - "end": { - "line": 150, - "column": 44 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 1, - "start": 5357, - "end": 5358, - "loc": { - "start": { - "line": 150, - "column": 45 - }, - "end": { - "line": 150, - "column": 46 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5358, - "end": 5359, - "loc": { - "start": { - "line": 150, - "column": 46 - }, - "end": { - "line": 150, - "column": 47 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 5360, - "end": 5361, - "loc": { - "start": { - "line": 150, - "column": 48 - }, - "end": { - "line": 150, - "column": 49 - } - } - }, - { - "type": { - "label": "", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 7, - "updateContext": null - }, - "value": ">=", - "start": 5362, - "end": 5364, - "loc": { - "start": { - "line": 150, - "column": 50 - }, - "end": { - "line": 150, - "column": 52 - } - } - }, - { - "type": { - "label": "num", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": 0, - "start": 5365, - "end": 5366, - "loc": { - "start": { - "line": 150, - "column": 53 - }, - "end": { - "line": 150, - "column": 54 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5366, - "end": 5367, - "loc": { - "start": { - "line": 150, - "column": 54 - }, - "end": { - "line": 150, - "column": 55 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 5368, - "end": 5369, - "loc": { - "start": { - "line": 150, - "column": 56 - }, - "end": { - "line": 150, - "column": 57 - } - } - }, - { - "type": { - "label": "++/--", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": true, - "binop": null - }, - "value": "--", - "start": 5369, - "end": 5371, - "loc": { - "start": { - "line": 150, - "column": 57 - }, - "end": { - "line": 150, - "column": 59 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5371, - "end": 5372, - "loc": { - "start": { - "line": 150, - "column": 59 - }, - "end": { - "line": 150, - "column": 60 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5373, - "end": 5374, - "loc": { - "start": { - "line": 150, - "column": 61 - }, - "end": { - "line": 150, - "column": 62 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 5392, - "end": 5397, - "loc": { - "start": { - "line": 151, - "column": 16 - }, - "end": { - "line": 151, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 5398, - "end": 5402, - "loc": { - "start": { - "line": 151, - "column": 22 - }, - "end": { - "line": 151, - "column": 26 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 5403, - "end": 5404, - "loc": { - "start": { - "line": 151, - "column": 27 - }, - "end": { - "line": 151, - "column": 28 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 5405, - "end": 5409, - "loc": { - "start": { - "line": 151, - "column": 29 - }, - "end": { - "line": 151, - "column": 33 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5409, - "end": 5410, - "loc": { - "start": { - "line": 151, - "column": 33 - }, - "end": { - "line": 151, - "column": 34 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 5410, - "end": 5415, - "loc": { - "start": { - "line": 151, - "column": 34 - }, - "end": { - "line": 151, - "column": 39 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5415, - "end": 5416, - "loc": { - "start": { - "line": 151, - "column": 39 - }, - "end": { - "line": 151, - "column": 40 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 5416, - "end": 5417, - "loc": { - "start": { - "line": 151, - "column": 40 - }, - "end": { - "line": 151, - "column": 41 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5417, - "end": 5418, - "loc": { - "start": { - "line": 151, - "column": 41 - }, - "end": { - "line": 151, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5418, - "end": 5419, - "loc": { - "start": { - "line": 151, - "column": 42 - }, - "end": { - "line": 151, - "column": 43 - } - } - }, - { - "type": "CommentLine", - "value": " If the icon has the same name, return that icon", - "start": 5437, - "end": 5487, - "loc": { - "start": { - "line": 152, - "column": 16 - }, - "end": { - "line": 152, - "column": 66 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 5505, - "end": 5507, - "loc": { - "start": { - "line": 153, - "column": 16 - }, - "end": { - "line": 153, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5508, - "end": 5509, - "loc": { - "start": { - "line": 153, - "column": 19 - }, - "end": { - "line": 153, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 5509, - "end": 5513, - "loc": { - "start": { - "line": 153, - "column": 20 - }, - "end": { - "line": 153, - "column": 24 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5513, - "end": 5514, - "loc": { - "start": { - "line": 153, - "column": 24 - }, - "end": { - "line": 153, - "column": 25 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getName", - "start": 5514, - "end": 5521, - "loc": { - "start": { - "line": 153, - "column": 25 - }, - "end": { - "line": 153, - "column": 32 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5521, - "end": 5522, - "loc": { - "start": { - "line": 153, - "column": 32 - }, - "end": { - "line": 153, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5522, - "end": 5523, - "loc": { - "start": { - "line": 153, - "column": 33 - }, - "end": { - "line": 153, - "column": 34 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 5524, - "end": 5527, - "loc": { - "start": { - "line": 153, - "column": 35 - }, - "end": { - "line": 153, - "column": 38 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pName", - "start": 5528, - "end": 5533, - "loc": { - "start": { - "line": 153, - "column": 39 - }, - "end": { - "line": 153, - "column": 44 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5533, - "end": 5534, - "loc": { - "start": { - "line": 153, - "column": 44 - }, - "end": { - "line": 153, - "column": 45 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5535, - "end": 5536, - "loc": { - "start": { - "line": 153, - "column": 46 - }, - "end": { - "line": 153, - "column": 47 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 5558, - "end": 5564, - "loc": { - "start": { - "line": 154, - "column": 20 - }, - "end": { - "line": 154, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 5565, - "end": 5569, - "loc": { - "start": { - "line": 154, - "column": 27 - }, - "end": { - "line": 154, - "column": 31 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5569, - "end": 5570, - "loc": { - "start": { - "line": 154, - "column": 31 - }, - "end": { - "line": 154, - "column": 32 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5588, - "end": 5589, - "loc": { - "start": { - "line": 155, - "column": 16 - }, - "end": { - "line": 155, - "column": 17 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5603, - "end": 5604, - "loc": { - "start": { - "line": 156, - "column": 12 - }, - "end": { - "line": 156, - "column": 13 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5614, - "end": 5615, - "loc": { - "start": { - "line": 157, - "column": 8 - }, - "end": { - "line": 157, - "column": 9 - } - } - }, - { - "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": 5616, - "end": 5620, - "loc": { - "start": { - "line": 157, - "column": 10 - }, - "end": { - "line": 157, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5621, - "end": 5622, - "loc": { - "start": { - "line": 157, - "column": 15 - }, - "end": { - "line": 157, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "VYI", - "start": 5636, - "end": 5639, - "loc": { - "start": { - "line": 158, - "column": 12 - }, - "end": { - "line": 158, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5639, - "end": 5640, - "loc": { - "start": { - "line": 158, - "column": 15 - }, - "end": { - "line": 158, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "logger", - "start": 5640, - "end": 5646, - "loc": { - "start": { - "line": 158, - "column": 16 - }, - "end": { - "line": 158, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5646, - "end": 5647, - "loc": { - "start": { - "line": 158, - "column": 22 - }, - "end": { - "line": 158, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "prefix", - "start": 5647, - "end": 5653, - "loc": { - "start": { - "line": 158, - "column": 23 - }, - "end": { - "line": 158, - "column": 29 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5653, - "end": 5654, - "loc": { - "start": { - "line": 158, - "column": 29 - }, - "end": { - "line": 158, - "column": 30 - } - } - }, - { - "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": 5654, - "end": 5666, - "loc": { - "start": { - "line": 158, - "column": 30 - }, - "end": { - "line": 158, - "column": 42 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5666, - "end": 5667, - "loc": { - "start": { - "line": 158, - "column": 42 - }, - "end": { - "line": 158, - "column": 43 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5667, - "end": 5668, - "loc": { - "start": { - "line": 158, - "column": 43 - }, - "end": { - "line": 158, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "error", - "start": 5668, - "end": 5673, - "loc": { - "start": { - "line": 158, - "column": 44 - }, - "end": { - "line": 158, - "column": 49 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5673, - "end": 5674, - "loc": { - "start": { - "line": 158, - "column": 49 - }, - "end": { - "line": 158, - "column": 50 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "Invalid name type used!", - "start": 5674, - "end": 5699, - "loc": { - "start": { - "line": 158, - "column": 50 - }, - "end": { - "line": 158, - "column": 75 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5699, - "end": 5700, - "loc": { - "start": { - "line": 158, - "column": 75 - }, - "end": { - "line": 158, - "column": 76 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5700, - "end": 5701, - "loc": { - "start": { - "line": 158, - "column": 76 - }, - "end": { - "line": 158, - "column": 77 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5711, - "end": 5712, - "loc": { - "start": { - "line": 159, - "column": 8 - }, - "end": { - "line": 159, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5718, - "end": 5719, - "loc": { - "start": { - "line": 160, - "column": 4 - }, - "end": { - "line": 160, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets an icon by the id provided.\r\n * \r\n * @private\r\n * @param {string} pID - The id of the icon.\r\n * @returns {Icon} The icon that has the id that was passed.\r\n ", - "start": 5725, - "end": 5920, - "loc": { - "start": { - "line": 161, - "column": 4 - }, - "end": { - "line": 167, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getIconByID", - "start": 5926, - "end": 5937, - "loc": { - "start": { - "line": 168, - "column": 4 - }, - "end": { - "line": 168, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5937, - "end": 5938, - "loc": { - "start": { - "line": 168, - "column": 15 - }, - "end": { - "line": 168, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pID", - "start": 5938, - "end": 5941, - "loc": { - "start": { - "line": 168, - "column": 16 - }, - "end": { - "line": 168, - "column": 19 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5941, - "end": 5942, - "loc": { - "start": { - "line": 168, - "column": 19 - }, - "end": { - "line": 168, - "column": 20 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5943, - "end": 5944, - "loc": { - "start": { - "line": 168, - "column": 21 - }, - "end": { - "line": 168, - "column": 22 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 5954, - "end": 5956, - "loc": { - "start": { - "line": 169, - "column": 8 - }, - "end": { - "line": 169, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5957, - "end": 5958, - "loc": { - "start": { - "line": 169, - "column": 11 - }, - "end": { - "line": 169, - "column": 12 - } - } - }, - { - "type": { - "label": "prefix", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": true, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "!", - "start": 5958, - "end": 5959, - "loc": { - "start": { - "line": 169, - "column": 12 - }, - "end": { - "line": 169, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pID", - "start": 5959, - "end": 5962, - "loc": { - "start": { - "line": 169, - "column": 13 - }, - "end": { - "line": 169, - "column": 16 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5962, - "end": 5963, - "loc": { - "start": { - "line": 169, - "column": 16 - }, - "end": { - "line": 169, - "column": 17 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 5964, - "end": 5970, - "loc": { - "start": { - "line": 169, - "column": 18 - }, - "end": { - "line": 169, - "column": 24 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 5970, - "end": 5971, - "loc": { - "start": { - "line": 169, - "column": 24 - }, - "end": { - "line": 169, - "column": 25 - } - } - }, - { - "type": { - "label": "for", - "keyword": "for", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": true, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "for", - "start": 5981, - "end": 5984, - "loc": { - "start": { - "line": 170, - "column": 8 - }, - "end": { - "line": 170, - "column": 11 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 5985, - "end": 5986, - "loc": { - "start": { - "line": 170, - "column": 12 - }, - "end": { - "line": 170, - "column": 13 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 5986, - "end": 5991, - "loc": { - "start": { - "line": 170, - "column": 13 - }, - "end": { - "line": 170, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 5992, - "end": 5996, - "loc": { - "start": { - "line": 170, - "column": 19 - }, - "end": { - "line": 170, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "of", - "start": 5997, - "end": 5999, - "loc": { - "start": { - "line": 170, - "column": 24 - }, - "end": { - "line": 170, - "column": 26 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 6000, - "end": 6004, - "loc": { - "start": { - "line": 170, - "column": 27 - }, - "end": { - "line": 170, - "column": 31 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6004, - "end": 6005, - "loc": { - "start": { - "line": 170, - "column": 31 - }, - "end": { - "line": 170, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 6005, - "end": 6010, - "loc": { - "start": { - "line": 170, - "column": 32 - }, - "end": { - "line": 170, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6010, - "end": 6011, - "loc": { - "start": { - "line": 170, - "column": 37 - }, - "end": { - "line": 170, - "column": 38 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6012, - "end": 6013, - "loc": { - "start": { - "line": 170, - "column": 39 - }, - "end": { - "line": 170, - "column": 40 - } - } - }, - { - "type": { - "label": "for", - "keyword": "for", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": true, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "for", - "start": 6027, - "end": 6030, - "loc": { - "start": { - "line": 171, - "column": 12 - }, - "end": { - "line": 171, - "column": 15 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6031, - "end": 6032, - "loc": { - "start": { - "line": 171, - "column": 16 - }, - "end": { - "line": 171, - "column": 17 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 6032, - "end": 6037, - "loc": { - "start": { - "line": 171, - "column": 17 - }, - "end": { - "line": 171, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "state", - "start": 6038, - "end": 6043, - "loc": { - "start": { - "line": 171, - "column": 23 - }, - "end": { - "line": 171, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "of", - "start": 6044, - "end": 6046, - "loc": { - "start": { - "line": 171, - "column": 29 - }, - "end": { - "line": 171, - "column": 31 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 6047, - "end": 6051, - "loc": { - "start": { - "line": 171, - "column": 32 - }, - "end": { - "line": 171, - "column": 36 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6051, - "end": 6052, - "loc": { - "start": { - "line": 171, - "column": 36 - }, - "end": { - "line": 171, - "column": 37 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "states", - "start": 6052, - "end": 6058, - "loc": { - "start": { - "line": 171, - "column": 37 - }, - "end": { - "line": 171, - "column": 43 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6058, - "end": 6059, - "loc": { - "start": { - "line": 171, - "column": 43 - }, - "end": { - "line": 171, - "column": 44 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6060, - "end": 6061, - "loc": { - "start": { - "line": 171, - "column": 45 - }, - "end": { - "line": 171, - "column": 46 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 6079, - "end": 6081, - "loc": { - "start": { - "line": 172, - "column": 16 - }, - "end": { - "line": 172, - "column": 18 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6082, - "end": 6083, - "loc": { - "start": { - "line": 172, - "column": 19 - }, - "end": { - "line": 172, - "column": 20 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "state", - "start": 6083, - "end": 6088, - "loc": { - "start": { - "line": 172, - "column": 20 - }, - "end": { - "line": 172, - "column": 25 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6088, - "end": 6089, - "loc": { - "start": { - "line": 172, - "column": 25 - }, - "end": { - "line": 172, - "column": 26 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "id", - "start": 6089, - "end": 6091, - "loc": { - "start": { - "line": 172, - "column": 26 - }, - "end": { - "line": 172, - "column": 28 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 6092, - "end": 6095, - "loc": { - "start": { - "line": 172, - "column": 29 - }, - "end": { - "line": 172, - "column": 32 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pID", - "start": 6096, - "end": 6099, - "loc": { - "start": { - "line": 172, - "column": 33 - }, - "end": { - "line": 172, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6099, - "end": 6100, - "loc": { - "start": { - "line": 172, - "column": 36 - }, - "end": { - "line": 172, - "column": 37 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 6101, - "end": 6107, - "loc": { - "start": { - "line": 172, - "column": 38 - }, - "end": { - "line": 172, - "column": 44 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "state", - "start": 6108, - "end": 6113, - "loc": { - "start": { - "line": 172, - "column": 45 - }, - "end": { - "line": 172, - "column": 50 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6113, - "end": 6114, - "loc": { - "start": { - "line": 172, - "column": 50 - }, - "end": { - "line": 172, - "column": 51 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6128, - "end": 6129, - "loc": { - "start": { - "line": 173, - "column": 12 - }, - "end": { - "line": 173, - "column": 13 - } - } - }, - { - "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "if", - "start": 6143, - "end": 6145, - "loc": { - "start": { - "line": 174, - "column": 12 - }, - "end": { - "line": 174, - "column": 14 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6146, - "end": 6147, - "loc": { - "start": { - "line": 174, - "column": 15 - }, - "end": { - "line": 174, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 6147, - "end": 6151, - "loc": { - "start": { - "line": 174, - "column": 16 - }, - "end": { - "line": 174, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6151, - "end": 6152, - "loc": { - "start": { - "line": 174, - "column": 20 - }, - "end": { - "line": 174, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "id", - "start": 6152, - "end": 6154, - "loc": { - "start": { - "line": 174, - "column": 21 - }, - "end": { - "line": 174, - "column": 23 - } - } - }, - { - "type": { - "label": "==/!=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 6, - "updateContext": null - }, - "value": "===", - "start": 6155, - "end": 6158, - "loc": { - "start": { - "line": 174, - "column": 24 - }, - "end": { - "line": 174, - "column": 27 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pID", - "start": 6159, - "end": 6162, - "loc": { - "start": { - "line": 174, - "column": 28 - }, - "end": { - "line": 174, - "column": 31 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6162, - "end": 6163, - "loc": { - "start": { - "line": 174, - "column": 31 - }, - "end": { - "line": 174, - "column": 32 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 6164, - "end": 6170, - "loc": { - "start": { - "line": 174, - "column": 33 - }, - "end": { - "line": 174, - "column": 39 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icon", - "start": 6171, - "end": 6175, - "loc": { - "start": { - "line": 174, - "column": 40 - }, - "end": { - "line": 174, - "column": 44 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6175, - "end": 6176, - "loc": { - "start": { - "line": 174, - "column": 44 - }, - "end": { - "line": 174, - "column": 45 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6186, - "end": 6187, - "loc": { - "start": { - "line": 175, - "column": 8 - }, - "end": { - "line": 175, - "column": 9 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6193, - "end": 6194, - "loc": { - "start": { - "line": 176, - "column": 4 - }, - "end": { - "line": 176, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Gets all the icons in this vyi.\r\n * @returns {Array}\r\n ", - "start": 6200, - "end": 6283, - "loc": { - "start": { - "line": 177, - "column": 4 - }, - "end": { - "line": 180, - "column": 7 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "getIcons", - "start": 6289, - "end": 6297, - "loc": { - "start": { - "line": 181, - "column": 4 - }, - "end": { - "line": 181, - "column": 12 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6297, - "end": 6298, - "loc": { - "start": { - "line": 181, - "column": 12 - }, - "end": { - "line": 181, - "column": 13 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6298, - "end": 6299, - "loc": { - "start": { - "line": 181, - "column": 13 - }, - "end": { - "line": 181, - "column": 14 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6300, - "end": 6301, - "loc": { - "start": { - "line": 181, - "column": 15 - }, - "end": { - "line": 181, - "column": 16 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 6311, - "end": 6317, - "loc": { - "start": { - "line": 182, - "column": 8 - }, - "end": { - "line": 182, - "column": 14 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6318, - "end": 6319, - "loc": { - "start": { - "line": 182, - "column": 15 - }, - "end": { - "line": 182, - "column": 16 - } - } - }, - { - "type": { - "label": "...", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6319, - "end": 6322, - "loc": { - "start": { - "line": 182, - "column": 16 - }, - "end": { - "line": 182, - "column": 19 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 6322, - "end": 6326, - "loc": { - "start": { - "line": 182, - "column": 19 - }, - "end": { - "line": 182, - "column": 23 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6326, - "end": 6327, - "loc": { - "start": { - "line": 182, - "column": 23 - }, - "end": { - "line": 182, - "column": 24 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 6327, - "end": 6332, - "loc": { - "start": { - "line": 182, - "column": 24 - }, - "end": { - "line": 182, - "column": 29 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6332, - "end": 6333, - "loc": { - "start": { - "line": 182, - "column": 29 - }, - "end": { - "line": 182, - "column": 30 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6333, - "end": 6334, - "loc": { - "start": { - "line": 182, - "column": 30 - }, - "end": { - "line": 182, - "column": 31 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6340, - "end": 6341, - "loc": { - "start": { - "line": 183, - "column": 4 - }, - "end": { - "line": 183, - "column": 5 - } - } - }, - { - "type": "CommentBlock", - "value": "*\r\n * Exports this VYI into VYI format.\r\n * @returns {Object} Returns the vyi data.\r\n ", - "start": 6347, - "end": 6449, - "loc": { - "start": { - "line": 184, - "column": 4 - }, - "end": { - "line": 187, - "column": 7 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 6455, - "end": 6461, - "loc": { - "start": { - "line": 188, - "column": 4 - }, - "end": { - "line": 188, - "column": 10 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6461, - "end": 6462, - "loc": { - "start": { - "line": 188, - "column": 10 - }, - "end": { - "line": 188, - "column": 11 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6462, - "end": 6463, - "loc": { - "start": { - "line": 188, - "column": 11 - }, - "end": { - "line": 188, - "column": 12 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6464, - "end": 6465, - "loc": { - "start": { - "line": 188, - "column": 13 - }, - "end": { - "line": 188, - "column": 14 - } - } - }, - { - "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "const", - "start": 6475, - "end": 6480, - "loc": { - "start": { - "line": 189, - "column": 8 - }, - "end": { - "line": 189, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 6481, - "end": 6484, - "loc": { - "start": { - "line": 189, - "column": 14 - }, - "end": { - "line": 189, - "column": 17 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 6485, - "end": 6486, - "loc": { - "start": { - "line": 189, - "column": 18 - }, - "end": { - "line": 189, - "column": 19 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6487, - "end": 6488, - "loc": { - "start": { - "line": 189, - "column": 20 - }, - "end": { - "line": 189, - "column": 21 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6488, - "end": 6489, - "loc": { - "start": { - "line": 189, - "column": 21 - }, - "end": { - "line": 189, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6489, - "end": 6490, - "loc": { - "start": { - "line": 189, - "column": 22 - }, - "end": { - "line": 189, - "column": 23 - } - } - }, - { - "type": "CommentLine", - "value": " Set version", - "start": 6500, - "end": 6514, - "loc": { - "start": { - "line": 190, - "column": 8 - }, - "end": { - "line": 190, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 6524, - "end": 6527, - "loc": { - "start": { - "line": 191, - "column": 8 - }, - "end": { - "line": 191, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6527, - "end": 6528, - "loc": { - "start": { - "line": 191, - "column": 11 - }, - "end": { - "line": 191, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "v", - "start": 6528, - "end": 6529, - "loc": { - "start": { - "line": 191, - "column": 12 - }, - "end": { - "line": 191, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 6530, - "end": 6531, - "loc": { - "start": { - "line": 191, - "column": 14 - }, - "end": { - "line": 191, - "column": 15 - } - } - }, - { - "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": 6532, - "end": 6536, - "loc": { - "start": { - "line": 191, - "column": 16 - }, - "end": { - "line": 191, - "column": 20 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6536, - "end": 6537, - "loc": { - "start": { - "line": 191, - "column": 20 - }, - "end": { - "line": 191, - "column": 21 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "formatVersion", - "start": 6537, - "end": 6550, - "loc": { - "start": { - "line": 191, - "column": 21 - }, - "end": { - "line": 191, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6550, - "end": 6551, - "loc": { - "start": { - "line": 191, - "column": 34 - }, - "end": { - "line": 191, - "column": 35 - } - } - }, - { - "type": "CommentLine", - "value": " Set the icons array", - "start": 6561, - "end": 6583, - "loc": { - "start": { - "line": 192, - "column": 8 - }, - "end": { - "line": 192, - "column": 30 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 6593, - "end": 6596, - "loc": { - "start": { - "line": 193, - "column": 8 - }, - "end": { - "line": 193, - "column": 11 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6596, - "end": 6597, - "loc": { - "start": { - "line": 193, - "column": 11 - }, - "end": { - "line": 193, - "column": 12 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 6597, - "end": 6598, - "loc": { - "start": { - "line": 193, - "column": 12 - }, - "end": { - "line": 193, - "column": 13 - } - } - }, - { - "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 6599, - "end": 6600, - "loc": { - "start": { - "line": 193, - "column": 14 - }, - "end": { - "line": 193, - "column": 15 - } - } - }, - { - "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6601, - "end": 6602, - "loc": { - "start": { - "line": 193, - "column": 16 - }, - "end": { - "line": 193, - "column": 17 - } - } - }, - { - "type": { - "label": "]", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6602, - "end": 6603, - "loc": { - "start": { - "line": 193, - "column": 17 - }, - "end": { - "line": 193, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6603, - "end": 6604, - "loc": { - "start": { - "line": 193, - "column": 18 - }, - "end": { - "line": 193, - "column": 19 - } - } - }, - { - "type": { - "label": "this", - "keyword": "this", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "this", - "start": 6614, - "end": 6618, - "loc": { - "start": { - "line": 194, - "column": 8 - }, - "end": { - "line": 194, - "column": 12 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6618, - "end": 6619, - "loc": { - "start": { - "line": 194, - "column": 12 - }, - "end": { - "line": 194, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "icons", - "start": 6619, - "end": 6624, - "loc": { - "start": { - "line": 194, - "column": 13 - }, - "end": { - "line": 194, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6624, - "end": 6625, - "loc": { - "start": { - "line": 194, - "column": 18 - }, - "end": { - "line": 194, - "column": 19 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "forEach", - "start": 6625, - "end": 6632, - "loc": { - "start": { - "line": 194, - "column": 19 - }, - "end": { - "line": 194, - "column": 26 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6632, - "end": 6633, - "loc": { - "start": { - "line": 194, - "column": 26 - }, - "end": { - "line": 194, - "column": 27 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6633, - "end": 6634, - "loc": { - "start": { - "line": 194, - "column": 27 - }, - "end": { - "line": 194, - "column": 28 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIcon", - "start": 6634, - "end": 6639, - "loc": { - "start": { - "line": 194, - "column": 28 - }, - "end": { - "line": 194, - "column": 33 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6639, - "end": 6640, - "loc": { - "start": { - "line": 194, - "column": 33 - }, - "end": { - "line": 194, - "column": 34 - } - } - }, - { - "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6641, - "end": 6643, - "loc": { - "start": { - "line": 194, - "column": 35 - }, - "end": { - "line": 194, - "column": 37 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6644, - "end": 6645, - "loc": { - "start": { - "line": 194, - "column": 38 - }, - "end": { - "line": 194, - "column": 39 - } - } - }, - { - "type": "CommentLine", - "value": " Push the icon data to the vyi export object.", - "start": 6659, - "end": 6706, - "loc": { - "start": { - "line": 195, - "column": 12 - }, - "end": { - "line": 195, - "column": 59 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 6720, - "end": 6723, - "loc": { - "start": { - "line": 196, - "column": 12 - }, - "end": { - "line": 196, - "column": 15 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6723, - "end": 6724, - "loc": { - "start": { - "line": 196, - "column": 15 - }, - "end": { - "line": 196, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "i", - "start": 6724, - "end": 6725, - "loc": { - "start": { - "line": 196, - "column": 16 - }, - "end": { - "line": 196, - "column": 17 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6725, - "end": 6726, - "loc": { - "start": { - "line": 196, - "column": 17 - }, - "end": { - "line": 196, - "column": 18 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "push", - "start": 6726, - "end": 6730, - "loc": { - "start": { - "line": 196, - "column": 18 - }, - "end": { - "line": 196, - "column": 22 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6730, - "end": 6731, - "loc": { - "start": { - "line": 196, - "column": 22 - }, - "end": { - "line": 196, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "pIcon", - "start": 6731, - "end": 6736, - "loc": { - "start": { - "line": 196, - "column": 23 - }, - "end": { - "line": 196, - "column": 28 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6736, - "end": 6737, - "loc": { - "start": { - "line": 196, - "column": 28 - }, - "end": { - "line": 196, - "column": 29 - } - } - }, - { - "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "export", - "start": 6737, - "end": 6743, - "loc": { - "start": { - "line": 196, - "column": 29 - }, - "end": { - "line": 196, - "column": 35 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6743, - "end": 6744, - "loc": { - "start": { - "line": 196, - "column": 35 - }, - "end": { - "line": 196, - "column": 36 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6744, - "end": 6745, - "loc": { - "start": { - "line": 196, - "column": 36 - }, - "end": { - "line": 196, - "column": 37 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6745, - "end": 6746, - "loc": { - "start": { - "line": 196, - "column": 37 - }, - "end": { - "line": 196, - "column": 38 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6746, - "end": 6747, - "loc": { - "start": { - "line": 196, - "column": 38 - }, - "end": { - "line": 196, - "column": 39 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6757, - "end": 6758, - "loc": { - "start": { - "line": 197, - "column": 8 - }, - "end": { - "line": 197, - "column": 9 - } - } - }, - { - "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6758, - "end": 6759, - "loc": { - "start": { - "line": 197, - "column": 9 - }, - "end": { - "line": 197, - "column": 10 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6759, - "end": 6760, - "loc": { - "start": { - "line": 197, - "column": 10 - }, - "end": { - "line": 197, - "column": 11 - } - } - }, - { - "type": { - "label": "return", - "keyword": "return", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "return", - "start": 6770, - "end": 6776, - "loc": { - "start": { - "line": 198, - "column": 8 - }, - "end": { - "line": 198, - "column": 14 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "vyi", - "start": 6777, - "end": 6780, - "loc": { - "start": { - "line": 198, - "column": 15 - }, - "end": { - "line": 198, - "column": 18 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6780, - "end": 6781, - "loc": { - "start": { - "line": 198, - "column": 18 - }, - "end": { - "line": 198, - "column": 19 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6787, - "end": 6788, - "loc": { - "start": { - "line": 199, - "column": 4 - }, - "end": { - "line": 199, - "column": 5 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 6790, - "end": 6791, - "loc": { - "start": { - "line": 200, - "column": 0 - }, - "end": { - "line": 200, - "column": 1 - } - } - }, - { - "type": { - "label": "eof", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 6791, - "end": 6791, - "loc": { - "start": { - "line": 200, - "column": 1 - }, - "end": { - "line": 200, - "column": 1 - } - } - } - ] -} \ No newline at end of file diff --git a/docs/class/src/frame.mjs~Frame.html b/docs/class/src/frame.mjs~Frame.html deleted file mode 100644 index 0e74096..0000000 --- a/docs/class/src/frame.mjs~Frame.html +++ /dev/null @@ -1,1232 +0,0 @@ - - - - - - Frame | vyi - - - - - - - -
- - - Reference - Source - - -
- - - -
-
import {Frame} from 'vyi/src/frame.mjs'
- public - class - - - - | source -
- -
-

Frame

- - - - - - - - - - - - - - - - - - - - - - - - - -
- -

Static Member Summary

- - - - - - - - - -
Static Public Members
- public - static - - - - -
-

- - - - defaultDelay: * -

-
-
- - - -
-
- - -
-
- -

Constructor Summary

- - - - - - - - - -
Private Constructor
- private - - - - - -
-

- - - - constructor(pFrameData: Array, pParentIcon: Icon) -

-
-
- - -

Create this frame class instance.

-
-
-
- - -
-
-

Member Summary

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Private Members
- private - - - - - -
-

- - - - dataURL: string -

-
-
- - -

The data URL of the sprite in this frame.

-
-
-
- - -
- private - - - - - -
-

- - - - delay: number -

-
-
- - -

The delay of this frame.

-
-
-
- - -
- private - - - - - -
-

- - - - index: number -

-
-
- - -

The index of this frame.

-
-
-
- - -
- private - - - - - -
-

- - - - parent: Icon -

-
-
- - -

The icon that owns this frame.

-
-
-
- - -
- private - - - - - -
-

- - - - vyi: VYI -

-
-
- - -

The vyi this frame belongs to.

-
-
-
- - -
-
-

Method Summary

- - - - - - - - - - - - - - - - - - - - - - - - -
Public Methods
- public - - - - - -
-

- - - - getDataURL(): DataURL -

-
-
- - -

Gets the data URL of this frame.

-
-
-
- - -
- public - - - - - -
-

- - - - getDelay(): number -

-
-
- - -

Gets the delay of this frame.

-
-
-
- - -
- public - - - - - -
-

- - - - setDataURL(pDataURL: DataURL): self -

-
-
- - -

Sets the data url of this frame.

-
-
-
- - -
- public - - - - - -
-

- - - - setDelay(pDelay: number): self -

-
-
- - -

Sets the delay of this frame in ms.

-
-
-
- - -
- - - - - - - - - - - - - - - -
Private Methods
- private - - - - - -
-

- - - - export(): Array -

-
-
- - -

Exports this frame's data into proper vyi format.

-
-
-
- - -
- private - - - - - -
-

- - - - parse(pFrameData: Array) -

-
-
- - -

parses through the icon data and adds data to this frame.

-
-
-
- - -
-
- - - -

Static Public Members

- -
-

- public - static - - - - - defaultDelay: * - - - - source - -

- - - - - - - - -
-
- - - - - - - - - - - - - - - - - -
-
- -

Private Constructors

- -
-

- private - - - - - - constructor(pFrameData: Array, pParentIcon: Icon) - - - - source - -

- - - - -

Create this frame class instance.

-
- - - -
-

Params:

- - - - - - - - - - - - - - - - - - - -
NameTypeAttributeDescription
pFrameDataArray

The frame data that is used to build this frame.

-
pParentIconIcon

The icon that created this frame.

-
-
-
- - - - - - - - - - - - - - - - - -
-
-

Private Members

- -
-

- private - - - - - - dataURL: string - - - - source - -

- - - - -

The data URL of the sprite in this frame.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - delay: number - - - - source - -

- - - - -

The delay of this frame.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - index: number - - - - source - -

- - - - -

The index of this frame. This indicates the order of the frame. 0 - Infinity.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - parent: Icon - - - - source - -

- - - - -

The icon that owns this frame.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - vyi: VYI - - - - source - -

- - - - -

The vyi this frame belongs to.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

Public Methods

- -
-

- public - - - - - - getDataURL(): DataURL - - - - source - -

- - - - -

Gets the data URL of this frame.

-
- - - -
-
- -
-

Return:

- - - - - - - -
DataURL

The base64 data of this image.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getDelay(): number - - - - source - -

- - - - -

Gets the delay of this frame.

-
- - - -
-
- -
-

Return:

- - - - - - - -
number

The delay of this frame.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - setDataURL(pDataURL: DataURL): self - - - - source - -

- - - - -

Sets the data url of this frame.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pDataURLDataURL

The base64 data of this image.

-
-
-
- -
-

Return:

- - - - - - - -
self

This frame instance.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - setDelay(pDelay: number): self - - - - source - -

- - - - -

Sets the delay of this frame in ms.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pDelaynumber

The delay in ms to set this frame to.

-
-
-
- -
-

Return:

- - - - - - - -
self

This frame instance.

-
-
-
-
- - - - - - - - - - - - - - - -
-

Private Methods

- -
-

- private - - - - - - export(): Array - - - - source - -

- - - - -

Exports this frame's data into proper vyi format.

-
- - - -
-
- -
-

Return:

- - - - - - - -
Array

An array of data related to this frame in the proper vyi format.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- private - - - - - - parse(pFrameData: Array) - - - - source - -

- - - - -

parses through the icon data and adds data to this frame.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pFrameDataArray

The frame data that is used to build this frame.

-
-
-
- - - - - - - - - - - - - - - - - -
-
-
- - - - - - - - - - - - diff --git a/docs/class/src/icon.mjs~Icon.html b/docs/class/src/icon.mjs~Icon.html deleted file mode 100644 index 8d12375..0000000 --- a/docs/class/src/icon.mjs~Icon.html +++ /dev/null @@ -1,3542 +0,0 @@ - - - - - - Icon | vyi - - - - - - - -
- - - Reference - Source - - -
- - - -
-
import {Icon} from 'vyi/src/icon.mjs'
- public - class - - - - | source -
- -
-

Icon

- - - - - - - - - - - - - - - - - - - - - - - - - -
- - -

Static Method Summary

- - - - - - - - - -
Static Private Methods
- private - static - - - - -
-

- - - - generateID(pVYI: VYI): string -

-
-
- - -

Generates a UUID (Universally Unique Identifier) version 4.

-
-
-
- - -
-
-

Constructor Summary

- - - - - - - - - -
Private Constructor
- private - - - - - -
-

- - - - constructor(pIconData: Object, pVYI: VYI) -

-
-
- - -

Creates this icon instance.

-
-
-
- - -
-
-

Member Summary

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Private Members
- private - - - - - -
-

- - - - dataURL: string -

-
-
- - -

The data URL of the sprite in this frame.

-
-
-
- - -
- private - - - - - -
-

- - - - delay: number -

-
-
- - -

The delay of this frame.

-
-
-
- - -
- private - - - - - -
-

- - - - frames: Array -

-
-
- - -

An arary of Frame's that are the frames of this icon.

-
-
-
- - -
- private - - - - - -
-

- - - - height: number -

-
-
- - -

The height of this icon.

-
-
-
- - -
- private - - - - - -
-

- - - - id: string -

-
-
- - -

A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.

-
-
-
- - -
- private - - - - - -
-

- - - - name: string -

-
-
- - -

The name of this icon.

-
-
-
- - -
- private - - - - - -
-

- - - - parent: Icon -

-
-
- - -

The icon that owns this icon.

-
-
-
- - -
- private - - - - - -
-

- - - - states: Array -

-
-
- - -

An array of Icon's that are state of this icon.

-
-
-
- - -
- private - - - - - -
-

- - - - vyi: VYI -

-
-
- - -

The vyi this icon belongs to.

-
-
-
- - -
- private - - - - - -
-

- - - - width: number -

-
-
- - -

The width of this icon.

-
-
-
- - -
-
-

Method Summary

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Public Methods
- public - - - - - -
-

- - - - addFrame(pFrameData: Array): Frame | undefined -

-
-
- - -

Adds a new frame to this icon.

-
-
-
- - -
- public - - - - - -
-

- - - - addState(pIconData: Object): Icon | undefined -

-
-
- - -

Adds this icon data as a state.

-
-
-
- - -
- public - - - - - -
-

- - - - getDataURL(): DataURL -

-
-
- - -

Gets the data URL of this icon.

-
-
-
- - -
- public - - - - - -
-

- - - - getDelay(): number -

-
-
- - -

Gets the delay of this icon.

-
-
-
- - -
- public - - - - - -
-

- - - - getFrame(pIndex: number): Frame | undefined -

-
-
- - -

Gets the frame existing at pIndex.

-
-
-
- - -
- public - - - - - -
-

- - - - getFrames(): Array -

-
-
- - -

Returns an array of all the frames this icons has.

-
-
-
- - -
- public - - - - - -
-

- - - - getID(): string -

-
-
- - -

Gets the id of this icon.

-
-
-
- - -
- public - - - - - -
-

- - - - getName(): string -

-
-
- - -

Returns the name of this icon.

-
-
-
- - -
- public - - - - - -
-

- - - - getSize(): Object -

-
-
- - -

Gets the width and height of this icon and returns it.

-
-
-
- - -
- public - - - - - -
-

- - - - getState(pName: string): Icon -

-
-
- - -

Gets the state that has the name pName.

-
-
-
- - -
- public - - - - - -
-

- - - - getStates(): Array -

-
-
- - -

Returns an array of all the states this icons has.

-
-
-
- - -
- public - - - - - -
-

- - - - removeFrame(pFrame: Frame, pIndex: number): self -

-
-
- - -

Removes the frame passed or the frame that exists at pIndex.

-
-
-
- - -
- public - - - - - -
-

- - - - removeState(pState: Icon, pName: string): self -

-
-
- - -

Removes the state passed or the state with the name pName.

-
-
-
- - -
- public - - - - - -
-

- - - - rename(pName: string): self -

-
-
- - -

Changes the name of this icon.

-
-
-
- - -
- public - - - - - -
-

- - - - reorderFrame(pCurrentIndex: number, pIndex: number): self -

-
-
- - -

Reorders the frame in the animation.

-
-
-
- - -
- public - - - - - -
-

- - - - setAllFrameDelays(pDelay: number): self -

-
-
- - -

Sets all the frames belonging to this icon to the same delay.

-
-
-
- - -
- public - - - - - -
-

- - - - setDataURL(pDataURL: DataURL): self -

-
-
- - -

Sets the data url of this icon.

-
-
-
- - -
- public - - - - - -
-

- - - - setDelay(pDelay: number): self -

-
-
- - -

Sets the frame delay of this icon.

-
-
-
- - -
- public - - - - - -
-

- - - - setSize(pWidth: number, pHeight: number): self -

-
-
- - -

Sets the size of this icon.

-
-
-
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Private Methods
- private - - - - - -
-

- - - - assignID(pVYI: VYI) -

-
-
- - -

Assigns an ID to this icon.

-
-
-
- - -
- private - - - - - -
-

- - - - export(): Array -

-
-
- - -

Exports this icon's data into proper vyi format.

-
-
-
- - -
- private - - - - - -
-

- - - - exportAsState(): Array -

-
-
- - -

Exports this icon as if it was a state in the proper vyi format.

-
-
-
- - -
- private - - - - - -
-

- - - - getFramesData(): Array -

-
-
- - -

Gets all the frames belonging to this icon.

-
-
-
- - -
- private - - - - - -
-

- - - - getStatesData(): Array -

-
-
- - -

Gets all the states belonging to this icon.

-
-
-
- - -
- private - - - - - -
-

- - - - indexFrames() -

-
-
- - -

Index the frames properly.

-
-
-
- - -
- private - - - - - -
-

- - - - parse(pIconData: Object) -

-
-
- - -

parses through the icon data and adds data to this icon.

-
-
-
- - -
-
- - - - -

Static Private Methods

- -
-

- private - static - - - - - generateID(pVYI: VYI): string - - - - source - -

- - - - -

Generates a UUID (Universally Unique Identifier) version 4.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pVYIVYI

The vyi that will reserve this ID.

-
-
-
- -
-

Return:

- - - - - - - -
string

The generated UUID.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

Private Constructors

- -
-

- private - - - - - - constructor(pIconData: Object, pVYI: VYI) - - - - source - -

- - - - -

Creates this icon instance.

-
- - - -
-

Params:

- - - - - - - - - - - - - - - - - - - -
NameTypeAttributeDescription
pIconDataObject

The icon data that is used to build this icon.

-
pVYIVYI

The vyi this icon | state belongs to.

-
-
-
- - - - - - - - - - - - - - - - - -
-
-

Private Members

- -
-

- private - - - - - - dataURL: string - - - - source - -

- - - - -

The data URL of the sprite in this frame.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - delay: number - - - - source - -

- - - - -

The delay of this frame.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - frames: Array - - - - source - -

- - - - -

An arary of Frame's that are the frames of this icon.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - height: number - - - - source - -

- - - - -

The height of this icon. All states and frames of this icon must match this size.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - id: string - - - - source - -

- - - - -

A random unique ID attached to each icon to distinguish them from others in the event another icon shares the same name.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - name: string - - - - source - -

- - - - -

The name of this icon.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - parent: Icon - - - - source - -

- - - - -

The icon that owns this icon. This means this icon is state.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - states: Array - - - - source - -

- - - - -

An array of Icon's that are state of this icon.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - vyi: VYI - - - - source - -

- - - - -

The vyi this icon belongs to.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - width: number - - - - source - -

- - - - -

The width of this icon. All states and frames of this icon must match this size.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

Public Methods

- -
-

- public - - - - - - addFrame(pFrameData: Array): Frame | undefined - - - - source - -

- - - - -

Adds a new frame to this icon.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pFrameDataArray

The frame data to give this frame.

-
-
-
- -
-

Return:

- - - - - - - -
Frame | undefined

The frame that was added or undefined.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - addState(pIconData: Object): Icon | undefined - - - - source - -

- - - - -

Adds this icon data as a state. A state is also an icon.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pIconDataObject

The data used to create this state icon.

-
-
-
- -
-

Return:

- - - - - - - -
Icon | undefined

The state that was added or undefined.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getDataURL(): DataURL - - - - source - -

- - - - -

Gets the data URL of this icon.

-
- - - -
-
- -
-

Return:

- - - - - - - -
DataURL

The base64 data of this image.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getDelay(): number - - - - source - -

- - - - -

Gets the delay of this icon.

-
- - - -
-
- -
-

Return:

- - - - - - - -
number

The delay of this icon.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getFrame(pIndex: number): Frame | undefined - - - - source - -

- - - - -

Gets the frame existing at pIndex. -Frame 0 will actually be frame "1" in the animation. As this icon will actually be frame 0. -If you are trying to get "frame" 1. Then you will need to use the icon's delay and data url. As that is frame 0.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pIndexnumber

The index of the frame to get.

-
-
-
- -
-

Return:

- - - - - - - -
Frame | undefined

The frame found at pIndex.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getFrames(): Array - - - - source - -

- - - - -

Returns an array of all the frames this icons has.

-
- - - -
-
- -
-

Return:

- - - - - - - -
Array

An array of frames this icon has.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getID(): string - - - - source - -

- - - - -

Gets the id of this icon.

-
- - - -
-
- -
-

Return:

- - - - - - - -
string

The id of this icon.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getName(): string - - - - source - -

- - - - -

Returns the name of this icon.

-
- - - -
-
- -
-

Return:

- - - - - - - -
string

The name of this icon.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getSize(): Object - - - - source - -

- - - - -

Gets the width and height of this icon and returns it.

-
- - - -
-
- -
-

Return:

- - - - - - - -
Object

An object with the width and height of this icon.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getState(pName: string): Icon - - - - source - -

- - - - -

Gets the state that has the name pName.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pNamestring

The name of the state to get.

-
-
-
- -
-

Return:

- - - - - - - -
Icon

The state that has the name of pName.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getStates(): Array - - - - source - -

- - - - -

Returns an array of all the states this icons has.

-
- - - -
-
- -
-

Return:

- - - - - - - -
Array

An array of states this icon has.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - removeFrame(pFrame: Frame, pIndex: number): self - - - - source - -

- - - - -

Removes the frame passed or the frame that exists at pIndex.

-
- - - -
-

Params:

- - - - - - - - - - - - - - - - - - - -
NameTypeAttributeDescription
pFrameFrame

The frame to remove from this icon. pIndex should be not be used in tandem with this method of removing.

-
pIndexnumber

The index of the frame to remove. pFrame must be undefined to use this method for removing.

-
-
-
- -
-

Return:

- - - - - - - -
self

This icon instance.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - removeState(pState: Icon, pName: string): self - - - - source - -

- - - - -

Removes the state passed or the state with the name pName.

-
- - - -
-

Params:

- - - - - - - - - - - - - - - - - - - -
NameTypeAttributeDescription
pStateIcon

The state to remove from this icon. pName should be not be used in tandem with this method of removing.

-
pNamestring

The name of the state to remove. pState must be undefined to use this method for removing.

-
-
-
- -
-

Return:

- - - - - - - -
self

This icon instance.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - rename(pName: string): self - - - - source - -

- - - - -

Changes the name of this icon.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pNamestring

The new name of the icon.

-
-
-
- -
-

Return:

- - - - - - - -
self

This icon instance.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - reorderFrame(pCurrentIndex: number, pIndex: number): self - - - - source - -

- - - - -

Reorders the frame in the animation. The index of the passed frame will be swapped with the frame at pIndex. -The "first" frame of the animation is technically this icon's dataURL. So if you are aiming to change the order of this icon and convert it into a frame. -pCurrentIndex must be set to -1 to match this icon.

-
- - - -
-

Params:

- - - - - - - - - - - - - - - - - - - -
NameTypeAttributeDescription
pCurrentIndexnumber

The current index of the frame.

-
pIndexnumber

The index the frame will be moving to.

-
-
-
- -
-

Return:

- - - - - - - -
self

This icon instance.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - setAllFrameDelays(pDelay: number): self - - - - source - -

- - - - -

Sets all the frames belonging to this icon to the same delay.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pDelaynumber

The delay to set all frames to.

-
-
-
- -
-

Return:

- - - - - - - -
self

This icon instance.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - setDataURL(pDataURL: DataURL): self - - - - source - -

- - - - -

Sets the data url of this icon.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pDataURLDataURL

The base64 data of this image.

-
-
-
- -
-

Return:

- - - - - - - -
self

This icon instance.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - setDelay(pDelay: number): self - - - - source - -

- - - - -

Sets the frame delay of this icon.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pDelaynumber

The delay to set this frame to.

-
-
-
- -
-

Return:

- - - - - - - -
self

This icon instance.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - setSize(pWidth: number, pHeight: number): self - - - - source - -

- - - - -

Sets the size of this icon.

-
- - - -
-

Params:

- - - - - - - - - - - - - - - - - - - -
NameTypeAttributeDescription
pWidthnumber

The width of this icon.

-
pHeightnumber

THe height of this icon.

-
-
-
- -
-

Return:

- - - - - - - -
self

This icon instance.

-
-
-
-
- - - - - - - - - - - - - - - -
-

Private Methods

- -
-

- private - - - - - - assignID(pVYI: VYI) - - - - source - -

- - - - -

Assigns an ID to this icon.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pVYIVYI

The vyi that holds this ID.

-
-
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - export(): Array - - - - source - -

- - - - -

Exports this icon's data into proper vyi format.

-
- - - -
-
- -
-

Return:

- - - - - - - -
Array

An array of data related to this icon in the proper vyi format.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- private - - - - - - exportAsState(): Array - - - - source - -

- - - - -

Exports this icon as if it was a state in the proper vyi format.

-
- - - -
-
- -
-

Return:

- - - - - - - -
Array

An array of data related to this icon as if it were a state.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- private - - - - - - getFramesData(): Array - - - - source - -

- - - - -

Gets all the frames belonging to this icon.

-
- - - -
-
- -
-

Return:

- - - - - - - -
Array

An array containing the frame data of all frames.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- private - - - - - - getStatesData(): Array - - - - source - -

- - - - -

Gets all the states belonging to this icon.

-
- - - -
-
- -
-

Return:

- - - - - - - -
Array

An array containing the state data of all frames.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- private - - - - - - indexFrames() - - - - source - -

- - - - -

Index the frames properly.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - parse(pIconData: Object) - - - - source - -

- - - - -

parses through the icon data and adds data to this icon.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pIconDataObject

The icon data that is used to build this icon.

-
-
-
- - - - - - - - - - - - - - - - - -
-
-
- - - - - - - - - - - - diff --git a/docs/class/src/vyi.mjs~VYI.html b/docs/class/src/vyi.mjs~VYI.html deleted file mode 100644 index a516ebd..0000000 --- a/docs/class/src/vyi.mjs~VYI.html +++ /dev/null @@ -1,1435 +0,0 @@ - - - - - - VYI | vyi - - - - - - - -
- - - Reference - Source - - -
- - - -
-
import {VYI} from 'vyi'
- public - class - - - - | source -
- -
-

VYI

- - - - - - - - - - - - - - - - - - - - - - - - - -
- -

Static Member Summary

- - - - - - - - - -
Static Public Members
- public - static - - - - -
-

- - - - version: * -

-
-
- - -

The version of the module.

-
-
-
- - -
- - - - - - - - - - -
Static Private Members
- private - static - - - - -
-

- - - - logger: Object -

-
-
- - -

The logger module this module uses to log errors / logs.

-
-
-
- - -
-
- -

Constructor Summary

- - - - - - - - - -
Public Constructor
- public - - - - - -
-

- - - - constructor(pVYIData: Object) -

-
-
- - -

Initializes this module with the information from the VYI passed.

-
-
-
- - -
-
-

Member Summary

- - - - - - - - - - - - - - - - - - - - - - - - -
Private Members
- private - - - - - -
-

- - - - formatVersion: number -

-
-
- - -

The version of the VYI.

-
-
-
- - -
- private - - - - - -
-

- - - - icons: Array -

-
-
- - -

An array of icons that belong to this VYI

-
-
-
- - -
- private - - - - - -
-

- - - - name: string -

-
-
- - -

The name of this vyi.

-
-
-
- - -
- private - - - - - -
-

- - - - reservedIDs: Array -

-
-
- - -

An array of used IDs to prevent collusion between duplicate named icons.

-
-
-
- - -
-
-

Method Summary

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Public Methods
- public - - - - - -
-

- - - - addIcon(pIconData: Object): Icon | undefined -

-
-
- - -

Adds an icon to this VYI.

-
-
-
- - -
- public - - - - - -
-

- - - - export(): Object -

-
-
- - -

Exports this VYI into VYI format.

-
-
-
- - -
- public - - - - - -
-

- - - - getIcon(pName: string): Icon | undefined -

-
-
- - -

Gets the icon that has the name pName.

-
-
-
- - -
- public - - - - - -
-

- - - - getIconNames(): Array -

-
-
- - -

Returns all the icon names in this vyi.

-
-
-
- - -
- public - - - - - -
-

- - - - getIcons(): Array<Icon> -

-
-
- - -

Gets all the icons in this vyi.

-
-
-
- - -
- public - - - - - -
-

- - async - - parse(pVYIData: Object | string) -

-
-
- - -

Initializes this module with the information from the VYI passed.

-
-
-
- - -
- public - - - - - -
-

- - - - removeIcon(pIcon: Icon, pName: string) -

-
-
- - -

Removes the icon passed or the icon with the name pName.

-
-
-
- - -
- - - - - - - - - - -
Private Methods
- private - - - - - -
-

- - - - getIconByID(pID: string): Icon -

-
-
- - -

Gets an icon by the id provided.

-
-
-
- - -
-
- - - -

Static Public Members

- -
-

- public - static - - - - - version: * - - - - source - -

- - - - -

The version of the module.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-

Static Private Members

- -
-

- private - static - - - - - logger: Object - - - - source - -

- - - - -

The logger module this module uses to log errors / logs.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
- -

Public Constructors

- -
-

- public - - - - - - constructor(pVYIData: Object) - - - - source - -

- - - - -

Initializes this module with the information from the VYI passed.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pVYIDataObject

A JSON / Javascript object containing the vyi information.this.ogger

-
-
-
- - - - - - - - - - - - - - - - - -
-
-

Private Members

- -
-

- private - - - - - - formatVersion: number - - - - source - -

- - - - -

The version of the VYI.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - icons: Array - - - - source - -

- - - - -

An array of icons that belong to this VYI

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - name: string - - - - source - -

- - - - -

The name of this vyi.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

- private - - - - - - reservedIDs: Array - - - - source - -

- - - - -

An array of used IDs to prevent collusion between duplicate named icons.

-
- - - -
-
- - - - - - - - - - - - - - - - - -
-
-

Public Methods

- -
-

- public - - - - - - addIcon(pIconData: Object): Icon | undefined - - - - source - -

- - - - -

Adds an icon to this VYI.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pIconDataObject

The icon data to use.

-
-
-
- -
-

Return:

- - - - - - - -
Icon | undefined

The Icon added or undefined.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - export(): Object - - - - source - -

- - - - -

Exports this VYI into VYI format.

-
- - - -
-
- -
-

Return:

- - - - - - - -
Object

Returns the vyi data.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getIcon(pName: string): Icon | undefined - - - - source - -

- - - - -

Gets the icon that has the name pName.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pNamestring

The name of the icon to get.

-
-
-
- -
-

Return:

- - - - - - - -
Icon | undefined

The icon that has the name pName or undefined.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getIconNames(): Array - - - - source - -

- - - - -

Returns all the icon names in this vyi.

-
- - - -
-
- -
-

Return:

- - - - - - - -
Array

An array of icon names in this vyi.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - - - getIcons(): Array<Icon> - - - - source - -

- - - - -

Gets all the icons in this vyi.

-
- - - -
-
- -
-

Return:

- - - - - - - -
Array<Icon>
-
-
-
- - - - - - - - - - - - - - - -
-
-

- public - - - - async - - parse(pVYIData: Object | string) - - - - source - -

- - - - -

Initializes this module with the information from the VYI passed. -Can call parse multiple times with different data to "merge" vyis.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pVYIDataObject | string

A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.

-
-
-
- - - - - - - - - - - - - - - - - -
-
-

- public - - - - - - removeIcon(pIcon: Icon, pName: string) - - - - source - -

- - - - -

Removes the icon passed or the icon with the name pName.

-
- - - -
-

Params:

- - - - - - - - - - - - - - - - - - - -
NameTypeAttributeDescription
pIconIcon

The state to remove from this icon. pName should be not be used in tandem with this method of removing.

-
pNamestring

The name of the icon to remove. pIcon must be undefined to use this method for removing.

-
-
-
- - - - - - - - - - - - - - - - - -
-

Private Methods

- -
-

- private - - - - - - getIconByID(pID: string): Icon - - - - source - -

- - - - -

Gets an icon by the id provided.

-
- - - -
-

Params:

- - - - - - - - - - - - - -
NameTypeAttributeDescription
pIDstring

The id of the icon.

-
-
-
- -
-

Return:

- - - - - - - -
Icon

The icon that has the id that was passed.

-
-
-
-
- - - - - - - - - - - - - - - -
-
-
- - - - - - - - - - - - diff --git a/docs/css/github.css b/docs/css/github.css deleted file mode 100644 index db9ca23..0000000 --- a/docs/css/github.css +++ /dev/null @@ -1,83 +0,0 @@ -/* github markdown */ -.github-markdown { - font-size: 16px; -} - -.github-markdown h1, -.github-markdown h2, -.github-markdown h3, -.github-markdown h4, -.github-markdown h5 { - margin-top: 1em; - margin-bottom: 16px; - font-weight: bold; - padding: 0; -} - -.github-markdown h1:nth-of-type(1) { - margin-top: 0; -} - -.github-markdown h1 { - font-size: 2em; - padding-bottom: 0.3em; -} - -.github-markdown h2 { - font-size: 1.75em; - padding-bottom: 0.3em; -} - -.github-markdown h3 { - font-size: 1.5em; -} - -.github-markdown h4 { - font-size: 1.25em; -} - -.github-markdown h5 { - font-size: 1em; -} - -.github-markdown ul, .github-markdown ol { - padding-left: 2em; -} - -.github-markdown pre > code { - font-size: 0.85em; -} - -.github-markdown table { - margin-bottom: 1em; - border-collapse: collapse; - border-spacing: 0; -} - -.github-markdown table tr { - background-color: #fff; - border-top: 1px solid #ccc; -} - -.github-markdown table th, -.github-markdown table td { - padding: 6px 13px; - border: 1px solid #ddd; -} - -.github-markdown table tr:nth-child(2n) { - background-color: #f8f8f8; -} - -.github-markdown hr { - border-right: 0; - border-bottom: 1px solid #e5e5e5; - border-left: 0; - border-top: 0; -} - -/** badge(.svg) does not have border */ -.github-markdown img:not([src*=".svg"]) { - max-width: 100%; - box-shadow: 1px 1px 1px rgba(0,0,0,0.5); -} diff --git a/docs/css/identifiers.css b/docs/css/identifiers.css deleted file mode 100644 index 52c8461..0000000 --- a/docs/css/identifiers.css +++ /dev/null @@ -1,37 +0,0 @@ -.identifiers-wrap { - display: flex; - align-items: flex-start; -} - -.identifier-dir-tree { - background: #fff; - border: solid 1px #ddd; - border-radius: 0.25em; - top: 52px; - position: -webkit-sticky; - position: sticky; - max-height: calc(100vh - 155px); - overflow-y: scroll; - min-width: 200px; - margin-left: 1em; -} - -.identifier-dir-tree-header { - padding: 0.5em; - background-color: #fafafa; - border-bottom: solid 1px #ddd; -} - -.identifier-dir-tree-content { - padding: 0 0.5em 0; -} - -.identifier-dir-tree-content > div { - padding-top: 0.25em; - padding-bottom: 0.25em; -} - -.identifier-dir-tree-content a { - color: inherit; -} - diff --git a/docs/css/manual.css b/docs/css/manual.css deleted file mode 100644 index 138a07f..0000000 --- a/docs/css/manual.css +++ /dev/null @@ -1,134 +0,0 @@ -.github-markdown .manual-toc { - padding-left: 0; -} - -.manual-index .manual-cards { - display: flex; - flex-wrap: wrap; -} - -.manual-index .manual-card-wrap { - width: 280px; - padding: 10px 20px 10px 0; - box-sizing: border-box; -} - -.manual-index .manual-card-wrap > h1 { - margin: 0; - font-size: 1em; - font-weight: 600; - padding: 0.2em 0 0.2em 0.5em; - border-radius: 0.1em 0.1em 0 0; - border: none; -} - -.manual-index .manual-card-wrap > h1 span { - color: #555; -} - -.manual-index .manual-card { - height: 200px; - overflow: hidden; - border: solid 1px rgba(230, 230, 230, 0.84); - border-radius: 0 0 0.1em 0.1em; - padding: 8px; - position: relative; -} - -.manual-index .manual-card > div { - transform: scale(0.4); - transform-origin: 0 0; - width: 250%; -} - -.manual-index .manual-card > a { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(210, 210, 210, 0.1); -} - -.manual-index .manual-card > a:hover { - background: none; -} - -.manual-index .manual-badge { - margin: 0; -} - -.manual-index .manual-user-index { - margin-bottom: 1em; - border-bottom: solid 1px #ddd; -} - -.manual-root .navigation { - padding-left: 4px; - margin-top: 4px; -} - -.navigation .manual-toc-root > div { - padding-left: 0.25em; - padding-right: 0.75em; -} - -.github-markdown .manual-toc-title a { - color: inherit; -} - -.manual-breadcrumb-list { - font-size: 0.8em; - margin-bottom: 1em; -} - -.manual-toc-title a:hover { - color: #039BE5; -} - -.manual-toc li { - margin: 0.75em 0; - list-style-type: none; -} - -.navigation .manual-toc [class^="indent-h"] a { - color: #666; -} - -.navigation .manual-toc .indent-h1 a { - color: #555; - font-weight: 600; - display: block; -} - -.manual-toc .indent-h1 { - display: block; - margin: 0.4em 0 0 0.25em; - padding: 0.2em 0 0.2em 0.5em; - border-radius: 0.1em; -} - -.manual-root .navigation .manual-toc li:not(.indent-h1) { - margin-top: 0.5em; -} - -.manual-toc .indent-h2 { - display: none; - margin-left: 1.5em; -} -.manual-toc .indent-h3 { - display: none; - margin-left: 2.5em; -} -.manual-toc .indent-h4 { - display: none; - margin-left: 3.5em; -} -.manual-toc .indent-h5 { - display: none; - margin-left: 4.5em; -} - -.manual-nav li { - margin: 0.75em 0; -} diff --git a/docs/css/search.css b/docs/css/search.css deleted file mode 100644 index 9940a54..0000000 --- a/docs/css/search.css +++ /dev/null @@ -1,84 +0,0 @@ -/* search box */ -.search-box { - position: absolute; - top: 10px; - right: 50px; - padding-right: 8px; - padding-bottom: 10px; - line-height: normal; - font-size: 12px; -} - -.search-box img { - width: 20px; - vertical-align: top; -} - -.search-input { - display: inline; - visibility: hidden; - width: 0; - padding: 2px; - height: 1.5em; - outline: none; - background: transparent; - border: 1px #0af; - border-style: none none solid none; - vertical-align: bottom; -} - -.search-input-edge { - display: none; - width: 1px; - height: 5px; - background-color: #0af; - vertical-align: bottom; -} - -.search-result { - position: absolute; - display: none; - height: 600px; - width: 100%; - padding: 0; - margin-top: 5px; - margin-left: 24px; - background: white; - box-shadow: 1px 1px 4px rgb(0,0,0); - white-space: nowrap; - overflow-y: scroll; -} - -.search-result-import-path { - color: #aaa; - font-size: 12px; -} - -.search-result li { - list-style: none; - padding: 2px 4px; -} - -.search-result li a { - display: block; -} - -.search-result li.selected { - background: #ddd; -} - -.search-result li.search-separator { - background: rgb(37, 138, 175); - color: white; -} - -.search-box.active .search-input { - visibility: visible; - transition: width 0.2s ease-out; - width: 300px; -} - -.search-box.active .search-input-edge { - display: inline-block; -} - diff --git a/docs/css/source.css b/docs/css/source.css deleted file mode 100644 index 3b9c92d..0000000 --- a/docs/css/source.css +++ /dev/null @@ -1,55 +0,0 @@ -table.files-summary { - width: 100%; - margin: 10px 0; - border-spacing: 0; - border: 0; - border-collapse: collapse; - text-align: right; -} - -table.files-summary tbody tr:hover { - background: #eee; -} - -table.files-summary td:first-child, -table.files-summary td:nth-of-type(2) { - text-align: left; -} - -table.files-summary[data-use-coverage="false"] td.coverage { - display: none; -} - -table.files-summary thead { - background: #fafafa; -} - -table.files-summary td { - border: solid 1px #ddd; - padding: 4px 10px; - vertical-align: top; -} - -table.files-summary td.identifiers > span { - display: block; - margin-top: 4px; -} -table.files-summary td.identifiers > span:first-child { - margin-top: 0; -} - -table.files-summary .coverage-count { - font-size: 12px; - color: #aaa; - display: inline-block; - min-width: 40px; -} - -.total-coverage-count { - position: relative; - bottom: 2px; - font-size: 12px; - color: #666; - font-weight: 500; - padding-left: 5px; -} diff --git a/docs/css/style.css b/docs/css/style.css deleted file mode 100644 index fe3b2d9..0000000 --- a/docs/css/style.css +++ /dev/null @@ -1,608 +0,0 @@ -@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,700); -@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,700); -@import url(./manual.css); -@import url(./source.css); -@import url(./test.css); -@import url(./identifiers.css); -@import url(./github.css); -@import url(./search.css); - -* { - margin: 0; - padding: 0; - text-decoration: none; -} - -html -{ - font-family: 'Source Sans Pro', 'Roboto', sans-serif; - overflow: auto; - /*font-size: 14px;*/ - /*color: #4d4e53;*/ - /*color: rgba(0, 0, 0, .68);*/ - color: #555; - background-color: #fff; -} - -a { - /*color: #0095dd;*/ - /*color:rgb(37, 138, 175);*/ - color: #039BE5; -} - -code a:hover { - text-decoration: underline; -} - -ul, ol { - padding-left: 20px; -} - -ul li { - list-style: disc; - margin: 4px 0; -} - -ol li { - margin: 4px 0; -} - -h1 { - margin-bottom: 10px; - font-size: 34px; - font-weight: 300; - border-bottom: solid 1px #ddd; -} - -h2 { - margin-top: 24px; - margin-bottom: 10px; - font-size: 20px; - border-bottom: solid 1px #ddd; - font-weight: 300; -} - -h3 { - position: relative; - font-size: 16px; - margin-bottom: 12px; - padding: 4px; - font-weight: 300; -} - -details { - cursor: pointer; -} - -del { - text-decoration: line-through; -} - -p { - margin-bottom: 15px; - line-height: 1.5; -} - -code { - font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; -} - -pre > code { - display: block; -} - -pre.prettyprint, pre > code { - padding: 4px; - margin: 1em 0; - background-color: #f5f5f5; - border-radius: 3px; -} - -pre.prettyprint > code { - margin: 0; -} - -p > code, -li > code { - padding: 0.2em 0.5em; - margin: 0; - font-size: 85%; - background-color: rgba(0,0,0,0.04); - border-radius: 3px; -} - -.code { - font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; - font-size: 13px; -} - -.import-path pre.prettyprint, -.import-path pre.prettyprint code { - margin: 0; - padding: 0; - border: none; - background: white; -} - -.layout-container { - /*display: flex;*/ - /*flex-direction: row;*/ - /*justify-content: flex-start;*/ - /*align-items: stretch;*/ -} - -.layout-container > header { - display: flex; - height: 40px; - line-height: 40px; - font-size: 16px; - padding: 0 10px; - margin: 0; - position: fixed; - width: 100%; - z-index: 1; - background-color: #fafafa; - top: 0; - border-bottom: solid 1px #ddd; -} -.layout-container > header > a{ - margin: 0 5px; - color: #444; -} - -.layout-container > header > a.repo-url-github { - font-size: 0; - display: inline-block; - width: 20px; - height: 38px; - background: url("../image/github.png") no-repeat center; - background-size: 20px; - vertical-align: top; -} - -.navigation { - position: fixed; - top: 0; - left: 0; - box-sizing: border-box; - width: 250px; - height: 100%; - padding-top: 40px; - padding-left: 15px; - padding-bottom: 2em; - margin-top:1em; - overflow-x: scroll; - box-shadow: rgba(255, 255, 255, 1) -1px 0 0 inset; - border-right: 1px solid #ddd; -} - -.navigation ul { - padding: 0; -} - -.navigation li { - list-style: none; - margin: 4px 0; - white-space: nowrap; -} - -.navigation li a { - color: #666; -} - -.navigation .nav-dir-path { - display: block; - margin-top: 0.7em; - margin-bottom: 0.25em; - font-weight: 600; -} - -.kind-class, -.kind-interface, -.kind-function, -.kind-typedef, -.kind-variable, -.kind-external { - margin-left: 0.75em; - width: 1.2em; - height: 1.2em; - display: inline-block; - text-align: center; - border-radius: 0.2em; - margin-right: 0.2em; - font-weight: bold; - line-height: 1.2em; -} - -.kind-class { - color: #009800; - background-color: #bfe5bf; -} - -.kind-interface { - color: #fbca04; - background-color: #fef2c0; -} - -.kind-function { - color: #6b0090; - background-color: #d6bdde; -} - -.kind-variable { - color: #eb6420; - background-color: #fad8c7; -} - -.kind-typedef { - color: #db001e; - background-color: #edbec3; -} - -.kind-external { - color: #0738c3; - background-color: #bbcbea; -} - -.summary span[class^="kind-"] { - margin-left: 0; -} - -h1 .version, -h1 .url a { - font-size: 14px; - color: #aaa; -} - -.content { - margin-top: 40px; - margin-left: 250px; - padding: 10px 50px 10px 20px; -} - -.header-notice { - font-size: 14px; - color: #aaa; - margin: 0; -} - -.expression-extends .prettyprint { - margin-left: 10px; - background: white; -} - -.extends-chain { - border-bottom: 1px solid#ddd; - padding-bottom: 10px; - margin-bottom: 10px; -} - -.extends-chain span:nth-of-type(1) { - padding-left: 10px; -} - -.extends-chain > div { - margin: 5px 0; -} - -.description table { - font-size: 14px; - border-spacing: 0; - border: 0; - border-collapse: collapse; -} - -.description thead { - background: #999; - color: white; -} - -.description table td, -.description table th { - border: solid 1px #ddd; - padding: 4px; - font-weight: normal; -} - -.flat-list ul { - padding-left: 0; -} - -.flat-list li { - display: inline; - list-style: none; -} - -table.summary { - width: 100%; - margin: 10px 0; - border-spacing: 0; - border: 0; - border-collapse: collapse; -} - -table.summary thead { - background: #fafafa; -} - -table.summary td { - border: solid 1px #ddd; - padding: 4px 10px; -} - -table.summary tbody td:nth-child(1) { - text-align: right; - white-space: nowrap; - min-width: 64px; - vertical-align: top; -} - -table.summary tbody td:nth-child(2) { - width: 100%; - border-right: none; -} - -table.summary tbody td:nth-child(3) { - white-space: nowrap; - border-left: none; - vertical-align: top; -} - -table.summary td > div:nth-of-type(2) { - padding-top: 4px; - padding-left: 15px; -} - -table.summary td p { - margin-bottom: 0; -} - -.inherited-summary thead td { - padding-left: 2px; -} - -.inherited-summary thead a { - color: white; -} - -.inherited-summary .summary tbody { - display: none; -} - -.inherited-summary .summary .toggle { - padding: 0 4px; - font-size: 12px; - cursor: pointer; -} -.inherited-summary .summary .toggle.closed:before { - content: "▶"; -} -.inherited-summary .summary .toggle.opened:before { - content: "▼"; -} - -.member, .method { - margin-bottom: 24px; -} - -table.params { - width: 100%; - margin: 10px 0; - border-spacing: 0; - border: 0; - border-collapse: collapse; -} - -table.params thead { - background: #eee; - color: #aaa; -} - -table.params td { - padding: 4px; - border: solid 1px #ddd; -} - -table.params td p { - margin: 0; -} - -.content .detail > * { - margin: 15px 0; -} - -.content .detail > h3 { - color: black; - background-color: #f0f0f0; -} - -.content .detail > div { - margin-left: 10px; -} - -.content .detail > .import-path { - margin-top: -8px; -} - -.content .detail + .detail { - margin-top: 30px; -} - -.content .detail .throw td:first-child { - padding-right: 10px; -} - -.content .detail h4 + :not(pre) { - padding-left: 0; - margin-left: 10px; -} - -.content .detail h4 + ul li { - list-style: none; -} - -.return-param * { - display: inline; -} - -.argument-params { - margin-bottom: 20px; -} - -.return-type { - padding-right: 10px; - font-weight: normal; -} - -.return-desc { - margin-left: 10px; - margin-top: 4px; -} - -.return-desc p { - margin: 0; -} - -.deprecated, .experimental, .instance-docs { - border-left: solid 5px orange; - padding-left: 4px; - margin: 4px 0; -} - -tr.listen p, -tr.throw p, -tr.emit p{ - margin-bottom: 10px; -} - -.version, .since { - color: #aaa; -} - -h3 .right-info { - position: absolute; - right: 4px; - font-size: 14px; -} - -.version + .since:before { - content: '| '; -} - -.see { - margin-top: 10px; -} - -.see h4 { - margin: 4px 0; -} - -.content .detail h4 + .example-doc { - margin: 6px 0; -} - -.example-caption { - position: relative; - bottom: -1px; - display: inline-block; - padding: 4px; - font-style: italic; - background-color: #f5f5f5; - font-weight: bold; - border-radius: 3px; - border-bottom-left-radius: 0; - border-bottom-right-radius: 0; -} - -.example-caption + pre.source-code { - margin-top: 0; - border-top-left-radius: 0; -} - -footer, .file-footer { - text-align: right; - font-style: italic; - font-weight: 100; - font-size: 13px; - margin-right: 50px; - margin-left: 270px; - border-top: 1px solid #ddd; - padding-top: 30px; - margin-top: 20px; - padding-bottom: 10px; -} - -footer img { - width: 24px; - vertical-align: middle; - padding-left: 4px; - position: relative; - top: -3px; - opacity: 0.6; -} - -pre.source-code { - padding: 4px; -} - -pre.raw-source-code > code { - padding: 0; - margin: 0; - font-size: 12px; - background: #fff; - border: solid 1px #ddd; - line-height: 1.5; -} - -pre.raw-source-code > code > ol { - counter-reset:number; - list-style:none; - margin:0; - padding:0; - overflow: hidden; -} - -pre.raw-source-code > code > ol li:before { - counter-increment: number; - content: counter(number); - display: inline-block; - min-width: 3em; - color: #aaa; - text-align: right; - padding-right: 1em; -} - -pre.source-code.line-number { - padding: 0; -} - -pre.source-code ol { - background: #eee; - padding-left: 40px; -} - -pre.source-code li { - background: white; - padding-left: 4px; - list-style: decimal; - margin: 0; -} - -pre.source-code.line-number li.active { - background: rgb(255, 255, 150) !important; -} - -pre.source-code.line-number li.error-line { - background: #ffb8bf; -} - -.inner-link-active { - /*background: rgb(255, 255, 150) !important;*/ - background: #039BE5 !important; - color: #fff !important; - padding-left: 0.1em !important; -} - -.inner-link-active a { - color: inherit; -} diff --git a/docs/css/test.css b/docs/css/test.css deleted file mode 100644 index 8ce1266..0000000 --- a/docs/css/test.css +++ /dev/null @@ -1,58 +0,0 @@ -table.test-summary thead { - background: #fafafa; -} - -table.test-summary thead .test-description { - width: 50%; -} - -table.test-summary { - width: 100%; - margin: 10px 0; - border-spacing: 0; - border: 0; - border-collapse: collapse; -} - -table.test-summary thead .test-count { - width: 3em; -} - -table.test-summary tbody tr:hover { - background-color: #eee; -} - -table.test-summary td { - border: solid 1px #ddd; - padding: 4px 10px; - vertical-align: top; -} - -table.test-summary td p { - margin: 0; -} - -table.test-summary tr.test-interface .toggle { - display: inline-block; - float: left; - margin-right: 4px; - cursor: pointer; - font-size: 0.8em; - padding-top: 0.25em; -} - -table.test-summary tr.test-interface .toggle.opened:before { - content: '▼'; -} - -table.test-summary tr.test-interface .toggle.closed:before { - content: '▶'; -} - -table.test-summary .test-target > span { - display: block; - margin-top: 4px; -} -table.test-summary .test-target > span:first-child { - margin-top: 0; -} diff --git a/docs/file/src/frame.mjs.html b/docs/file/src/frame.mjs.html deleted file mode 100644 index 6a40f8f..0000000 --- a/docs/file/src/frame.mjs.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - src/frame.mjs | vyi - - - - - - - -
- - - Reference - Source - - -
- - - -

src/frame.mjs

-
import { VYI } from './vyi.mjs';
-
-export class Frame {
-    /**
-     * The delay of this frame.
-     * @private
-     * @type {number}
-     */
-    delay = 100;
-    /**
-     * The data URL of the sprite in this frame.
-     * @private
-     * @type {string}
-     */
-    dataURL;
-    /**
-     * The index of this frame. This indicates the order of the frame. 0 - Infinity.
-     * @private
-     * @type {number}
-     */
-    index = 0;
-    /**
-     * The icon that owns this frame. 
-     * @private
-     * @type {Icon}
-     */
-    parent;
-    /**
-     * The default delay in ms of frames.
-     * @private
-     * @type {number}
-     */
-    /**
-     * The vyi this frame belongs to.
-     * 
-     * @private
-     * @type {VYI}
-     */
-    vyi;
-    static defaultDelay = 100;
-    /**
-     * Create this frame class instance.
-     * @param {Array} pFrameData - The frame data that is used to build this frame.
-     * @param {Icon} pParentIcon - The icon that created this frame.
-     * @private
-     */
-    constructor(pFrameData, pParentIcon) {
-        this.vyi = pParentIcon.vyi;
-        this.parent = pParentIcon;
-        this.parse(pFrameData);
-    }
-    /**
-     * parses through the icon data and adds data to this frame.
-     * @param {Array} pFrameData - The frame data that is used to build this frame.
-     * @private
-     */
-    parse(pFrameData) {
-        // Loop through frame data and build frame.
-        const dataURL = pFrameData[0];
-        const frameDelay = pFrameData[1] ? pFrameData[1] : this.parent.getDelay();
-        // Set the data url
-        this.setDataURL(dataURL);
-        // Set the frame delay
-        this.setDelay(frameDelay);
-    }
-    /**
-     * Sets the delay of this frame in ms.
-     * @param {number} pDelay - The delay in ms to set this frame to.
-     * @returns {self} This frame instance.
-     */
-    setDelay(pDelay) {
-        if (pDelay) {
-            if (typeof(pDelay) === 'number') {
-                this.delay = pDelay;
-            } else {
-                VYI.logger.prefix('VYI-module').error('Invalid delay type!');
-            }
-        }
-        return this;
-    }
-    /**
-     * Gets the delay of this frame.
-     * @returns {number} The delay of this frame.
-     */
-    getDelay() {
-        return this.delay;
-    }
-    /**
-     * Sets the data url of this frame.
-     * @param {DataURL} pDataURL - The base64 data of this image.
-     * @returns {self} This frame instance.
-     */
-    setDataURL(pDataURL) {
-        if (pDataURL) {
-            if (typeof(pDataURL) === 'string') {
-                this.dataURL = pDataURL;
-            } else {
-                VYI.logger.prefix('VYI-module').error('Invalid data url type!');
-            }
-        }
-        return this;
-    }
-    /**
-     * Gets the data URL of this frame.
-     * @returns {DataURL} - The base64 data of this image.
-     */
-    getDataURL() {
-        return this.dataURL;
-    }
-    /**
-     * Exports this frame's data into proper vyi format.
-     * @private
-     * @returns {Array} An array of data related to this frame in the proper vyi format.
-     */
-    export() {
-        const frameData = [];
-        // frame dataURL
-        frameData[0] = this.getDataURL();
-        // We do not have to store the delay if it is the default value of 100. This will save data.
-        const delayIsDefault = this.getDelay() === Frame.defaultDelay;
-        if (!delayIsDefault) {
-            // frame delay
-            frameData[1] = this.getDelay();
-        }
-        return frameData;
-    }
-}
- -
- - - - - - - - - - - - diff --git a/docs/file/src/vyi.mjs.html b/docs/file/src/vyi.mjs.html deleted file mode 100644 index e42efad..0000000 --- a/docs/file/src/vyi.mjs.html +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - src/vyi.mjs | vyi - - - - - - - -
- - - Reference - Source - - -
- - - -

src/vyi.mjs

-
import { Logger } from './vendor/logger.mjs';
-import { Icon } from './icon.mjs';
-
-export class VYI {
-	/**
-	 * The version of the module.
-	 */
-	static version = "VERSION_REPLACE_ME";
-    /** The logger module this module uses to log errors / logs.
-     * @private
-     * @type {Object}
-     */
-    static logger = new Logger();
-    /**
-     * An array of icons that belong to this VYI
-     * @private
-     * @type {Array}
-     */
-    icons = [];
-    /**
-     * The name of this vyi.
-     * @private
-     * @type {string}
-     */
-    name = 'failed-to-find-vyi-name';
-    /**
-     * The version of the VYI.
-     * @private
-     * @type {number}
-     */
-    formatVersion;
-    /**
-     * An array of used IDs to prevent collusion between duplicate named icons.
-     * 
-     * @private
-     * @type {Array}
-     */
-    reservedIDs = [];
-    /**
-     * Initializes this module with the information from the VYI passed.
-     * @param {Object} pVYIData - A JSON / Javascript object containing the vyi information.this.ogger
-    */
-    constructor(pVYIData) {
-        VYI.logger.registerType('VYI-Module', '#ff6600');
-        if (pVYIData) {
-            if (pVYIData instanceof Object) {
-                this.parse(pVYIData);
-            } else {
-                VYI.logger.prefix('VYI-module').error('Invalid vyiData type! Cannot parse!');
-            }
-        }
-    }
-    /**
-     * Initializes this module with the information from the VYI passed.
-     * Can call parse multiple times with different data to "merge" vyis.
-     * @async
-     * @param {Object|string} pVYIData - A string containing the path to the vyi json or a JSON / Javascript object containing the vyi information.
-     */
-    async parse(pVYIData) {
-        try {
-            if (pVYIData) {
-                let vyi;
-                // If the data is a path then we need to use fetch to acquire the data first
-                if (typeof(pVYIData) === 'string') {
-                    const url = pVYIData;
-                    const response = await fetch(url);
-                    vyi = await response.json();
-                } else if (pVYIData instanceof Object) {
-                    vyi = pVYIData;
-                }
-                // If there is data to parse
-                // Then parse through it
-                if (vyi) {
-                    /**
-                     * An array of icons that this vyi holds.
-                     * @type {Array}
-                     */
-                    const icons = vyi.i;
-                    /**
-                     * The version of the vyi. 1 for default if no version is found.
-                     * @type {number}
-                     */
-                    this.formatVersion = vyi.v || 1;
-
-                    if (Array.isArray(icons)) {
-                        // Loop through the icons and add them to the vyi module instance.
-                        icons.forEach((pIconData) => {
-                            this.addIcon(pIconData, this);
-                        });
-                    } else {
-                        VYI.logger.prefix('VYI-module').error('Invalid .vyi file! Cannot parse.');
-                    }
-                }
-            }
-        } catch (pError) {
-            VYI.logger.prefix('VYI-module').error(`Error processing vyi data: ${pError}`);
-        }
-    }
-    /**
-     * Adds an icon to this VYI.
-     * @param {Object} pIconData - The icon data to use.
-     * @returns {Icon|undefined} - The Icon added or undefined.
-     */
-    addIcon(pIconData) {
-        if (pIconData) {
-            if (pIconData instanceof Object) {
-                const icon = new Icon(pIconData, this);
-                // Add the icon to the icons array.
-                this.icons.push(icon);
-                return icon;
-            } else {
-                VYI.logger.prefix('VYI-module').error('Invalid icon data type passed!');
-            }
-        } else {
-            VYI.logger.prefix('VYI-module').error('No icon data passed!');
-        }
-    }
-    /**
-     * Removes the icon passed or the icon with the name pName.
-     * @param {Icon} pIcon - The state to remove from this icon. pName should be not be used in tandem with this method of removing.
-     * @param {string} pName - The name of the icon to remove. pIcon must be undefined to use this method for removing.
-     */
-    removeIcon(pIcon, pName) {
-        const icon = pIcon || this.getIcon(pName);
-        if (icon) {
-            if (this.icons.includes(icon)) {
-                this.icons.splice(this.icons.indexOf(icon), 1);
-            }
-        }
-    }
-    /**
-     * Returns all the icon names in this vyi.
-     * @returns {Array} An array of icon names in this vyi.
-     */
-    getIconNames() {
-        // Array to store the icon names.
-        const iconNames = [];
-        this.icons.forEach((pIcon) => {
-            iconNames.push(pIcon.name);
-        });
-        return iconNames;
-    }
-    /**
-     * Gets the icon that has the name pName.
-     * @param {string} pName - The name of the icon to get.
-     * @returns {Icon|undefined} The icon that has the name pName or undefined.
-     */
-    getIcon(pName) {
-        if (typeof(pName) === 'string') {
-            for (let i = this.icons.length - 1; i >= 0; i--) {
-                const icon = this.icons[i];
-                // If the icon has the same name, return that icon
-                if (icon.getName() === pName) {
-                    return icon;
-                }
-            }
-        } else {
-            VYI.logger.prefix('VYI-module').error('Invalid name type used!');
-        }
-    }
-    /**
-     * Gets an icon by the id provided.
-     * 
-     * @private
-     * @param {string} pID - The id of the icon.
-     * @returns {Icon} The icon that has the id that was passed.
-     */
-    getIconByID(pID) {
-        if (!pID) return;
-        for (const icon of this.icons) {
-            for (const state of icon.states) {
-                if (state.id === pID) return state;
-            }
-            if (icon.id === pID) return icon;
-        }
-    }
-    /**
-     * Gets all the icons in this vyi.
-     * @returns {Array<Icon>}
-     */
-    getIcons() {
-        return [...this.icons];
-    }
-    /**
-     * Exports this VYI into VYI format.
-     * @returns {Object} Returns the vyi data.
-     */
-    export() {
-        const vyi = {};
-        // Set version
-        vyi.v = this.formatVersion;
-        // Set the icons array
-        vyi.i = [];
-        this.icons.forEach((pIcon) => {
-            // Push the icon data to the vyi export object.
-            vyi.i.push(pIcon.export());
-        });
-        return vyi;
-    }
-}
- -
- - - - - - - - - - - - diff --git a/docs/fonts/OpenSans-Bold-webfont.eot b/docs/fonts/OpenSans-Bold-webfont.eot new file mode 100644 index 0000000..5d20d91 Binary files /dev/null and b/docs/fonts/OpenSans-Bold-webfont.eot differ diff --git a/docs/fonts/OpenSans-Bold-webfont.svg b/docs/fonts/OpenSans-Bold-webfont.svg new file mode 100644 index 0000000..3ed7be4 --- /dev/null +++ b/docs/fonts/OpenSans-Bold-webfont.svg @@ -0,0 +1,1830 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/fonts/OpenSans-Bold-webfont.woff b/docs/fonts/OpenSans-Bold-webfont.woff new file mode 100644 index 0000000..1205787 Binary files /dev/null and b/docs/fonts/OpenSans-Bold-webfont.woff differ diff --git a/docs/fonts/OpenSans-BoldItalic-webfont.eot b/docs/fonts/OpenSans-BoldItalic-webfont.eot new file mode 100644 index 0000000..1f639a1 Binary files /dev/null and b/docs/fonts/OpenSans-BoldItalic-webfont.eot differ diff --git a/docs/fonts/OpenSans-BoldItalic-webfont.svg b/docs/fonts/OpenSans-BoldItalic-webfont.svg new file mode 100644 index 0000000..6a2607b --- /dev/null +++ b/docs/fonts/OpenSans-BoldItalic-webfont.svg @@ -0,0 +1,1830 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/fonts/OpenSans-BoldItalic-webfont.woff b/docs/fonts/OpenSans-BoldItalic-webfont.woff new file mode 100644 index 0000000..ed760c0 Binary files /dev/null and b/docs/fonts/OpenSans-BoldItalic-webfont.woff differ diff --git a/docs/fonts/OpenSans-Italic-webfont.eot b/docs/fonts/OpenSans-Italic-webfont.eot new file mode 100644 index 0000000..0c8a0ae Binary files /dev/null and b/docs/fonts/OpenSans-Italic-webfont.eot differ diff --git a/docs/fonts/OpenSans-Italic-webfont.svg b/docs/fonts/OpenSans-Italic-webfont.svg new file mode 100644 index 0000000..e1075dc --- /dev/null +++ b/docs/fonts/OpenSans-Italic-webfont.svg @@ -0,0 +1,1830 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/fonts/OpenSans-Italic-webfont.woff b/docs/fonts/OpenSans-Italic-webfont.woff new file mode 100644 index 0000000..ff652e6 Binary files /dev/null and b/docs/fonts/OpenSans-Italic-webfont.woff differ diff --git a/docs/fonts/OpenSans-Light-webfont.eot b/docs/fonts/OpenSans-Light-webfont.eot new file mode 100644 index 0000000..1486840 Binary files /dev/null and b/docs/fonts/OpenSans-Light-webfont.eot differ diff --git a/docs/fonts/OpenSans-Light-webfont.svg b/docs/fonts/OpenSans-Light-webfont.svg new file mode 100644 index 0000000..11a472c --- /dev/null +++ b/docs/fonts/OpenSans-Light-webfont.svg @@ -0,0 +1,1831 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/fonts/OpenSans-Light-webfont.woff b/docs/fonts/OpenSans-Light-webfont.woff new file mode 100644 index 0000000..e786074 Binary files /dev/null and b/docs/fonts/OpenSans-Light-webfont.woff differ diff --git a/docs/fonts/OpenSans-LightItalic-webfont.eot b/docs/fonts/OpenSans-LightItalic-webfont.eot new file mode 100644 index 0000000..8f44592 Binary files /dev/null and b/docs/fonts/OpenSans-LightItalic-webfont.eot differ diff --git a/docs/fonts/OpenSans-LightItalic-webfont.svg b/docs/fonts/OpenSans-LightItalic-webfont.svg new file mode 100644 index 0000000..431d7e3 --- /dev/null +++ b/docs/fonts/OpenSans-LightItalic-webfont.svg @@ -0,0 +1,1835 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/fonts/OpenSans-LightItalic-webfont.woff b/docs/fonts/OpenSans-LightItalic-webfont.woff new file mode 100644 index 0000000..43e8b9e Binary files /dev/null and b/docs/fonts/OpenSans-LightItalic-webfont.woff differ diff --git a/docs/fonts/OpenSans-Regular-webfont.eot b/docs/fonts/OpenSans-Regular-webfont.eot new file mode 100644 index 0000000..6bbc3cf Binary files /dev/null and b/docs/fonts/OpenSans-Regular-webfont.eot differ diff --git a/docs/fonts/OpenSans-Regular-webfont.svg b/docs/fonts/OpenSans-Regular-webfont.svg new file mode 100644 index 0000000..25a3952 --- /dev/null +++ b/docs/fonts/OpenSans-Regular-webfont.svg @@ -0,0 +1,1831 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/fonts/OpenSans-Regular-webfont.woff b/docs/fonts/OpenSans-Regular-webfont.woff new file mode 100644 index 0000000..e231183 Binary files /dev/null and b/docs/fonts/OpenSans-Regular-webfont.woff differ diff --git a/docs/fonts/OpenSans-Semibold-webfont.eot b/docs/fonts/OpenSans-Semibold-webfont.eot new file mode 100644 index 0000000..d8375dd Binary files /dev/null and b/docs/fonts/OpenSans-Semibold-webfont.eot differ diff --git a/docs/fonts/OpenSans-Semibold-webfont.svg b/docs/fonts/OpenSans-Semibold-webfont.svg new file mode 100644 index 0000000..eec4db8 --- /dev/null +++ b/docs/fonts/OpenSans-Semibold-webfont.svg @@ -0,0 +1,1830 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/fonts/OpenSans-Semibold-webfont.ttf b/docs/fonts/OpenSans-Semibold-webfont.ttf new file mode 100644 index 0000000..b329084 Binary files /dev/null and b/docs/fonts/OpenSans-Semibold-webfont.ttf differ diff --git a/docs/fonts/OpenSans-Semibold-webfont.woff b/docs/fonts/OpenSans-Semibold-webfont.woff new file mode 100644 index 0000000..28d6ade Binary files /dev/null and b/docs/fonts/OpenSans-Semibold-webfont.woff differ diff --git a/docs/fonts/OpenSans-SemiboldItalic-webfont.eot b/docs/fonts/OpenSans-SemiboldItalic-webfont.eot new file mode 100644 index 0000000..0ab1db2 Binary files /dev/null and b/docs/fonts/OpenSans-SemiboldItalic-webfont.eot differ diff --git a/docs/fonts/OpenSans-SemiboldItalic-webfont.svg b/docs/fonts/OpenSans-SemiboldItalic-webfont.svg new file mode 100644 index 0000000..7166ec1 --- /dev/null +++ b/docs/fonts/OpenSans-SemiboldItalic-webfont.svg @@ -0,0 +1,1830 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/fonts/OpenSans-SemiboldItalic-webfont.ttf b/docs/fonts/OpenSans-SemiboldItalic-webfont.ttf new file mode 100644 index 0000000..d2d6318 Binary files /dev/null and b/docs/fonts/OpenSans-SemiboldItalic-webfont.ttf differ diff --git a/docs/fonts/OpenSans-SemiboldItalic-webfont.woff b/docs/fonts/OpenSans-SemiboldItalic-webfont.woff new file mode 100644 index 0000000..d4dfca4 Binary files /dev/null and b/docs/fonts/OpenSans-SemiboldItalic-webfont.woff differ diff --git a/docs/frame.mjs.html b/docs/frame.mjs.html new file mode 100644 index 0000000..c7d5fa2 --- /dev/null +++ b/docs/frame.mjs.html @@ -0,0 +1,205 @@ + + + + + + frame.mjs - Documentation + + + + + + + + + + + + + + + + + +
+ +

frame.mjs

+ + + + + + + +
+
+
import { VYI } from './vyi.mjs';
+
+/**
+ * @public
+ */
+export class Frame {
+    /**
+     * The delay of this frame.
+     * @private
+     * @type {number}
+     */
+    delay = 100;
+    /**
+     * The data URL of the sprite in this frame.
+     * @private
+     * @type {string}
+     */
+    dataURL;
+    /**
+     * The index of this frame. This indicates the order of the frame. 0 - Infinity.
+     * @private
+     * @type {number}
+     */
+    index = 0;
+    /**
+     * The icon that owns this frame. 
+     * @private
+     * @type {Icon}
+     */
+    parent;
+    /**
+     * The vyi this frame belongs to.
+     * 
+     * @private
+     * @type {VYI}
+     */
+    vyi;
+    /**
+     * The default delay in ms of frames.
+     * @private
+     * @type {number}
+     */
+    static defaultDelay = 100;
+    /**
+     * Create this frame class instance.
+     * @param {Array} pFrameData - The frame data that is used to build this frame.
+     * @param {Icon} pParentIcon - The icon that created this frame.
+     * @private
+     */
+    constructor(pFrameData, pParentIcon) {
+        this.vyi = pParentIcon.vyi;
+        this.parent = pParentIcon;
+        this.parse(pFrameData);
+    }
+    /**
+     * parses through the icon data and adds data to this frame.
+     * @param {Array} pFrameData - The frame data that is used to build this frame.
+     * @private
+     */
+    parse(pFrameData) {
+        // Loop through frame data and build frame.
+        const dataURL = pFrameData[0];
+        const frameDelay = pFrameData[1] ? pFrameData[1] : this.parent.getDelay();
+        // Set the data url
+        this.setDataURL(dataURL);
+        // Set the frame delay
+        this.setDelay(frameDelay);
+    }
+    /**
+     * Sets the delay of this frame in ms.
+     * @param {number} pDelay - The delay in ms to set this frame to.
+     * @returns {self} This frame instance.
+     */
+    setDelay(pDelay) {
+        if (pDelay) {
+            if (typeof(pDelay) === 'number') {
+                this.delay = pDelay;
+            } else {
+                VYI.logger.prefix('VYI-module').error('Invalid delay type!');
+            }
+        }
+        return this;
+    }
+    /**
+     * Gets the delay of this frame.
+     * @returns {number} The delay of this frame.
+     */
+    getDelay() {
+        return this.delay;
+    }
+    /**
+     * Sets the data url of this frame.
+     * @param {DataURL} pDataURL - The base64 data of this image.
+     * @returns {self} This frame instance.
+     */
+    setDataURL(pDataURL) {
+        if (pDataURL) {
+            if (typeof(pDataURL) === 'string') {
+                this.dataURL = pDataURL;
+            } else {
+                VYI.logger.prefix('VYI-module').error('Invalid data url type!');
+            }
+        }
+        return this;
+    }
+    /**
+     * Gets the data URL of this frame.
+     * @returns {DataURL} - The base64 data of this image.
+     */
+    getDataURL() {
+        return this.dataURL;
+    }
+    /**
+     * Gets the vyi this frame belongs to.
+     * 
+     * @returns {VYI} The vyi this frame belongs to.
+     */
+    getVyi() {
+        return this.vyi;
+    }
+    /**
+     * Gets the icon this frame belongs to.
+     * 
+     * @returns {Icon} The icon this frame belongs to.
+     */
+    getParent() {
+        return this.parent;
+    }
+    /**
+     * Exports this frame's data into proper vyi format.
+     * @private
+     * @returns {Array} An array of data related to this frame in the proper vyi format.
+     */
+    export() {
+        const frameData = [];
+        // frame dataURL
+        frameData[0] = this.getDataURL();
+        // We do not have to store the delay if it is the default value of 100. This will save data.
+        const delayIsDefault = this.getDelay() === Frame.defaultDelay;
+        if (!delayIsDefault) {
+            // frame delay
+            frameData[1] = this.getDelay();
+        }
+        return frameData;
+    }
+}
+
+
+ + + + +
+ +
+ +
+ Generated by JSDoc 4.0.3 on Mon Sep 23 2024 13:14:46 GMT-0500 (Central Daylight Time) using the Minami theme. +
+ + + + + diff --git a/docs/file/src/icon.mjs.html b/docs/icon.mjs.html similarity index 59% rename from docs/file/src/icon.mjs.html rename to docs/icon.mjs.html index 3b6996a..03d02fd 100644 --- a/docs/file/src/icon.mjs.html +++ b/docs/icon.mjs.html @@ -1,54 +1,59 @@ - + - - - src/icon.mjs | vyi - - - - - - + + + icon.mjs - Documentation -
- - - Reference - Source - - -
+ + + + + + + + -