软件包  jdk.nashorn.api.tree

Interface CompoundAssignmentTree

  • All Superinterfaces:
    ExpressionTree

    @Deprecated(since="11",
                forRemoval=true)
    public interface CompoundAssignmentTree
    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.
    复合赋值运算符的树节点。 使用getKind确定运算符的类型。 例如:
      variable operator expression 
    从以下版本开始:
    9
    • 方法详细信息

      • getVariable

        ExpressionTree getVariable()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回此赋值的左侧(LHS)。
        结果
        左手边(LHS)表达
      • getExpression

        ExpressionTree getExpression()
        Deprecated, for removal: This API element is subject to removal in a future version.
        返回此赋值的右侧(RHS)。
        结果
        右手边(RHS)表达