软件包  jdk.nashorn.api.tree

Interface LabeledStatementTree

  • All Superinterfaces:
    StatementTree

    @Deprecated(since="11",            forRemoval=true)public interface LabeledStatementTreeextends 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.
    标记语句的树节点。 例如:
      label : statement 
    从以下版本开始:
    9
    • 方法详细信息

      • getLabel

        String getLabel()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回与此语句关联的标签。
        结果
        标签
      • getStatement

        StatementTree getStatement()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回被标记的语句。
        结果
        标明的声明