mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-28 19:45:42 +00:00
Issue #40, AS1/2 No logging + For..in..return decompilation
This commit is contained in:
@@ -41,7 +41,7 @@ public class WhileItem extends LoopItem implements Block {
|
||||
public String toString(List localData) {
|
||||
String ret = "";
|
||||
ret += "loop" + loop.id + ":\r\n";
|
||||
ret += hilight("while(") + expression.toString(localData) + hilight(")") + "\r\n{\r\n";
|
||||
ret += hilight("while(") + (expression == null ? "null" : expression.toString(localData)) + hilight(")") + "\r\n{\r\n";
|
||||
for (GraphTargetItem ti : commands) {
|
||||
ret += ti.toStringSemicoloned(localData) + "\r\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user