mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-28 04:45:50 +00:00
40 lines
1.1 KiB
Java
40 lines
1.1 KiB
Java
package com.jpexs.decompiler.graph.model;
|
|
|
|
import com.jpexs.decompiler.flash.action.model.ConstantPool;
|
|
import com.jpexs.decompiler.flash.helpers.HilightedTextWriter;
|
|
import com.jpexs.decompiler.graph.GraphSourceItem;
|
|
import com.jpexs.decompiler.graph.GraphTargetItem;
|
|
import com.jpexs.decompiler.graph.SourceGenerator;
|
|
import java.util.HashMap;
|
|
import java.util.List;
|
|
|
|
/**
|
|
*
|
|
* @author JPEXS
|
|
*/
|
|
public class ContinueItem extends GraphTargetItem {
|
|
|
|
public long loopId;
|
|
|
|
public ContinueItem(GraphSourceItem src, long loopId) {
|
|
super(src, NOPRECEDENCE);
|
|
this.loopId = loopId;
|
|
}
|
|
|
|
@Override
|
|
public HilightedTextWriter toString(HilightedTextWriter writer, LocalData localData) {
|
|
hilight("continue ", writer);
|
|
return hilight("loop" + loopId, writer);
|
|
}
|
|
|
|
@Override
|
|
public List<GraphSourceItem> toSource(List<Object> localData, SourceGenerator generator) {
|
|
return generator.generate(localData, this);
|
|
}
|
|
|
|
@Override
|
|
public boolean hasReturnValue() {
|
|
return false;
|
|
}
|
|
}
|