107 references to QuickScanState
Microsoft.CodeAnalysis.CSharp (107)
Parser\QuickScanner.cs (107)
61(byte)QuickScanState.Initial, // White 62(byte)QuickScanState.Initial, // CR 63(byte)QuickScanState.Initial, // LF 64(byte)QuickScanState.Ident, // Letter 65(byte)QuickScanState.Number, // Digit 66(byte)QuickScanState.Punctuation, // Punct 67(byte)QuickScanState.Dot, // Dot 68(byte)QuickScanState.CompoundPunctStart, // Compound 69(byte)QuickScanState.Bad, // Slash 70(byte)QuickScanState.Bad, // Complex 71(byte)QuickScanState.Bad, // EndOfFile 76(byte)QuickScanState.FollowingWhite, // White 77(byte)QuickScanState.FollowingCR, // CR 78(byte)QuickScanState.DoneAfterNext, // LF 79(byte)QuickScanState.Done, // Letter 80(byte)QuickScanState.Done, // Digit 81(byte)QuickScanState.Done, // Punct 82(byte)QuickScanState.Done, // Dot 83(byte)QuickScanState.Done, // Compound 84(byte)QuickScanState.Bad, // Slash 85(byte)QuickScanState.Bad, // Complex 86(byte)QuickScanState.Done, // EndOfFile 91(byte)QuickScanState.Done, // White 92(byte)QuickScanState.Done, // CR 93(byte)QuickScanState.DoneAfterNext, // LF 94(byte)QuickScanState.Done, // Letter 95(byte)QuickScanState.Done, // Digit 96(byte)QuickScanState.Done, // Punct 97(byte)QuickScanState.Done, // Dot 98(byte)QuickScanState.Done, // Compound 99(byte)QuickScanState.Done, // Slash 100(byte)QuickScanState.Done, // Complex 101(byte)QuickScanState.Done, // EndOfFile 106(byte)QuickScanState.FollowingWhite, // White 107(byte)QuickScanState.FollowingCR, // CR 108(byte)QuickScanState.DoneAfterNext, // LF 109(byte)QuickScanState.Ident, // Letter 110(byte)QuickScanState.Ident, // Digit 111(byte)QuickScanState.Done, // Punct 112(byte)QuickScanState.Done, // Dot 113(byte)QuickScanState.Done, // Compound 114(byte)QuickScanState.Bad, // Slash 115(byte)QuickScanState.Bad, // Complex 116(byte)QuickScanState.Done, // EndOfFile 121(byte)QuickScanState.FollowingWhite, // White 122(byte)QuickScanState.FollowingCR, // CR 123(byte)QuickScanState.DoneAfterNext, // LF 124(byte)QuickScanState.Bad, // Letter (might be 'e' or 'x' or suffix) 125(byte)QuickScanState.Number, // Digit 126(byte)QuickScanState.Done, // Punct 127(byte)QuickScanState.Bad, // Dot (Number is followed by a dot - too complex for us to handle here). 128(byte)QuickScanState.Done, // Compound 129(byte)QuickScanState.Bad, // Slash 130(byte)QuickScanState.Bad, // Complex 131(byte)QuickScanState.Done, // EndOfFile 136(byte)QuickScanState.FollowingWhite, // White 137(byte)QuickScanState.FollowingCR, // CR 138(byte)QuickScanState.DoneAfterNext, // LF 139(byte)QuickScanState.Done, // Letter 140(byte)QuickScanState.Done, // Digit 141(byte)QuickScanState.Done, // Punct 142(byte)QuickScanState.Done, // Dot 143(byte)QuickScanState.Done, // Compound 144(byte)QuickScanState.Bad, // Slash 145(byte)QuickScanState.Bad, // Complex 146(byte)QuickScanState.Done, // EndOfFile 151(byte)QuickScanState.FollowingWhite, // White 152(byte)QuickScanState.FollowingCR, // CR 153(byte)QuickScanState.DoneAfterNext, // LF 154(byte)QuickScanState.Done, // Letter 155(byte)QuickScanState.Number, // Digit 156(byte)QuickScanState.Done, // Punct 157(byte)QuickScanState.Bad, // Dot (DotDot range token, exit so that we handle it in subsequent scanning code) 158(byte)QuickScanState.Done, // Compound 159(byte)QuickScanState.Bad, // Slash 160(byte)QuickScanState.Bad, // Complex 161(byte)QuickScanState.Done, // EndOfFile 166(byte)QuickScanState.FollowingWhite, // White 167(byte)QuickScanState.FollowingCR, // CR 168(byte)QuickScanState.DoneAfterNext, // LF 169(byte)QuickScanState.Done, // Letter 170(byte)QuickScanState.Done, // Digit 171(byte)QuickScanState.Bad, // Punct 172(byte)QuickScanState.Done, // Dot 173(byte)QuickScanState.Bad, // Compound 174(byte)QuickScanState.Bad, // Slash 175(byte)QuickScanState.Bad, // Complex 176(byte)QuickScanState.Done, // EndOfFile 181(byte)QuickScanState.Done, // White 182(byte)QuickScanState.Done, // CR 183(byte)QuickScanState.Done, // LF 184(byte)QuickScanState.Done, // Letter 185(byte)QuickScanState.Done, // Digit 186(byte)QuickScanState.Done, // Punct 187(byte)QuickScanState.Done, // Dot 188(byte)QuickScanState.Done, // Compound 189(byte)QuickScanState.Done, // Slash 190(byte)QuickScanState.Done, // Complex 191(byte)QuickScanState.Done, // EndOfFile 198var state = QuickScanState.Initial; 216state = (QuickScanState)s_stateTransitions[(int)state, (int)flags]; 223if (state >= QuickScanState.Done) 231state = QuickScanState.Bad; // ran out of characters in window 235Debug.Assert(state == QuickScanState.Bad || state == QuickScanState.Done, "can only exit with Bad or Done"); 237if (state == QuickScanState.Done)