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

import org.shedlang.compiler.sources.Source;

/**
 * Pop a value from the temporary value stack and return with that value from
 * the current effect handler method back to the effect call.
 */
public record ShidResume(Source source) implements ShidInstruction {
    @Override
    public boolean isBlockTerminator() {
        return true;
    }
}