Interface BreakableNode
- All Superinterfaces:
LexicalContextNode
- All Known Implementing Classes:
Block,ForNode,LoopNode,SwitchNode,WhileNode
This class represents a node from which control flow can execute a
break statement.-
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck whether this can be broken out from without using a label, e.g.Methods inherited from interface com.oracle.js.parser.ir.LexicalContextNode
accept, accept, accept, accept
-
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
-