8 references to AcceptWhile
Microsoft.CodeAnalysis.Razor.Compiler (8)
Language\Legacy\TokenizerBackedParser.cs (8)
460AcceptWhile(static (token, type) => type == token.Kind, type); 466AcceptWhile(static (token, arg) => arg.type1 == token.Kind || arg.type2 == token.Kind, (type1, type2)); 471AcceptWhile(static (token, arg) => arg.type1 == token.Kind || arg.type2 == token.Kind || arg.type3 == token.Kind, (type1, type2, type3)); 476AcceptWhile(static (token, types) => types.Any(token.Kind, static (expected, kind) => expected == kind), types); 481AcceptWhile(static (token, type) => type != token.Kind, type); 487AcceptWhile(static (token, arg) => arg.type1 != token.Kind && arg.type2 != token.Kind, (type1, type2)); 492AcceptWhile(static (token, arg) => arg.type1 != token.Kind && arg.type2 != token.Kind && arg.type3 != token.Kind, (type1, type2, type3)); 497AcceptWhile(static (token, types) => types.All(token.Kind, static (expected, kind) => expected != kind), types);