pub fn parseErrorSetDecl(p: *Parser) Error!bool p: *ParserMaxDepth1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573 pub fn parseErrorSetDecl(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defErrorSetDecl);
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_error() and try p.parseLBRACE() and try p.parseIdentifierList() and try p.parseRBRACE()) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}