sqlparser/sqlparser.cpp
// Append the token without formatting immediately after specified token
Append the token without formatting immediately after specified token
Append the token without formatting immediately after specified token
void SqlParser::AppendFirstNoFormat(Token *token, const char *str, const wchar_t * , size_t len)
{
	if(token == NULL)
		return;
	Token *append = new Token();
	*append = *token; 
	append->prev = NULL;
	append->next = NULL;
	append->t_str = Str::GetCopy(str, len);
	append->t_wstr = NULL;
	append->t_len = len;
	append->flags = TOKEN_INSERTED;
	_tokens.Append(token, append);
}
void SqlParser :: AppendFirstNoFormat ( Token * token , const char * str , const wchar_t * , size_t len ) { if ( token == NULL ) return ; Token * append = new Token ( ) ; * append = * token ; append -> prev = NULL ; append -> next = NULL ; append -> t_str = Str :: GetCopy ( str , len ) ; append -> t_wstr = NULL ; append -> t_len = len ; append -> flags = TOKEN_INSERTED ; _tokens . Append ( token , append ) ; }
Append the token without formatting immediately after specified token
Append the token without formatting immediately after specified token
/*wstr*/ // Initalize source values in the token