mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-28 11:25:33 +00:00
adapting AS3 decompilation to common method
This commit is contained in:
@@ -24,6 +24,13 @@ public class WhileItem extends LoopItem implements Block {
|
||||
public GraphTargetItem expression;
|
||||
public List<GraphTargetItem> commands;
|
||||
|
||||
@Override
|
||||
public List<List<GraphTargetItem>> getSubs() {
|
||||
List<List<GraphTargetItem>> ret = new ArrayList<List<GraphTargetItem>>();
|
||||
ret.add(commands);
|
||||
return ret;
|
||||
}
|
||||
|
||||
public WhileItem(GraphSourceItem src, Loop loop, GraphTargetItem expression, List<GraphTargetItem> commands) {
|
||||
super(src, loop);
|
||||
this.expression = expression;
|
||||
|
||||
Reference in New Issue
Block a user