Skip to content

Commit

Permalink
style: move override tags to the end of JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
BeksOmega committed Feb 28, 2022
1 parent 9cda247 commit 0d3e0af
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions core/block_svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -1636,70 +1636,70 @@ class BlockSvg extends Block {
}

/**
* @override
* @return {?BlockSvg} The block (if any) that surrounds the current block.
* @override
*/
getSurroundParent() {
return /** @type {?BlockSvg} */ (super.getSurroundParent());
}

/**
* @override
* @return {?BlockSvg} The next statement block or null.
* @override
*/
getNextBlock() {
return /** @type {?BlockSvg} */ (super.getNextBlock());
}

/**
* @override
* @return {?BlockSvg} The previou statement block or null.
* @override
*/
getPreviousBlock() {
return /** @type {?BlockSvg} */ (super.getPreviousBlock());
}

/**
* @override
* @return {?RenderedConnection} The first statement connection or null.
* @package
* @override
*/
getFirstStatementConnection() {
return /** @type {?RenderedConnection} */ (
super.getFirstStatementConnection());
}

/**
* @override
* @return {!BlockSvg} The top block in a stack.
* @override
*/
getTopStackBlock() {
return /** @type {!BlockSvg} */ (super.getTopStackBlock());
}

/**
* @override
* @param {boolean} ordered Sort the list if true.
* @return {!Array<!BlockSvg>} Children of this block.
* @override
*/
getChildren(ordered) {
return /** @type {!Array<!BlockSvg>} */ (super.getChildren(ordered));
}

/**
* @override
* @param {boolean} ordered Sort the list if true.
* @return {!Array<!BlockSvg>} Descendants of this block.
* @override
*/
getDescendants(ordered) {
return /** @type {!Array<!BlockSvg>} */ (super.getDescendants(ordered));
}

/**
* @override
* @param {string} name The name of the input.
* @return {?BlockSvg} The attached value block, or null if the input is
* either disconnected or if the input does not exist.
* @override
*/
getInputTargetBlock(name) {
return /** @type {?BlockSvg} */ (super.getInputTargetBlock(name));
Expand Down

0 comments on commit 0d3e0af

Please sign in to comment.