pub fn parseCOLON(p: *Parser) Error!bool p: *ParserMaxDepth4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447 pub fn parseCOLON(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defCOLON);
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..], ":")) {
p.i += 1;
break :blk_1 true;
}
break :blk_1 false;
}) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}