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