软件包  jdk.nashorn.api.tree

Interface GotoTree

  • All Superinterfaces:
    StatementTree
    All Known Subinterfaces:
    BreakTreeContinueTree

    @Deprecated(since="11",            forRemoval=true)public interface GotoTreeextends StatementTree
    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.
    跳转到目标的语句的树节点。 请注意,ECMAScript不支持goto语句。 但是,此Tree类型用作BreakTreeContinueTree的超级接口。
    从以下版本开始:
    9
    • 方法详细信息

      • getLabel

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