28 references to TokenKind
Microsoft.CodeAnalysis (28)
CommandLine\AnalyzerConfig.SectionNameMatching.cs (28)
130
var
tokenKind = lexer.Lex();
131
if (tokenKind ==
TokenKind
.SimpleCharacter)
178
if (nameLexer.Lex() !=
TokenKind
.SimpleCharacter)
237
var
tokenKind = lexer.Lex();
240
case
TokenKind
.BadToken:
243
case
TokenKind
.SimpleCharacter:
247
case
TokenKind
.Question:
251
case
TokenKind
.Star:
256
case
TokenKind
.StarStar:
260
case
TokenKind
.OpenCurly:
291
case
TokenKind
.CloseCurly:
294
case
TokenKind
.Comma:
297
case
TokenKind
.OpenBracket:
375
if (lexer.Lex() !=
TokenKind
.OpenCurly)
423
if (lexer.Lex() !=
TokenKind
.OpenCurly)
447
if (numEnd is null || lexer.IsDone || lexer.Lex() !=
TokenKind
.CloseCurly)
471
public
TokenKind
Lex()
483
return
TokenKind
.StarStar;
488
return
TokenKind
.Star;
494
return
TokenKind
.Question;
498
return
TokenKind
.OpenCurly;
502
return
TokenKind
.Comma;
506
return
TokenKind
.CloseCurly;
510
return
TokenKind
.OpenBracket;
518
return
TokenKind
.BadToken;
521
return
TokenKind
.SimpleCharacter;
526
return
TokenKind
.SimpleCharacter;
533
/// Call after getting <see cref="
TokenKind
.SimpleCharacter" /> from <see cref="Lex()" />