mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 04:00:53 +00:00
@@ -27,21 +27,21 @@ import java.util.Stack;
|
||||
|
||||
public class ActionGetVariable extends Action {
|
||||
|
||||
public ActionGetVariable() {
|
||||
super(0x1C, 0);
|
||||
}
|
||||
public ActionGetVariable() {
|
||||
super(0x1C, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "GetVariable";
|
||||
}
|
||||
@Override
|
||||
public String toString() {
|
||||
return "GetVariable";
|
||||
}
|
||||
|
||||
@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 name = stack.pop();
|
||||
GraphTargetItem computedVal = variables.get(Highlighting.stripHilights(name.toStringNoQuotes((ConstantPool)null)));
|
||||
GetVariableTreeItem gvt = new GetVariableTreeItem(this, name);
|
||||
gvt.setComputedValue(computedVal);
|
||||
stack.push(gvt);
|
||||
}
|
||||
@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 name = stack.pop();
|
||||
GraphTargetItem computedVal = variables.get(Highlighting.stripHilights(name.toStringNoQuotes((ConstantPool) null)));
|
||||
GetVariableTreeItem gvt = new GetVariableTreeItem(this, name);
|
||||
gvt.setComputedValue(computedVal);
|
||||
stack.push(gvt);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user