Fixed: #2477 AS1/2 Switch in last statement of switch break labels

This commit is contained in:
Jindra Petřík
2025-07-11 21:08:49 +02:00
parent 2adef5f600
commit 0fc10bde99
25 changed files with 419 additions and 19 deletions
@@ -16,6 +16,7 @@
*/
package com.jpexs.decompiler.graph;
import com.jpexs.decompiler.graph.model.BreakItem;
import com.jpexs.decompiler.graph.model.ContinueItem;
import java.util.List;
@@ -33,6 +34,13 @@ public interface Block {
* @return List of continues
*/
public List<ContinueItem> getContinues();
/**
* Gets all sub breaks.
*
* @return List of breaks
*/
public List<BreakItem> getBreaks();
/**
* Gets all sub blocks.