32 references to TokenKind
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (32)
VisualBasic\MemberSignatureParser.cs (24)
30
} while (token.Kind !=
TokenKind
.End);
61
Debug.Assert(token.Kind !=
TokenKind
.End);
70
if (CurrentToken.Kind ==
TokenKind
.OpenParen)
74
if (CurrentToken.Kind !=
TokenKind
.End)
88
case
TokenKind
.Identifier:
90
case
TokenKind
.Keyword:
106
if (CurrentToken.Kind !=
TokenKind
.Dot)
122
if (CurrentToken.Kind !=
TokenKind
.Identifier)
130
case
TokenKind
.CloseParen:
133
case
TokenKind
.Comma:
149
case
TokenKind
.Identifier:
156
case
TokenKind
.Keyword:
188
if (CurrentToken.Kind !=
TokenKind
.Dot)
208
case
TokenKind
.CloseParen:
211
case
TokenKind
.Comma:
227
case
TokenKind
.OpenParen:
230
while (CurrentToken.Kind ==
TokenKind
.Comma)
235
if (CurrentToken.Kind !=
TokenKind
.CloseParen)
242
case
TokenKind
.QuestionMark:
256
return CurrentToken.Kind ==
TokenKind
.OpenParen &&
296
Debug.Assert(CurrentToken.Kind ==
TokenKind
.OpenParen);
298
if (CurrentToken.Kind ==
TokenKind
.CloseParen)
311
case
TokenKind
.CloseParen:
314
case
TokenKind
.Comma:
VisualBasic\Scanner.cs (8)
32
internal readonly
TokenKind
Kind;
36
internal Token(
TokenKind
kind, string text = null, SyntaxKind keywordKind = SyntaxKind.None)
68
if (_currentToken.Kind ==
TokenKind
.Start)
91
return new Token(
TokenKind
.End);
103
return new Token(
TokenKind
.Keyword, text, keywordKind);
105
return new Token(
TokenKind
.Identifier, text);
118
return new Token(
TokenKind
.Identifier, text);
122
return new Token((
TokenKind
)c);