软件包  jdk.nashorn.api.tree

Interface ArrayAccessTree

  • All Superinterfaces:
    ExpressionTree

    @Deprecated(since="11",
                forRemoval=true)
    public interface ArrayAccessTree
    extends 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.
    数组访问表达式的树节点。 例如:
      expression [ index ] 
    从以下版本开始:
    9
    • 方法详细信息

      • getExpression

        ExpressionTree getExpression()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回访问的数组。
        结果
        访问的数组
      • getIndex

        ExpressionTree getIndex()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回访问的数组元素的索引。
        结果
        索引表达式