-
Notifications
You must be signed in to change notification settings - Fork 0
/
CSharpParser.tokens
361 lines (361 loc) · 4.23 KB
/
CSharpParser.tokens
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
BYTE_ORDER_MARK=1
SINGLE_LINE_DOC_COMMENT=2
EMPTY_DELIMITED_DOC_COMMENT=3
DELIMITED_DOC_COMMENT=4
SINGLE_LINE_COMMENT=5
DELIMITED_COMMENT=6
WHITESPACES=7
SHARP=8
ABSTRACT=9
ADD=10
ALIAS=11
ARGLIST=12
AS=13
ASCENDING=14
ASYNC=15
AWAIT=16
BASE=17
BOOL=18
BREAK=19
BY=20
BYTE=21
CASE=22
CATCH=23
CHAR=24
CHECKED=25
CLASS=26
CONST=27
CONTINUE=28
DECIMAL=29
DEFAULT=30
DELEGATE=31
DESCENDING=32
DO=33
DOUBLE=34
DYNAMIC=35
ELSE=36
ENUM=37
EQUALS=38
EVENT=39
EXPLICIT=40
EXTERN=41
FALSE=42
FINALLY=43
FIXED=44
FLOAT=45
FOR=46
FOREACH=47
FROM=48
GET=49
GOTO=50
GROUP=51
IF=52
IMPLICIT=53
IN=54
INT=55
INTERFACE=56
INTERNAL=57
INTO=58
IS=59
JOIN=60
LET=61
LOCK=62
LONG=63
NAMEOF=64
NAMESPACE=65
NEW=66
NULL_=67
OBJECT=68
ON=69
OPERATOR=70
ORDERBY=71
OUT=72
OVERRIDE=73
PARAMS=74
PARTIAL=75
PRIVATE=76
PROTECTED=77
PUBLIC=78
READONLY=79
REF=80
REMOVE=81
RETURN=82
SBYTE=83
SEALED=84
SELECT=85
SET=86
SHORT=87
SIZEOF=88
STACKALLOC=89
STATIC=90
STRING=91
STRUCT=92
SWITCH=93
THIS=94
THROW=95
TRUE=96
TRY=97
TYPEOF=98
UINT=99
ULONG=100
UNCHECKED=101
UNMANAGED=102
UNSAFE=103
USHORT=104
USING=105
VAR=106
VIRTUAL=107
VOID=108
VOLATILE=109
WHEN=110
WHERE=111
WHILE=112
YIELD=113
IDENTIFIER=114
LITERAL_ACCESS=115
INTEGER_LITERAL=116
HEX_INTEGER_LITERAL=117
BIN_INTEGER_LITERAL=118
REAL_LITERAL=119
CHARACTER_LITERAL=120
REGULAR_STRING=121
VERBATIUM_STRING=122
INTERPOLATED_REGULAR_STRING_START=123
INTERPOLATED_VERBATIUM_STRING_START=124
OPEN_BRACE=125
CLOSE_BRACE=126
OPEN_BRACKET=127
CLOSE_BRACKET=128
OPEN_PARENS=129
CLOSE_PARENS=130
DOT=131
COMMA=132
COLON=133
SEMICOLON=134
PLUS=135
MINUS=136
STAR=137
DIV=138
PERCENT=139
AMP=140
BITWISE_OR=141
CARET=142
BANG=143
TILDE=144
ASSIGNMENT=145
LT=146
GT=147
INTERR=148
DOUBLE_COLON=149
OP_COALESCING=150
OP_INC=151
OP_DEC=152
OP_AND=153
OP_OR=154
OP_PTR=155
OP_EQ=156
OP_NE=157
OP_LE=158
OP_GE=159
OP_ADD_ASSIGNMENT=160
OP_SUB_ASSIGNMENT=161
OP_MULT_ASSIGNMENT=162
OP_DIV_ASSIGNMENT=163
OP_MOD_ASSIGNMENT=164
OP_AND_ASSIGNMENT=165
OP_OR_ASSIGNMENT=166
OP_XOR_ASSIGNMENT=167
OP_LEFT_SHIFT=168
OP_LEFT_SHIFT_ASSIGNMENT=169
OP_COALESCING_ASSIGNMENT=170
OP_RANGE=171
DOUBLE_CURLY_INSIDE=172
OPEN_BRACE_INSIDE=173
REGULAR_CHAR_INSIDE=174
VERBATIUM_DOUBLE_QUOTE_INSIDE=175
DOUBLE_QUOTE_INSIDE=176
REGULAR_STRING_INSIDE=177
VERBATIUM_INSIDE_STRING=178
CLOSE_BRACE_INSIDE=179
FORMAT_STRING=180
DIRECTIVE_WHITESPACES=181
DIGITS=182
DEFINE=183
UNDEF=184
ELIF=185
ENDIF=186
LINE=187
ERROR=188
WARNING=189
REGION=190
ENDREGION=191
PRAGMA=192
NULLABLE=193
DIRECTIVE_HIDDEN=194
CONDITIONAL_SYMBOL=195
DIRECTIVE_NEW_LINE=196
TEXT=197
DOUBLE_CURLY_CLOSE_INSIDE=198
'\u00EF\u00BB\u00BF'=1
'/***/'=3
'#'=8
'abstract'=9
'add'=10
'alias'=11
'__arglist'=12
'as'=13
'ascending'=14
'async'=15
'await'=16
'base'=17
'bool'=18
'break'=19
'by'=20
'byte'=21
'case'=22
'catch'=23
'char'=24
'checked'=25
'class'=26
'const'=27
'continue'=28
'decimal'=29
'default'=30
'delegate'=31
'descending'=32
'do'=33
'double'=34
'dynamic'=35
'else'=36
'enum'=37
'equals'=38
'event'=39
'explicit'=40
'extern'=41
'false'=42
'finally'=43
'fixed'=44
'float'=45
'for'=46
'foreach'=47
'from'=48
'get'=49
'goto'=50
'group'=51
'if'=52
'implicit'=53
'in'=54
'int'=55
'interface'=56
'internal'=57
'into'=58
'is'=59
'join'=60
'let'=61
'lock'=62
'long'=63
'nameof'=64
'namespace'=65
'new'=66
'null'=67
'object'=68
'on'=69
'operator'=70
'orderby'=71
'out'=72
'override'=73
'params'=74
'partial'=75
'private'=76
'protected'=77
'public'=78
'readonly'=79
'ref'=80
'remove'=81
'return'=82
'sbyte'=83
'sealed'=84
'select'=85
'set'=86
'short'=87
'sizeof'=88
'stackalloc'=89
'static'=90
'string'=91
'struct'=92
'switch'=93
'this'=94
'throw'=95
'true'=96
'try'=97
'typeof'=98
'uint'=99
'ulong'=100
'unchecked'=101
'unmanaged'=102
'unsafe'=103
'ushort'=104
'using'=105
'var'=106
'virtual'=107
'void'=108
'volatile'=109
'when'=110
'where'=111
'while'=112
'yield'=113
'{'=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
'}}'=198
'define'=183
'undef'=184
'elif'=185
'endif'=186
'line'=187
'hidden'=194