- All Superinterfaces:
StatementTree
,Tree
- All Known Subinterfaces:
BreakTree
,ContinueTree
A tree node for a statement that jumps to a target. Note that
ECMAScript does not support a goto statement. But, this Tree
type serves as a super interface for
BreakTree
and
ContinueTree
.- Since:
- 9
-
Nested Class Summary
-
Method Summary
Methods inherited from interface org.openjdk.nashorn.api.tree.Tree
accept, getEndPosition, getKind, getStartPosition
-
Method Details
-
getLabel
String getLabel()Label associated with this goto statement. This is null if there is no label associated with this goto statement.- Returns:
- label associated with this goto statement.
-