iterationStatement method

Parser iterationStatement()

Implementation

Parser iterationStatement() =>
    ref0(whileToken) &
        ref1(token, '(') &
        ref0(expression) &
        ref1(token, ')') &
        ref0(statement) |
    ref0(doToken) &
        ref0(statement) &
        ref0(whileToken) &
        ref1(token, '(') &
        ref0(expression) &
        ref1(token, ')') &
        ref1(token, ';') |
    ref0(forToken) &
        ref1(token, '(') &
        ref0(forLoopParts) &
        ref1(token, ')') &
        ref0(statement);