public int getTokenType(String tokenName) {Integer ttype = getTokenTypeMap().get(tokenName);if ( ttype!=null ) return ttype;return Token.INVALID_TYPE;}
public virtual int GetTokenType(string tokenName){int ttype;if (TokenTypeMap.TryGetValue(tokenName, out ttype)){return ttype;}return TokenConstants.InvalidType;}