use of cz.cuni.mff.d3s.trupple.language.runtime.customvalues.RecordValue in project TrufflePascal by Aspect26.
the class WithNode method executeVoid.
@Override
public void executeVoid(VirtualFrame frame) {
try {
for (FrameSlot recordSlot : this.recordSlots) {
RecordValue record = (RecordValue) frame.getObject(recordSlot);
frame = record.getFrame();
}
innerStatement.executeVoid(frame);
} catch (FrameSlotTypeException e) {
throw new PascalRuntimeException("Unexpected accessing of non record type");
}
}
Aggregations