Initial version based on previous work. (Version alpha 7)

This commit is contained in:
Jindra Pet��k
2010-09-04 13:57:22 +02:00
commit a34ee7364c
1147 changed files with 84884 additions and 0 deletions
@@ -0,0 +1,27 @@
package com.jpexs.asdec.action.swf4;
import com.jpexs.asdec.action.Action;
import com.jpexs.asdec.action.treemodel.ConstantPool;
import com.jpexs.asdec.action.treemodel.ToIntegerTreeItem;
import com.jpexs.asdec.action.treemodel.TreeItem;
import java.util.List;
import java.util.Stack;
public class ActionToInteger extends Action {
public ActionToInteger() {
super(0x18, 0);
}
@Override
public String toString() {
return "ToInteger";
}
@Override
public void translate(Stack<TreeItem> stack, ConstantPool constants, List<TreeItem> output) {
TreeItem a = stack.pop();
stack.push(new ToIntegerTreeItem(this, a));
}
}