-
Notifications
You must be signed in to change notification settings - Fork 0
/
lexer.h
53 lines (42 loc) · 1.53 KB
/
lexer.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef LEXER_H
#define LEXER_H
/* SYMBOLS */
#define T_EQUAL 1
#define T_SYMBOL 2
#define T_SEMICOLON 3
#define T_END_ONE_LINE_ELEM 4
#define T_END_MANY_LINES_ELEM 5
/* ELEMENTS */
#define T_PROGRESS_BAR_S 6
#define T_TEXT_VIEW_S 7
#define T_RADIO_BUTTON_S 8
#define T_RELATIVE_LAYOUT_S 9
#define T_IMAGE_VIEW_S 10
#define T_BUTTON_S 11
#define T_LINEAR_LAYOUT_F 12
#define T_RELATIVE_LAYOUT_F 13
#define T_RADIO_GROUP_F 14
#define T_RADIO_GROUP_S 15
#define T_LINEAR_LAYOUT_S 16
#define T_MAX_CHILDREN 17
/* ATTRIBUTES */
#define T_LAYOUT_HEIGHT 18
#define T_LAYOUT_WIDTH 19
#define T_ORIENTATION 20
#define T_ID 21
#define T_TEXT 22
#define T_SRC 23
#define T_PADDING 24
#define T_TEXT_COLOR 25
#define T_CHECKED_BUTTON 26
#define T_MAX 27
#define T_PROGRESS 28
#define T_LAYOUT_VALUES 29
#define T_ANDROID 30
/* OTHER */
#define T_VTEXT 31
#define T_ALPHANUMERIC_ 32
#define T_ALPHANUMERIC 33
#define T_NUMBER 34
#define T_EOF 0
#endif