All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mozilla.javascript.ast.Assignment Maven / Gradle / Ivy

Go to download

Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically embedded into Java applications to provide scripting to end users.

The newest version!
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package org.mozilla.javascript.ast;

/**
 * AST node representing the set of assignment operators such as {@code =}, {@code *=} and {@code
 * +=}.
 */
public class Assignment extends InfixExpression {

    public Assignment() {}

    public Assignment(int pos) {
        super(pos);
    }

    public Assignment(int pos, int len) {
        super(pos, len);
    }

    public Assignment(int pos, int len, AstNode left, AstNode right) {
        super(pos, len, left, right);
    }

    public Assignment(AstNode left, AstNode right) {
        super(left, right);
    }

    public Assignment(int operator, AstNode left, AstNode right, int operatorPos) {
        super(operator, left, right, operatorPos);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy