lib/rules/switch-colon-spacing.js
function getColonToken(node) {
            if (node.test) {
                return sourceCode.getTokenAfter(node.test, astUtils.isColonToken);
            }
            return sourceCode.getFirstToken(node, 1);
        }
function getColonToken(node) {
            if (node.test) {
                return sourceCode.getTokenAfter(node.test, astUtils.isColonToken);
            }
            return sourceCode.getFirstToken(node, 1);
        }
function getColonToken ( node ) { if ( node . test ) { return sourceCode . getTokenAfter ( node . test , astUtils . isColonToken ) ; } return sourceCode . getFirstToken ( node , 1 ) ; }
true by default 
Get the colon token of the given SwitchCase node.
@param {ASTNode} node The SwitchCase node to get.
@returns {Token} The colon token of the node.
true by default Get the colon token of the given SwitchCase node .