eHTMLTokenTypes aType=(eHTMLTokenTypes)aToken->GetTokenType(); if(mCount[aType-1]<eCacheSize) { mTokenCache[aType-1][mCount[aType-1]]=aToken; mCount[aType-1]++;
PRInt32 theType=aToken->GetTokenType(); if(mCount[theType-1]<eCacheMaxSize) { mTokenCache[theType-1][mCount[theType-1]]=aToken; mCount[theType-1]++;
void CTokenFactory::RecycleToken(CToken* aToken) {  if(aToken) {    eHTMLTokenTypes aType=(eHTMLTokenTypes)aToken->GetTokenType();    if(mCount[aType-1]<eCacheSize) {      mTokenCache[aType-1][mCount[aType-1]]=aToken;      mCount[aType-1]++;    } else {        //this is an overflow condition. More tokens of a given         //type have been created than we can store in our recycler.        //In this case, just destroy the extra token.      delete aToken;    }  }}