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

sqlancer.common.ast.newast.NewUnaryPrefixOperatorNode Maven / Gradle / Ivy

Go to download

SQLancer finds logic bugs in Database Management Systems through automatic testing

There is a newer version: 2.0.0
Show newest version
package sqlancer.common.ast.newast;

import sqlancer.common.ast.BinaryOperatorNode.Operator;

public class NewUnaryPrefixOperatorNode implements Node {

    protected final Operator op;
    private final Node expr;

    public NewUnaryPrefixOperatorNode(Node expr, Operator op) {
        this.expr = expr;
        this.op = op;
    }

    public String getOperatorRepresentation() {
        return op.getTextRepresentation();
    }

    public Node getExpr() {
        return expr;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy