pub fn parseSwitchExpr(p: *Parser) Error!bool p: *ParserMaxDepth1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704 pub fn parseSwitchExpr(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defSwitchExpr);
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_switch() and try p.parseLPAREN() and try p.parseExpr() and try p.parseRPAREN() and try p.parseLBRACE() and try p.parseSwitchProngList() and try p.parseRBRACE()) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}