软件包  jdk.nashorn.api.tree

Interface DoWhileLoopTree

  • All Superinterfaces:
    ConditionalLoopTreeLoopTreeStatementTree

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

      • getCondition

        ExpressionTree getCondition()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回此do-while语句的条件表达式。
        Specified by:
        getCondition in interface ConditionalLoopTree
        结果
        条件表达式
      • getStatement

        StatementTree getStatement()
        Deprecated, for removal: This API element is subject to removal in a future version.
        该do-while声明中包含的声明。
        Specified by:
        getStatement在界面 LoopTree
        结果
        the statement