try..catch..finally of SWFTools AS3Compile

This commit is contained in:
Jindra Petřík
2021-02-08 20:15:19 +01:00
parent 0a7f39b82c
commit 1a393854c0
14 changed files with 223 additions and 33 deletions
@@ -0,0 +1,28 @@
package com.jpexs.decompiler.graph.model;
import com.jpexs.decompiler.flash.helpers.GraphTextWriter;
import com.jpexs.decompiler.graph.GraphTargetItem;
import com.jpexs.decompiler.graph.TypeItem;
/**
*
* @author JPEXS
*/
public class AnyItem extends GraphTargetItem {
@Override
public GraphTextWriter appendTo(GraphTextWriter writer, LocalData localData) throws InterruptedException {
return writer.append("§§any()");
}
@Override
public boolean hasReturnValue() {
return true;
}
@Override
public GraphTargetItem returnType() {
return TypeItem.UNBOUNDED;
}
}