package org.aksw.sparqlify.algebra.sql.exprs2;

import org.aksw.sparqlify.core.TypeToken;

public class S_Equals
	extends SqlExpr2
{
	public S_Equals(SqlExpr left, SqlExpr right) {
		super(TypeToken.Boolean, "equals", left, right);
	}
	
	@Override
	public S_Equals copy(SqlExpr left, SqlExpr right) {
		S_Equals result = new S_Equals(left, right);
		return result;
	}
	
	public static S_Equals create(SqlExpr a, SqlExpr b) {
		return new S_Equals(a, b);
	}
	
	@Override
	public <T> T accept(SqlExprVisitor<T> visitor) {
		T result = visitor.visit(this);
		return result;
	}

}
