软件包  jdk.nashorn.api.tree

Interface ObjectLiteralTree

  • All Superinterfaces:
    ExpressionTree

    @Deprecated(since="11",            forRemoval=true)public interface ObjectLiteralTreeextends ExpressionTree
    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对象文字表达式。
    从以下版本开始:
    9
    • 方法详细信息

      • getProperties

        List<? extends PropertyTree> getProperties()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回此对象文字的属性列表。
        结果
        the list of properties of this object literal