28 references to TokenKind
Microsoft.Build (28)
BuildCheck\Infrastructure\EditorConfig\EditorConfigGlobsMatcher.cs (28)
140
var
tokenKind = lexer.Lex();
141
if (tokenKind ==
TokenKind
.SimpleCharacter)
185
if (nameLexer.Lex() !=
TokenKind
.SimpleCharacter)
245
var
tokenKind = lexer.Lex();
248
case
TokenKind
.BadToken:
251
case
TokenKind
.SimpleCharacter:
255
case
TokenKind
.Question:
259
case
TokenKind
.Star:
264
case
TokenKind
.StarStar:
268
case
TokenKind
.OpenCurly:
299
case
TokenKind
.CloseCurly:
302
case
TokenKind
.Comma:
305
case
TokenKind
.OpenBracket:
383
if (lexer.Lex() !=
TokenKind
.OpenCurly)
431
if (lexer.Lex() !=
TokenKind
.OpenCurly)
455
if (numEnd is null || lexer.IsDone || lexer.Lex() !=
TokenKind
.CloseCurly)
479
internal
TokenKind
Lex()
491
return
TokenKind
.StarStar;
496
return
TokenKind
.Star;
502
return
TokenKind
.Question;
506
return
TokenKind
.OpenCurly;
510
return
TokenKind
.Comma;
514
return
TokenKind
.CloseCurly;
518
return
TokenKind
.OpenBracket;
526
return
TokenKind
.BadToken;
529
return
TokenKind
.SimpleCharacter;
534
return
TokenKind
.SimpleCharacter;
541
/// Call after getting <see cref="
TokenKind
.SimpleCharacter" /> from <see cref="Lex()" />