mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-03 09:35:12 +00:00
#1145 AS3 better declaration type detection,
better convert_x instruction handling
This commit is contained in:
@@ -50,6 +50,9 @@ public class DoWhileItem extends LoopItem implements Block {
|
||||
@Override
|
||||
public List<List<GraphTargetItem>> getSubs() {
|
||||
List<List<GraphTargetItem>> ret = new ArrayList<>();
|
||||
if (expression != null) {
|
||||
ret.add(expression);
|
||||
}
|
||||
if (commands != null) {
|
||||
ret.add(commands);
|
||||
}
|
||||
|
||||
@@ -45,6 +45,9 @@ public class WhileItem extends LoopItem implements Block {
|
||||
@Override
|
||||
public List<List<GraphTargetItem>> getSubs() {
|
||||
List<List<GraphTargetItem>> ret = new ArrayList<>();
|
||||
if (expression != null) {
|
||||
ret.add(expression);
|
||||
}
|
||||
if (commands != null) {
|
||||
ret.add(commands);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user