Class JumpStatement
java.lang.Object
com.oracle.js.parser.ir.Node
com.oracle.js.parser.ir.Statement
com.oracle.js.parser.ir.JumpStatement
- Direct Known Subclasses:
BreakNode,ContinueNode
Common base class for jump statements (e.g.
break and continue).-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the label name for this break nodebooleanhasGoto()voidtoString(StringBuilder sb, boolean printType) Print logic that decides whether to show the optimistic type or not - for example it should not be printed after just parse, when it hasn't been computed, or has been set to a trivially provable valueMethods inherited from class com.oracle.js.parser.ir.Statement
getLineNumber, hasTerminalFlags, isCompletionValueNeverEmpty, isTerminal
-
Method Details
-
hasGoto
-
getLabelName
Get the label name for this break node- Returns:
- label name, or null if none
-
toString
Description copied from class:NodePrint logic that decides whether to show the optimistic type or not - for example it should not be printed after just parse, when it hasn't been computed, or has been set to a trivially provable value
-