aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/shedlang/compiler/shid/instructions/ShidVarLoad.java
blob: b59d181bbc12f92e6782e7d1211a5cc7a6201665 (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;

/**
 * Load the value stored in the var with the given name and push it onto the
 * temporary value stack.
 */
public record ShidVarLoad(String name, Source source) implements ShidInstruction {
    @Override
    public boolean isBlockTerminator() {
        return false;
    }
}