45 references to GenericTypeNameScannerToken
System.Xaml (45)
System\Xaml\Parser\GenericTypeNameParser.cs (14)
81if (_scanner.Token != GenericTypeNameScannerToken.NONE) 111if (_scanner.Token != GenericTypeNameScannerToken.NONE) 142if (_scanner.Token != GenericTypeNameScannerToken.NAME) 150if (_scanner.Token == GenericTypeNameScannerToken.OPEN) 156if (_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT) 169Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.NAME); 176if (_scanner.Token == GenericTypeNameScannerToken.COLON) 182if (_scanner.Token != GenericTypeNameScannerToken.NAME) 200Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.OPEN); 206if (_scanner.Token != GenericTypeNameScannerToken.CLOSE) 221while (_scanner.Token == GenericTypeNameScannerToken.COMMA) 232Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.COMMA); 243Debug.Assert(_scanner.Token == GenericTypeNameScannerToken.SUBSCRIPT); 250while (_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; 72_token = GenericTypeNameScannerToken.ERROR; 95if (_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;