function getContinueContext(state, label) {
    if (!label) {
        return state.loopContext;
    }

    let context = state.loopContext;

    while (context) {
        if (context.label === label) {
            return context;
        }
        context = context.upper;
    }

    /* istanbul ignore next: foolproof (syntax error) */
    return null;
}
function getContinueContext(state, label) {
    if (!label) {
        return state.loopContext;
    }

    let context = state.loopContext;

    while (context) {
        if (context.label === label) {
            return context;
        }
        context = context.upper;
    }

    /* istanbul ignore next: foolproof (syntax error) */
    return null;
}
function getContinueContext ( state , label ) { if ( ! label ) { return state . loopContext ; } let context = state . loopContext ; while ( context ) { if ( context . label === label ) { return context ; } context = context . upper ; } /* istanbul ignore next: foolproof (syntax error) */ return null ; }
Gets a loop-context for a `continue` statement.

@param {CodePathState} state - A state to get.
@param {string} label - The label of a `continue` statement.
@returns {LoopContext} A loop-context for a `continue` statement.
Gets a loop - context for a continue statement .
Returns the context for a continue statement