CNamedEntity *theEntity=(CNamedEntity*)anObject; delete theEntity;
if(anObject==mToken) { return anObject; }
  virtual void* operator()(void* anObject) {    CNamedEntity *theEntity=(CNamedEntity*)anObject;    delete theEntity;    return 0;  }