pub fn parseKEYWORD_orelse(p: *Parser) Error!bool p: *ParserMaxDepth6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161 pub fn parseKEYWORD_orelse(p: *Parser) Error!bool {
const def_index = @backingInt(Def.defKEYWORD_orelse);
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.parseskip() and blk_1: {
if (std.mem.startsWith(u8, p.source[p.i..], "orelse")) {
p.i += 6;
break :blk_1 true;
}
break :blk_1 false;
} and try p.parseend_of_word()) break :blk_0 true;
p.i = pos_0;
break :blk_0 false;
};
}