mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 00:40:47 +00:00
@@ -27,20 +27,20 @@ import java.util.Stack;
|
||||
|
||||
public class ActionDefineLocal extends Action {
|
||||
|
||||
public ActionDefineLocal() {
|
||||
super(0x3C, 0);
|
||||
}
|
||||
public ActionDefineLocal() {
|
||||
super(0x3C, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "DefineLocal";
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return "DefineLocal";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void translate(Stack<GraphTargetItem> stack, List<GraphTargetItem> output, java.util.HashMap<Integer, String> regNames, HashMap<String, GraphTargetItem> variables, HashMap<String, GraphTargetItem> functions) {
|
||||
GraphTargetItem value = stack.pop();
|
||||
GraphTargetItem name = stack.pop();
|
||||
variables.put(Highlighting.stripHilights(name.toStringNoQuotes((ConstantPool)null)), value);
|
||||
output.add(new DefineLocalTreeItem(this, name, value));
|
||||
}
|
||||
@Override
|
||||
public void translate(Stack<GraphTargetItem> stack, List<GraphTargetItem> output, java.util.HashMap<Integer, String> regNames, HashMap<String, GraphTargetItem> variables, HashMap<String, GraphTargetItem> functions) {
|
||||
GraphTargetItem value = stack.pop();
|
||||
GraphTargetItem name = stack.pop();
|
||||
variables.put(Highlighting.stripHilights(name.toStringNoQuotes((ConstantPool) null)), value);
|
||||
output.add(new DefineLocalTreeItem(this, name, value));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user