45 references to GenericTypeNameScannerToken
System.Xaml (45)
System\Xaml\Parser\GenericTypeNameParser.cs (14)
80if (_scanner.Token != GenericTypeNameScannerToken.NONE) 109if (_scanner.Token != GenericTypeNameScannerToken.NONE) 139if (_scanner.Token != GenericTypeNameScannerToken.NAME) 146if (_scanner.Token == GenericTypeNameScannerToken.OPEN) 152if (_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT) 166Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.NAME); 173if (_scanner.Token == GenericTypeNameScannerToken.COLON) 179if (_scanner.Token != GenericTypeNameScannerToken.NAME) 196Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.OPEN); 202if (_scanner.Token != GenericTypeNameScannerToken.CLOSE) 216while (_scanner.Token == GenericTypeNameScannerToken.COMMA) 227Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.COMMA); 238Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT); 245while (_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT);
System\Xaml\Parser\GenericTypeNameScanner.cs (31)
25private GenericTypeNameScannerToken _token; 28private GenericTypeNameScannerToken _pushedBackSymbol; 37_pushedBackSymbol = GenericTypeNameScannerToken.NONE; 40public GenericTypeNameScannerToken Token { get { return _token; } } 48if (_pushedBackSymbol != GenericTypeNameScannerToken.NONE) 51_pushedBackSymbol = GenericTypeNameScannerToken.NONE; 55_token = GenericTypeNameScannerToken.NONE; 60while (_token == GenericTypeNameScannerToken.NONE) 66_token = GenericTypeNameScannerToken.NAME; 71_token = GenericTypeNameScannerToken.ERROR; 92if (_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;