mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 14:50:47 +00:00
highlight parameter added
This commit is contained in:
@@ -67,11 +67,11 @@ public class DefineLocalActionItem extends ActionItem implements SetTypeActionIt
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString(ConstantPool constants) {
|
||||
public String toString(boolean highlight, ConstantPool constants) {
|
||||
if (value == null) {
|
||||
return hilight("var ") + stripQuotes(name, constants);
|
||||
return hilight("var ", highlight) + stripQuotes(name, constants, highlight);
|
||||
}
|
||||
return hilight("var ") + stripQuotes(name, constants) + hilight(" = ") + value.toString(constants);
|
||||
return hilight("var ", highlight) + stripQuotes(name, constants, highlight) + hilight(" = ", highlight) + value.toString(highlight, constants);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user