sqlparser/sqlparser.cpp
// Get next token and make sure it contains the specified word
Get next token and make sure it contains the specified word
Get next token and make sure it contains the specified word
Token* SqlParser::GetNextWordToken(const char *str, const wchar_t *wstr, size_t len)
{
	Token *token = GetNextToken();
	if(token == NULL)
		return NULL;
	if(token->Compare(str, wstr, len) == true)
		return token;
	else
		PushBack(token);
	return NULL;
}
Token * SqlParser :: GetNextWordToken ( const char * str , const wchar_t * wstr , size_t len ) { Token * token = GetNextToken ( ) ; if ( token == NULL ) return NULL ; if ( token -> Compare ( str , wstr , len ) == true ) return token ; else PushBack ( token ) ; return NULL ; }
Get next token and make sure it contains the specified word
Get next token and make sure it contains the specified word