28 references to TokenKind
Microsoft.Build (28)
BuildCheck\Infrastructure\EditorConfig\EditorConfigGlobsMatcher.cs (28)
137var tokenKind = lexer.Lex(); 138if (tokenKind == TokenKind.SimpleCharacter) 182if (nameLexer.Lex() != TokenKind.SimpleCharacter) 242var tokenKind = lexer.Lex(); 245case TokenKind.BadToken: 248case TokenKind.SimpleCharacter: 252case TokenKind.Question: 256case TokenKind.Star: 261case TokenKind.StarStar: 265case TokenKind.OpenCurly: 296case TokenKind.CloseCurly: 299case TokenKind.Comma: 302case TokenKind.OpenBracket: 380if (lexer.Lex() != TokenKind.OpenCurly) 428if (lexer.Lex() != TokenKind.OpenCurly) 452if (numEnd is null || lexer.IsDone || lexer.Lex() != TokenKind.CloseCurly) 476internal TokenKind Lex() 488return TokenKind.StarStar; 493return TokenKind.Star; 499return TokenKind.Question; 503return TokenKind.OpenCurly; 507return TokenKind.Comma; 511return TokenKind.CloseCurly; 515return TokenKind.OpenBracket; 523return TokenKind.BadToken; 526return TokenKind.SimpleCharacter; 531return TokenKind.SimpleCharacter; 538/// Call after getting <see cref="TokenKind.SimpleCharacter" /> from <see cref="Lex()" />