Interface BreakableNode

All Superinterfaces:
LexicalContextNode
All Known Implementing Classes:
Block, ForNode, LoopNode, SwitchNode, WhileNode

public interface BreakableNode extends LexicalContextNode
This class represents a node from which control flow can execute a break statement.
  • Method Details

    • isBreakableWithoutLabel

      boolean isBreakableWithoutLabel()
      Check whether this can be broken out from without using a label, e.g. everything but Blocks, basically.
      Returns:
      true if breakable without label