Interface GotoTree

All Superinterfaces:
StatementTree, Tree
All Known Subinterfaces:
BreakTree, ContinueTree

public interface GotoTree extends StatementTree
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
  • 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.