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

import org.shedlang.compiler.sources.Source;

/**
 * Pop the right operand from the temporary value stack, then the left operand
 * from the temporary value stack, assume both operands are Strings, concatenate
 * the left and right operands, then push the result onto the temporary value
 * stack.
 */
public record ShidStringAdd(Source source) implements ShidInstruction {
    @Override
    public boolean isBlockTerminator() {
        return false;
    }
}