aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/shedlang/compiler/shid/instructions/ShidLoopBreak.java
blob: 22fb00146285aff08ccb0bc73c8128466d162a5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package org.shedlang.compiler.shid.instructions;

import org.shedlang.compiler.sources.Source;

/**
 * Jump to the end of the enclosing <code>loop</code> instruction's body.
 */
public record ShidLoopBreak(Source source) implements ShidInstruction {
    @Override
    public boolean isBlockTerminator() {
        return true;
    }
}