lib/rules/no-extra-label.js
function enterLabeledStatement(node) {
            if (!astUtils.isBreakableStatement(node.body)) {
                scopeInfo = {
                    label: node.label,
                    breakable: false,
                    upper: scopeInfo
                };
            }
        }
function enterLabeledStatement(node) {
            if (!astUtils.isBreakableStatement(node.body)) {
                scopeInfo = {
                    label: node.label,
                    breakable: false,
                    upper: scopeInfo
                };
            }
        }
function enterLabeledStatement ( node ) { if ( ! astUtils . isBreakableStatement ( node . body ) ) { scopeInfo = { label : node . label , breakable : false , upper : scopeInfo } ; } }
Creates a new scope with a labeled statement.

This ignores it if the body is a breakable statement.
In this case it's handled in the `enterBreakableStatement` function.

@param {ASTNode} node - A node to create. This is a LabeledStatement.
@returns {void}
Creates a new scope with a labeled statement .