-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathparser.h
33 lines (33 loc) · 1.45 KB
/
parser.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#define TK_QUIT 1
#define TK_SELECT 2
#define TK_DISTINCT 3
#define TK_ID 4
#define TK_STRING 5
#define TK_FLOAT 6
#define TK_INTEGER 7
#define TK_STAR 8
#define TK_COMMA 9
#define TK_FROM 10
#define TK_RECURSIVE 11
#define TK_PLUS 12
#define TK_MINUS 13
#define TK_DIV 14
#define TK_MOD 15
#define TK_NOT 16
#define TK_OR 17
#define TK_AND 18
#define TK_LIKE 19
#define TK_GT 20
#define TK_LT 21
#define TK_EQ 22
#define TK_GE 23
#define TK_LE 24
#define TK_NE 25
#define TK_LP 26
#define TK_RP 27
#define TK_WHERE 28
#define TK_ASC 29
#define TK_DESC 30
#define TK_ORDER 31
#define TK_BY 32
#define TK_LIMIT 33