45 references to GenericTypeNameScannerToken
System.Xaml (45)
System\Xaml\Parser\GenericTypeNameParser.cs (14)
83if (_scanner.Token != GenericTypeNameScannerToken.NONE) 112if (_scanner.Token != GenericTypeNameScannerToken.NONE) 142if (_scanner.Token != GenericTypeNameScannerToken.NAME) 149if (_scanner.Token == GenericTypeNameScannerToken.OPEN) 155if (_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT) 169Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.NAME); 176if (_scanner.Token == GenericTypeNameScannerToken.COLON) 182if (_scanner.Token != GenericTypeNameScannerToken.NAME) 199Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.OPEN); 205if (_scanner.Token != GenericTypeNameScannerToken.CLOSE) 219while (_scanner.Token == GenericTypeNameScannerToken.COMMA) 230Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.COMMA); 241Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT); 248while (_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT);
System\Xaml\Parser\GenericTypeNameScanner.cs (31)
27private GenericTypeNameScannerToken _token; 30private GenericTypeNameScannerToken _pushedBackSymbol; 39_pushedBackSymbol = GenericTypeNameScannerToken.NONE; 42public GenericTypeNameScannerToken Token { get { return _token; } } 50if (_pushedBackSymbol != GenericTypeNameScannerToken.NONE) 53_pushedBackSymbol = GenericTypeNameScannerToken.NONE; 57_token = GenericTypeNameScannerToken.NONE; 62while (_token == GenericTypeNameScannerToken.NONE) 68_token = GenericTypeNameScannerToken.NAME; 73_token = GenericTypeNameScannerToken.ERROR; 94if (_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;