软件包  jdk.nashorn.api.tree

Interface AssignmentTree

  • All Superinterfaces:
    ExpressionTree

    @Deprecated(since="11",
                forRemoval=true)
    public interface AssignmentTree
    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.
    赋值表达式的树节点。 例如:
      variable = 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)表达