public override bool Equals(Object o) { if (this == o) { return(true); } if ((o == null) || (this.GetType() != o.GetType())) { return(false); } MultiSentence sen = (MultiSentence)o; return((sen.getOperator().Equals(getOperator())) && (sen .getSentences().Equals(getSentences()))); }
public virtual Object visitMultiSentence(MultiSentence fs, Object arg) { throw new Exception("Can't handle MultiSentence"); }
public Object visitMultiSentence(MultiSentence fs, Object argd) { // TODO remove this? return null; }