pub fn parseBitwiseOp(p: *Parser) Error!bool p: *ParserMaxDepth2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299 pub fn parseBitwiseOp(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defBitwiseOp);
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.parsepre_op_white() and try p.parseBitwiseOpTok() and try p.parsepost_op_white()) break :blk_0 true;
p.i = pos_0;
if (blk_1: {
const pos_1 = p.i;
const match_1 = try p.parsepre_op_white();
p.i = pos_1;
break :blk_1 !match_1;
} and try p.parseBitwiseOpTok() and blk_1: {
const pos_1 = p.i;
const match_1 = try p.parsepost_op_white();
p.i = pos_1;
break :blk_1 !match_1;
}) break :blk_0 true;
p.i = pos_0;
if (try p.parsepre_op_white() and try p.parseKEYWORD_catch() and try p.parsepost_op_white() and (try p.parsePayload() or true)) break :blk_0 true;
p.i = pos_0;
if (blk_1: {
const pos_1 = p.i;
const match_1 = try p.parsepre_op_white();
p.i = pos_1;
break :blk_1 !match_1;
} and try p.parseKEYWORD_catch() and blk_1: {
const pos_1 = p.i;
const match_1 = try p.parsepost_op_white();
p.i = pos_1;
break :blk_1 !match_1;
} and (try p.parsePayload() or true)) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}