-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSimpleCConstants.java
174 lines (169 loc) · 3.66 KB
/
SimpleCConstants.java
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/* Generated By:JavaCC: Do not edit this line. SimpleCConstants.java */
/**
* Token literal values and constants.
* Generated by org.javacc.parser.OtherFilesGen#start()
*/
public interface SimpleCConstants {
/** End of File. */
int EOF = 0;
/** RegularExpression Id. */
int LPARENT = 8;
/** RegularExpression Id. */
int RPARENT = 9;
/** RegularExpression Id. */
int LCURLY = 10;
/** RegularExpression Id. */
int RCURLY = 11;
/** RegularExpression Id. */
int LBRACE = 12;
/** RegularExpression Id. */
int RBRACE = 13;
/** RegularExpression Id. */
int COMMA = 14;
/** RegularExpression Id. */
int SEMICOLON = 15;
/** RegularExpression Id. */
int EQUAL = 16;
/** RegularExpression Id. */
int ANDAND = 17;
/** RegularExpression Id. */
int AMPERSAND = 18;
/** RegularExpression Id. */
int OROR = 19;
/** RegularExpression Id. */
int EQUALEQUAL = 20;
/** RegularExpression Id. */
int NOTEQUAL = 21;
/** RegularExpression Id. */
int LESSEQUAL = 22;
/** RegularExpression Id. */
int GREATEQUAL = 23;
/** RegularExpression Id. */
int LESS = 24;
/** RegularExpression Id. */
int GREAT = 25;
/** RegularExpression Id. */
int PLUS = 26;
/** RegularExpression Id. */
int MINUS = 27;
/** RegularExpression Id. */
int TIMES = 28;
/** RegularExpression Id. */
int DIVIDE = 29;
/** RegularExpression Id. */
int PERCENT = 30;
/** RegularExpression Id. */
int CHARSTARSTAR = 31;
/** RegularExpression Id. */
int CHARSTAR = 32;
/** RegularExpression Id. */
int LONGSTAR = 33;
/** RegularExpression Id. */
int LONG = 34;
/** RegularExpression Id. */
int VOID = 35;
/** RegularExpression Id. */
int IF = 36;
/** RegularExpression Id. */
int ELSE = 37;
/** RegularExpression Id. */
int WHILE = 38;
/** RegularExpression Id. */
int DO = 39;
/** RegularExpression Id. */
int FOR = 40;
/** RegularExpression Id. */
int CONTINUE = 41;
/** RegularExpression Id. */
int BREAK = 42;
/** RegularExpression Id. */
int RETURN = 43;
/** RegularExpression Id. */
int DOUBLESTAR = 44;
/** RegularExpression Id. */
int DOUBLE = 45;
/** RegularExpression Id. */
int ID = 46;
/** RegularExpression Id. */
int CHAR_CONST = 47;
/** RegularExpression Id. */
int STRING_CONST = 48;
/** RegularExpression Id. */
int INTEGER_CONST = 49;
/** RegularExpression Id. */
int DOUBLE_CONST = 50;
/** RegularExpression Id. */
int PRINTING_CHAR = 51;
/** RegularExpression Id. */
int LETTER = 52;
/** RegularExpression Id. */
int DIGIT = 53;
/** RegularExpression Id. */
int OCTAL = 54;
/** RegularExpression Id. */
int HEX_DIGIT = 55;
/** RegularExpression Id. */
int OTHER_CHAR = 56;
/** Lexical state. */
int DEFAULT = 0;
/** Literal token values. */
String[] tokenImage = {
"<EOF>",
"\" \"",
"\"\\t\"",
"\"\\n\"",
"\"\\r\"",
"\"\\f\"",
"<token of kind 6>",
"<token of kind 7>",
"\"(\"",
"\")\"",
"\"{\"",
"\"}\"",
"\"[\"",
"\"]\"",
"\",\"",
"\";\"",
"\"=\"",
"\"&&\"",
"\"&\"",
"\"||\"",
"\"==\"",
"\"!=\"",
"\"<=\"",
"\">=\"",
"\"<\"",
"\">\"",
"\"+\"",
"\"-\"",
"\"*\"",
"\"/\"",
"\"%\"",
"\"char**\"",
"\"char*\"",
"\"long*\"",
"\"long\"",
"\"void\"",
"\"if\"",
"\"else\"",
"\"while\"",
"\"do\"",
"\"for\"",
"\"continue\"",
"\"break\"",
"\"return\"",
"\"double*\"",
"\"double\"",
"<ID>",
"<CHAR_CONST>",
"<STRING_CONST>",
"<INTEGER_CONST>",
"<DOUBLE_CONST>",
"<PRINTING_CHAR>",
"<LETTER>",
"<DIGIT>",
"<OCTAL>",
"<HEX_DIGIT>",
"<OTHER_CHAR>",
};
}