blob: a396492acf44eb3f45d44c691eb43bee807308f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package org.shedlang.compiler.shid.instructions;
import org.shedlang.compiler.sources.Source;
/**
* Pop {@code elementCount} values from the temporary value stack, create a
* tuple from those elements, and push the tuple onto the temporary value stack.
* Elements should have been pushed onto the stack in index order.
*/
public record ShidTupleCreate(
int elementCount,
Source source
) implements ShidInstruction {
@Override
public boolean isBlockTerminator() {
return false;
}
}
|