tokenize.c File Reference

Go to the source code of this file.

Defines

#define charMap(X)   sqlite3UpperToLower[(unsigned char)X]
#define IdChar(C)   (((c=C)&0x80)!=0 || (c>0x1f && sqlite3IsAsciiIdChar[c-0x20]))

Functions

int sqlite3GetToken (const unsigned char *z, int *tokenType)
int sqlite3RunParser (Parse *pParse, const char *zSql, char **pzErrMsg)

Variables

const char sqlite3IsAsciiIdChar []

Define Documentation

#define charMap (  )     sqlite3UpperToLower[(unsigned char)X]

Definition at line 32 of file tokenize.c.

Referenced by keywordCode().

#define IdChar (  )     (((c=C)&0x80)!=0 || (c>0x1f && sqlite3IsAsciiIdChar[c-0x20]))

Definition at line 97 of file tokenize.c.


Function Documentation

int sqlite3GetToken ( const unsigned char *  z,
int *  tokenType 
)
int sqlite3RunParser ( Parse pParse,
const char *  zSql,
char **  pzErrMsg 
)

Variable Documentation

const char sqlite3IsAsciiIdChar[]
Initial value:
 {

    0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,  
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0,  
    0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1,  
    0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,  
    1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0,  
}

Definition at line 88 of file tokenize.c.


ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:50:02 2011 by Doxygen 1.6.1