pub fn parseWhilePrefix(p: *Parser) Error!bool p: *ParserMaxDepth1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929 pub fn parseWhilePrefix(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defWhilePrefix);
if (p.depths[def_index] > max_depth) return error.MaxDepth;
p.depths[def_index] += 1;
defer p.depths[def_index] -= 1;
return blk_0: {
const pos_0 = p.i;
if (try p.parseKEYWORD_while() and try p.parseLPAREN() and try p.parseExpr() and try p.parseRPAREN() and (try p.parsePtrPayload() or true) and (try p.parseWhileContinueExpr() or true)) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}