adapting AS3 decompilation to common method

This commit is contained in:
Jindra Petk
2013-02-26 22:44:46 +01:00
parent 7d10e8d13e
commit aa912facad
185 changed files with 1181 additions and 755 deletions

View File

@@ -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;