45 references to GenericTypeNameScannerToken
System.Xaml (45)
System\Xaml\Parser\GenericTypeNameParser.cs (14)
80
if (_scanner.Token !=
GenericTypeNameScannerToken
.NONE)
109
if (_scanner.Token !=
GenericTypeNameScannerToken
.NONE)
139
if (_scanner.Token !=
GenericTypeNameScannerToken
.NAME)
146
if (_scanner.Token ==
GenericTypeNameScannerToken
.OPEN)
152
if (_scanner.Token ==
GenericTypeNameScannerToken
.SUBSCRIPT)
166
Debug.Assert(_scanner.Token ==
GenericTypeNameScannerToken
.NAME);
173
if (_scanner.Token ==
GenericTypeNameScannerToken
.COLON)
179
if (_scanner.Token !=
GenericTypeNameScannerToken
.NAME)
196
Debug.Assert(_scanner.Token ==
GenericTypeNameScannerToken
.OPEN);
202
if (_scanner.Token !=
GenericTypeNameScannerToken
.CLOSE)
216
while (_scanner.Token ==
GenericTypeNameScannerToken
.COMMA)
227
Debug.Assert(_scanner.Token ==
GenericTypeNameScannerToken
.COMMA);
238
Debug.Assert(_scanner.Token ==
GenericTypeNameScannerToken
.SUBSCRIPT);
245
while (_scanner.Token ==
GenericTypeNameScannerToken
.SUBSCRIPT);
System\Xaml\Parser\GenericTypeNameScanner.cs (31)
25
private
GenericTypeNameScannerToken
_token;
28
private
GenericTypeNameScannerToken
_pushedBackSymbol;
37
_pushedBackSymbol =
GenericTypeNameScannerToken
.NONE;
40
public
GenericTypeNameScannerToken
Token { get { return _token; } }
48
if (_pushedBackSymbol !=
GenericTypeNameScannerToken
.NONE)
51
_pushedBackSymbol =
GenericTypeNameScannerToken
.NONE;
55
_token =
GenericTypeNameScannerToken
.NONE;
60
while (_token ==
GenericTypeNameScannerToken
.NONE)
66
_token =
GenericTypeNameScannerToken
.NAME;
71
_token =
GenericTypeNameScannerToken
.ERROR;
92
if (_token ==
GenericTypeNameScannerToken
.NAME || _token ==
GenericTypeNameScannerToken
.SUBSCRIPT)
162
_token =
GenericTypeNameScannerToken
.NONE;
169
_token =
GenericTypeNameScannerToken
.OPEN;
173
_token =
GenericTypeNameScannerToken
.CLOSE;
177
_token =
GenericTypeNameScannerToken
.COMMA;
181
_token =
GenericTypeNameScannerToken
.COLON;
199
_token =
GenericTypeNameScannerToken
.ERROR;
211
_token =
GenericTypeNameScannerToken
.NAME;
219
_pushedBackSymbol =
GenericTypeNameScannerToken
.OPEN;
220
_token =
GenericTypeNameScannerToken
.NAME;
225
_pushedBackSymbol =
GenericTypeNameScannerToken
.CLOSE;
226
_token =
GenericTypeNameScannerToken
.NAME;
231
_pushedBackSymbol =
GenericTypeNameScannerToken
.COMMA;
232
_token =
GenericTypeNameScannerToken
.NAME;
237
_pushedBackSymbol =
GenericTypeNameScannerToken
.COLON;
238
_token =
GenericTypeNameScannerToken
.NAME;
250
_token =
GenericTypeNameScannerToken
.ERROR;
262
_token =
GenericTypeNameScannerToken
.ERROR;
275
_token =
GenericTypeNameScannerToken
.SUBSCRIPT;
286
_token =
GenericTypeNameScannerToken
.ERROR;