package org.fugazi.ql.ast.type;
import org.fugazi.ql.ast.AbstractASTNode;
public abstract class Type extends AbstractASTNode {
public Type() {
super();
}
public abstract String toString();
public abstract <T> T accept(ITypeVisitor<T> visitor);
@Override
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
return (this.getClass() == obj.getClass());
}
@Override
public int hashCode() {
return (this.getClass().hashCode());
}
}