Class 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 Detail

      • breakPos

        private final int breakPos
      • endPosition

        private int endPosition
      • 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 break
        breakPos - the position where the break should be inserted.
        endPosition - the Jump position