pub fn parsesof(p: *Parser) Error!bool p: *ParserMaxDepth3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097 pub fn parsesof(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defsof);
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 ((p.i == 0) and (try p.parsebyte_order_mark() or true)) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}