107 references to QuickScanState
Microsoft.CodeAnalysis.CSharp (107)
Parser\QuickScanner.cs (107)
58(byte)QuickScanState.Initial, // White 59(byte)QuickScanState.Initial, // CR 60(byte)QuickScanState.Initial, // LF 61(byte)QuickScanState.Ident, // Letter 62(byte)QuickScanState.Number, // Digit 63(byte)QuickScanState.Punctuation, // Punct 64(byte)QuickScanState.Dot, // Dot 65(byte)QuickScanState.CompoundPunctStart, // Compound 66(byte)QuickScanState.Bad, // Slash 67(byte)QuickScanState.Bad, // Complex 68(byte)QuickScanState.Bad, // EndOfFile 73(byte)QuickScanState.FollowingWhite, // White 74(byte)QuickScanState.FollowingCR, // CR 75(byte)QuickScanState.DoneAfterNext, // LF 76(byte)QuickScanState.Done, // Letter 77(byte)QuickScanState.Done, // Digit 78(byte)QuickScanState.Done, // Punct 79(byte)QuickScanState.Done, // Dot 80(byte)QuickScanState.Done, // Compound 81(byte)QuickScanState.Bad, // Slash 82(byte)QuickScanState.Bad, // Complex 83(byte)QuickScanState.Done, // EndOfFile 88(byte)QuickScanState.Done, // White 89(byte)QuickScanState.Done, // CR 90(byte)QuickScanState.DoneAfterNext, // LF 91(byte)QuickScanState.Done, // Letter 92(byte)QuickScanState.Done, // Digit 93(byte)QuickScanState.Done, // Punct 94(byte)QuickScanState.Done, // Dot 95(byte)QuickScanState.Done, // Compound 96(byte)QuickScanState.Done, // Slash 97(byte)QuickScanState.Done, // Complex 98(byte)QuickScanState.Done, // EndOfFile 103(byte)QuickScanState.FollowingWhite, // White 104(byte)QuickScanState.FollowingCR, // CR 105(byte)QuickScanState.DoneAfterNext, // LF 106(byte)QuickScanState.Ident, // Letter 107(byte)QuickScanState.Ident, // Digit 108(byte)QuickScanState.Done, // Punct 109(byte)QuickScanState.Done, // Dot 110(byte)QuickScanState.Done, // Compound 111(byte)QuickScanState.Bad, // Slash 112(byte)QuickScanState.Bad, // Complex 113(byte)QuickScanState.Done, // EndOfFile 118(byte)QuickScanState.FollowingWhite, // White 119(byte)QuickScanState.FollowingCR, // CR 120(byte)QuickScanState.DoneAfterNext, // LF 121(byte)QuickScanState.Bad, // Letter (might be 'e' or 'x' or suffix) 122(byte)QuickScanState.Number, // Digit 123(byte)QuickScanState.Done, // Punct 124(byte)QuickScanState.Bad, // Dot (Number is followed by a dot - too complex for us to handle here). 125(byte)QuickScanState.Done, // Compound 126(byte)QuickScanState.Bad, // Slash 127(byte)QuickScanState.Bad, // Complex 128(byte)QuickScanState.Done, // EndOfFile 133(byte)QuickScanState.FollowingWhite, // White 134(byte)QuickScanState.FollowingCR, // CR 135(byte)QuickScanState.DoneAfterNext, // LF 136(byte)QuickScanState.Done, // Letter 137(byte)QuickScanState.Done, // Digit 138(byte)QuickScanState.Done, // Punct 139(byte)QuickScanState.Done, // Dot 140(byte)QuickScanState.Done, // Compound 141(byte)QuickScanState.Bad, // Slash 142(byte)QuickScanState.Bad, // Complex 143(byte)QuickScanState.Done, // EndOfFile 148(byte)QuickScanState.FollowingWhite, // White 149(byte)QuickScanState.FollowingCR, // CR 150(byte)QuickScanState.DoneAfterNext, // LF 151(byte)QuickScanState.Done, // Letter 152(byte)QuickScanState.Bad, // Dot followed by number. Could be a fp `.0` or could be a range + num `..0`. Can't tell here. 153(byte)QuickScanState.Done, // Punct 154(byte)QuickScanState.Bad, // Dot (DotDot range token, exit so that we handle it in subsequent scanning code) 155(byte)QuickScanState.Done, // Compound 156(byte)QuickScanState.Bad, // Slash 157(byte)QuickScanState.Bad, // Complex 158(byte)QuickScanState.Done, // EndOfFile 163(byte)QuickScanState.FollowingWhite, // White 164(byte)QuickScanState.FollowingCR, // CR 165(byte)QuickScanState.DoneAfterNext, // LF 166(byte)QuickScanState.Done, // Letter 167(byte)QuickScanState.Done, // Digit 168(byte)QuickScanState.Bad, // Punct 169(byte)QuickScanState.Done, // Dot 170(byte)QuickScanState.Bad, // Compound 171(byte)QuickScanState.Bad, // Slash 172(byte)QuickScanState.Bad, // Complex 173(byte)QuickScanState.Done, // EndOfFile 178(byte)QuickScanState.Done, // White 179(byte)QuickScanState.Done, // CR 180(byte)QuickScanState.Done, // LF 181(byte)QuickScanState.Done, // Letter 182(byte)QuickScanState.Done, // Digit 183(byte)QuickScanState.Done, // Punct 184(byte)QuickScanState.Done, // Dot 185(byte)QuickScanState.Done, // Compound 186(byte)QuickScanState.Done, // Slash 187(byte)QuickScanState.Done, // Complex 188(byte)QuickScanState.Done, // EndOfFile 195var state = QuickScanState.Initial; 213state = (QuickScanState)s_stateTransitions[(int)state, (int)flags]; 220if (state >= QuickScanState.Done) 228state = QuickScanState.Bad; // ran out of characters in window 232Debug.Assert(state == QuickScanState.Bad || state == QuickScanState.Done, "can only exit with Bad or Done"); 234if (state == QuickScanState.Done)