mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 01:10:44 +00:00
28 lines
754 B
Java
28 lines
754 B
Java
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, java.util.HashMap<Integer,String> regNames) {
|
|
TreeItem a = stack.pop();
|
|
stack.push(new ToIntegerTreeItem(this, a));
|
|
}
|
|
}
|