pub fn parseSuffixOp(p: *Parser) Error!bool p: *ParserMaxDepth2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720 pub fn parseSuffixOp(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defSuffixOp);
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.parseLBRACKET() and try p.parseExpr() and (blk_3: {
const pos_3 = p.i;
if (try p.parseDOT2() and blk_5: {
const pos_5 = p.i;
if (try p.parseExpr()) break :blk_5 true;
p.i = pos_5;
if (blk_6: {
const pos_6 = p.i;
const match_6 = try p.parseExprPrefix();
p.i = pos_6;
break :blk_6 !match_6;
}) break :blk_5 true;
p.i = pos_5;
break :blk_5 false;
} and (blk_6: {
const pos_6 = p.i;
if (try p.parseCOLON() and try p.parseExpr()) break :blk_6 true;
p.i = pos_6;
break :blk_6 false;
} or true)) break :blk_3 true;
p.i = pos_3;
break :blk_3 false;
} or true) and try p.parseRBRACKET()) break :blk_0 true;
p.i = pos_0;
if (try p.parseDOT() and try p.parseIDENTIFIER()) break :blk_0 true;
p.i = pos_0;
if (try p.parseDOTASTERISK()) break :blk_0 true;
p.i = pos_0;
if (try p.parseDOT() and try p.parseQUESTIONMARK()) break :blk_0 true;
p.i = pos_0;
if (try p.parseFnCallArguments()) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}