软件包  jdk.nashorn.api.tree

Interface WithTree

  • All Superinterfaces:
    StatementTree

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

      • getScope

        ExpressionTree getScope()
        Deprecated, for removal: This API element is subject to removal in a future version.
        此'with'语句的范围对象表达式。
        结果
        范围对象
      • getStatement

        StatementTree getStatement()
        Deprecated, for removal: This API element is subject to removal in a future version.
        该声明中包含的声明。
        结果
        声明中包含