public/swaggerui/swagger-ui.js
function parseDoWhileStatement(node) {
        var body, test, oldInIteration;

        expectKeyword('do');

        oldInIteration = state.inIteration;
        state.inIteration = true;

        body = parseStatement();

        state.inIteration = oldInIteration;

        expectKeyword('while');

        expect('(');

        test = parseExpression();

        expect(')');

        if (match(';')) {
            lex();
        }

        return node.finishDoWhileStatement(body, test);
    }
function parseDoWhileStatement(node) {
        var body, test, oldInIteration;

        expectKeyword('do');

        oldInIteration = state.inIteration;
        state.inIteration = true;

        body = parseStatement();

        state.inIteration = oldInIteration;

        expectKeyword('while');

        expect('(');

        test = parseExpression();

        expect(')');

        if (match(';')) {
            lex();
        }

        return node.finishDoWhileStatement(body, test);
    }
function parseDoWhileStatement ( node ) { var body , test , oldInIteration ; expectKeyword ( 'do' ) ; oldInIteration = state . inIteration ; state . inIteration = true ; body = parseStatement ( ) ; state . inIteration = oldInIteration ; expectKeyword ( 'while' ) ; expect ( '(' ) ; test = parseExpression ( ) ; expect ( ')' ) ; if ( match ( ';' ) ) { lex ( ) ; } return node . finishDoWhileStatement ( body , test ) ; }
ECMA-262 13.7 Iteration Statements
ECMA - 262 13 . 7 Iteration Statements