lib/rules/lines-around-comment.js
function isCommentAtBlockEnd(token) {
            return isCommentAtParentEnd(token, "ClassBody") || isCommentAtParentEnd(token, "BlockStatement") || isCommentAtParentEnd(token, "SwitchCase") || isCommentAtParentEnd(token, "SwitchStatement");
        }
function isCommentAtBlockEnd(token) {
            return isCommentAtParentEnd(token, "ClassBody") || isCommentAtParentEnd(token, "BlockStatement") || isCommentAtParentEnd(token, "SwitchCase") || isCommentAtParentEnd(token, "SwitchStatement");
        }
function isCommentAtBlockEnd ( token ) { return isCommentAtParentEnd ( token , "ClassBody" ) || isCommentAtParentEnd ( token , "BlockStatement" ) || isCommentAtParentEnd ( token , "SwitchCase" ) || isCommentAtParentEnd ( token , "SwitchStatement" ) ; }
Returns whether or not comments are at the block end or not.
@param {token} token The Comment token.
@returns {boolean} True if the comment is at block end.
Returns whether or not comments are at the block end or not .