aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/shedlang/compiler/shid/instructions/ShidMethodLoad.java
blob: 15a3ce43265ccee22dc5fa04336a082249d64ae7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.shedlang.compiler.shid.instructions;

import org.shedlang.compiler.sources.Source;
import org.shedlang.compiler.types.SimpleConcreteType;

/**
 * Load the method with the given name for the given type and push it onto the
 * temporary value stack.
 */
public record ShidMethodLoad(
    SimpleConcreteType type,
    String methodName,
    Source source
) implements ShidInstruction {
    @Override
    public boolean isBlockTerminator() {
        return false;
    }
}