软件包  jdk.nashorn.api.tree

Interface WhileLoopTree

  • All Superinterfaces:
    ConditionalLoopTreeLoopTreeStatementTree

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

      • getCondition

        ExpressionTree getCondition()
        Deprecated, for removal: This API element is subject to removal in a future version.
        这个'while'语句的条件表达式。
        Specified by:
        getCondition在界面 ConditionalLoopTree
        结果
        条件表达式
      • getStatement

        StatementTree getStatement()
        Deprecated, for removal: This API element is subject to removal in a future version.
        该声明中包含的声明。
        Specified by:
        getStatement接口 LoopTree
        结果
        the statement contained