软件包  jdk.nashorn.api.tree

Interface BreakTree

  • All Superinterfaces:
    GotoTreeStatementTree

    @Deprecated(since="11",            forRemoval=true)public interface BreakTreeextends GotoTree
    Deprecated, for removal: This API element is subject to removal in a future version.
    Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
    “break”语句的树节点。 例如:
      break;   break label ; 
    从以下版本开始:
    9
    • 方法详细信息

      • getLabel

        String getLabel()
        Deprecated, for removal: This API element is subject to removal in a future version.
        与此break语句关联的标签。 如果没有与此break语句关联的标签,则为null。
        Specified by:
        getLabel in interface GotoTree
        结果
        与此break语句关联的标签。