/** * */ package org.reldb.rel.v0.vm.instructions.array; import org.reldb.rel.v0.values.*; import org.reldb.rel.v0.vm.Context; import org.reldb.rel.v0.vm.Instruction; public final class OpArrayAppend extends Instruction { public final void execute(Context context) { // Append value to an array // // POP - ValueTuple // POP - ValueArray - array ValueTuple value = (ValueTuple)context.pop(); ValueArray array = (ValueArray)context.pop(); array.append(value); } }