45 references to GenericTypeNameScannerToken
System.Xaml (45)
System\Xaml\Parser\GenericTypeNameParser.cs (14)
83
if (_scanner.Token !=
GenericTypeNameScannerToken
.NONE)
112
if (_scanner.Token !=
GenericTypeNameScannerToken
.NONE)
142
if (_scanner.Token !=
GenericTypeNameScannerToken
.NAME)
149
if (_scanner.Token ==
GenericTypeNameScannerToken
.OPEN)
155
if (_scanner.Token ==
GenericTypeNameScannerToken
.SUBSCRIPT)
169
Debug.Assert(_scanner.Token ==
GenericTypeNameScannerToken
.NAME);
176
if (_scanner.Token ==
GenericTypeNameScannerToken
.COLON)
182
if (_scanner.Token !=
GenericTypeNameScannerToken
.NAME)
199
Debug.Assert(_scanner.Token ==
GenericTypeNameScannerToken
.OPEN);
205
if (_scanner.Token !=
GenericTypeNameScannerToken
.CLOSE)
219
while (_scanner.Token ==
GenericTypeNameScannerToken
.COMMA)
230
Debug.Assert(_scanner.Token ==
GenericTypeNameScannerToken
.COMMA);
241
Debug.Assert(_scanner.Token ==
GenericTypeNameScannerToken
.SUBSCRIPT);
248
while (_scanner.Token ==
GenericTypeNameScannerToken
.SUBSCRIPT);
System\Xaml\Parser\GenericTypeNameScanner.cs (31)
27
private
GenericTypeNameScannerToken
_token;
30
private
GenericTypeNameScannerToken
_pushedBackSymbol;
39
_pushedBackSymbol =
GenericTypeNameScannerToken
.NONE;
42
public
GenericTypeNameScannerToken
Token { get { return _token; } }
50
if (_pushedBackSymbol !=
GenericTypeNameScannerToken
.NONE)
53
_pushedBackSymbol =
GenericTypeNameScannerToken
.NONE;
57
_token =
GenericTypeNameScannerToken
.NONE;
62
while (_token ==
GenericTypeNameScannerToken
.NONE)
68
_token =
GenericTypeNameScannerToken
.NAME;
73
_token =
GenericTypeNameScannerToken
.ERROR;
94
if (_token ==
GenericTypeNameScannerToken
.NAME || _token ==
GenericTypeNameScannerToken
.SUBSCRIPT)
164
_token =
GenericTypeNameScannerToken
.NONE;
171
_token =
GenericTypeNameScannerToken
.OPEN;
175
_token =
GenericTypeNameScannerToken
.CLOSE;
179
_token =
GenericTypeNameScannerToken
.COMMA;
183
_token =
GenericTypeNameScannerToken
.COLON;
201
_token =
GenericTypeNameScannerToken
.ERROR;
213
_token =
GenericTypeNameScannerToken
.NAME;
221
_pushedBackSymbol =
GenericTypeNameScannerToken
.OPEN;
222
_token =
GenericTypeNameScannerToken
.NAME;
227
_pushedBackSymbol =
GenericTypeNameScannerToken
.CLOSE;
228
_token =
GenericTypeNameScannerToken
.NAME;
233
_pushedBackSymbol =
GenericTypeNameScannerToken
.COMMA;
234
_token =
GenericTypeNameScannerToken
.NAME;
239
_pushedBackSymbol =
GenericTypeNameScannerToken
.COLON;
240
_token =
GenericTypeNameScannerToken
.NAME;
252
_token =
GenericTypeNameScannerToken
.ERROR;
264
_token =
GenericTypeNameScannerToken
.ERROR;
277
_token =
GenericTypeNameScannerToken
.SUBSCRIPT;
288
_token =
GenericTypeNameScannerToken
.ERROR;