Class BranchManager.BreakBlock
- java.lang.Object
-
- de.inetsoftware.jwebassembly.module.BranchManager.BreakBlock
-
- Enclosing class:
- BranchManager
private static class BranchManager.BreakBlock extends java.lang.Object
Described a break to a block that will be added later.
-
-
Field Summary
Fields Modifier and Type Field Description private BranchManager.BranchNode
branch
private int
breakPos
private boolean
breakToElseBlock
private int
endPosition
-
Constructor Summary
Constructors Constructor Description BreakBlock(BranchManager.BranchNode branch, int breakPos, int endPosition)
Create Break
-
-
-
Field Detail
-
breakPos
private final int breakPos
-
endPosition
private int endPosition
-
branch
private BranchManager.BranchNode branch
-
breakToElseBlock
private boolean breakToElseBlock
-
-
Constructor Detail
-
BreakBlock
public BreakBlock(@Nonnull BranchManager.BranchNode branch, int breakPos, int endPosition)
Create Break- Parameters:
branch
- the parent block which should contain the breakbreakPos
- the position where the break should be inserted.endPosition
- the Jump position
-
-