mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-18 12:18:10 +00:00
escape xattr expression to value
This commit is contained in:
@@ -29,15 +29,13 @@ import java.util.List;
|
||||
*/
|
||||
public class EscapeXAttrAVM2Item extends AVM2Item {
|
||||
|
||||
public GraphTargetItem expression;
|
||||
|
||||
public EscapeXAttrAVM2Item(AVM2Instruction instruction, GraphTargetItem expression) {
|
||||
super(instruction, NOPRECEDENCE);
|
||||
this.expression = expression;
|
||||
this.value = expression;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString(ConstantPool constants, HashMap<Integer, String> localRegNames, List<String> fullyQualifiedNames) {
|
||||
return hilight("{") + expression.toString(Helper.toList(constants, localRegNames, fullyQualifiedNames)) + hilight("}");
|
||||
return hilight("{") + value.toString(Helper.toList(constants, localRegNames, fullyQualifiedNames)) + hilight("}");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user