pub fn parseKEYWORD_for(p: *Parser) Error!bool p: *ParserMaxDepth6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017 pub fn parseKEYWORD_for(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defKEYWORD_for);
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.parseskip() and blk_1: {
if (std.mem.startsWith(u8, p.source[p.i..], "for")) {
p.i += 3;
break :blk_1 true;
}
break :blk_1 false;
} and try p.parseend_of_word()) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}