src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/ContinueTree.java

Print this page




  27 
  28 /**
  29  * A tree node for a 'continue' statement.
  30  *
  31  * For example:
  32  * <pre>
  33  *   continue;
  34  *   continue <em>label</em> ;
  35  * </pre>
  36  *
  37  * @since 1.9
  38  */
  39 @jdk.Exported
  40 public interface ContinueTree extends GotoTree {
  41     /**
  42      * Label associated with this continue statement. This is null
  43      * if there is no label associated with this continue statement.
  44      *
  45      * @return label associated with this continue statement.
  46      */

  47     String getLabel();
  48 }


  27 
  28 /**
  29  * A tree node for a 'continue' statement.
  30  *
  31  * For example:
  32  * <pre>
  33  *   continue;
  34  *   continue <em>label</em> ;
  35  * </pre>
  36  *
  37  * @since 1.9
  38  */
  39 @jdk.Exported
  40 public interface ContinueTree extends GotoTree {
  41     /**
  42      * Label associated with this continue statement. This is null
  43      * if there is no label associated with this continue statement.
  44      *
  45      * @return label associated with this continue statement.
  46      */
  47     @Override
  48     String getLabel();
  49 }