mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-24 20:40:47 +00:00
AS2: static methods & variables
This commit is contained in:
@@ -68,9 +68,15 @@ public class ClassTreeItem extends TreeItem implements Block {
|
||||
for (FunctionTreeItem f : functions) {
|
||||
ret += f.toString(constants) + "\r\n";
|
||||
}
|
||||
for (FunctionTreeItem f : staticFunctions) {
|
||||
ret += "static "+f.toString(constants) + "\r\n";
|
||||
}
|
||||
for (TreeItem v : vars.keySet()) {
|
||||
ret += "var " + v.toStringNoQuotes(constants) + " = " + vars.get(v).toStringNoQuotes(constants) + ";\r\n";
|
||||
}
|
||||
for (TreeItem v : staticVars.keySet()) {
|
||||
ret += "static var " + v.toStringNoQuotes(constants) + " = " + staticVars.get(v).toStringNoQuotes(constants) + ";\r\n";
|
||||
}
|
||||
ret += "}\r\n";
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user