mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-04 16:04:27 +00:00
Initial version based on previous work. (Version alpha 7)
This commit is contained in:
28
trunk/src/com/jpexs/asdec/action/swf4/ActionStringAdd.java
Normal file
28
trunk/src/com/jpexs/asdec/action/swf4/ActionStringAdd.java
Normal file
@@ -0,0 +1,28 @@
|
||||
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.TreeItem;
|
||||
import com.jpexs.asdec.action.treemodel.operations.StringAddTreeItem;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Stack;
|
||||
|
||||
public class ActionStringAdd extends Action {
|
||||
|
||||
public ActionStringAdd() {
|
||||
super(0x21, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "StringAdd";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void translate(Stack<TreeItem> stack, ConstantPool constants, List<TreeItem> output) {
|
||||
TreeItem a = stack.pop();
|
||||
TreeItem b = stack.pop();
|
||||
stack.push(new StringAddTreeItem(this, b, a));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user