mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 07:41:07 +00:00
Initial version based on previous work. (Version alpha 7)
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user