45 references to GenericTypeNameScannerToken
System.Xaml (45)
System\Xaml\Parser\GenericTypeNameParser.cs (14)
81
if (_scanner.Token !=
GenericTypeNameScannerToken
.NONE)
111
if (_scanner.Token !=
GenericTypeNameScannerToken
.NONE)
142
if (_scanner.Token !=
GenericTypeNameScannerToken
.NAME)
150
if (_scanner.Token ==
GenericTypeNameScannerToken
.OPEN)
156
if (_scanner.Token ==
GenericTypeNameScannerToken
.SUBSCRIPT)
169
Debug.Assert(_scanner.Token ==
GenericTypeNameScannerToken
.NAME);
176
if (_scanner.Token ==
GenericTypeNameScannerToken
.COLON)
182
if (_scanner.Token !=
GenericTypeNameScannerToken
.NAME)
200
Debug.Assert(_scanner.Token ==
GenericTypeNameScannerToken
.OPEN);
206
if (_scanner.Token !=
GenericTypeNameScannerToken
.CLOSE)
221
while (_scanner.Token ==
GenericTypeNameScannerToken
.COMMA)
232
Debug.Assert(_scanner.Token ==
GenericTypeNameScannerToken
.COMMA);
243
Debug.Assert(_scanner.Token ==
GenericTypeNameScannerToken
.SUBSCRIPT);
250
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;
72
_token =
GenericTypeNameScannerToken
.ERROR;
95
if (_token ==
GenericTypeNameScannerToken
.NAME || _token ==
GenericTypeNameScannerToken
.SUBSCRIPT)
171
_token =
GenericTypeNameScannerToken
.NONE;
178
_token =
GenericTypeNameScannerToken
.OPEN;
182
_token =
GenericTypeNameScannerToken
.CLOSE;
186
_token =
GenericTypeNameScannerToken
.COMMA;
190
_token =
GenericTypeNameScannerToken
.COLON;
208
_token =
GenericTypeNameScannerToken
.ERROR;
222
_token =
GenericTypeNameScannerToken
.NAME;
230
_pushedBackSymbol =
GenericTypeNameScannerToken
.OPEN;
231
_token =
GenericTypeNameScannerToken
.NAME;
236
_pushedBackSymbol =
GenericTypeNameScannerToken
.CLOSE;
237
_token =
GenericTypeNameScannerToken
.NAME;
242
_pushedBackSymbol =
GenericTypeNameScannerToken
.COMMA;
243
_token =
GenericTypeNameScannerToken
.NAME;
248
_pushedBackSymbol =
GenericTypeNameScannerToken
.COLON;
249
_token =
GenericTypeNameScannerToken
.NAME;
261
_token =
GenericTypeNameScannerToken
.ERROR;
275
_token =
GenericTypeNameScannerToken
.ERROR;
288
_token =
GenericTypeNameScannerToken
.SUBSCRIPT;
299
_token =
GenericTypeNameScannerToken
.ERROR;