sqlancer.common.ast.newast.NewUnaryPrefixOperatorNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqlancer Show documentation
Show all versions of sqlancer Show documentation
SQLancer finds logic bugs in Database Management Systems through automatic testing
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;
}
}