47 references to SyntaxKind
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (47)
VisualBasic\MemberSignatureParser.cs (21)
18
internal static readonly ImmutableDictionary<string,
SyntaxKind
> KeywordKinds = GetKeywordKinds(StringComparer);
257
PeekToken(1).KeywordKind ==
SyntaxKind
.OfKeyword;
275
case
SyntaxKind
.ByValKeyword:
278
case
SyntaxKind
.ByRefKeyword:
323
private static SpecialType GetSpecialType(
SyntaxKind
kind)
327
case
SyntaxKind
.BooleanKeyword:
329
case
SyntaxKind
.CharKeyword:
331
case
SyntaxKind
.SByteKeyword:
333
case
SyntaxKind
.ByteKeyword:
335
case
SyntaxKind
.ShortKeyword:
337
case
SyntaxKind
.UShortKeyword:
339
case
SyntaxKind
.IntegerKeyword:
341
case
SyntaxKind
.UIntegerKeyword:
343
case
SyntaxKind
.LongKeyword:
345
case
SyntaxKind
.ULongKeyword:
347
case
SyntaxKind
.SingleKeyword:
349
case
SyntaxKind
.DoubleKeyword:
351
case
SyntaxKind
.StringKeyword:
353
case
SyntaxKind
.ObjectKeyword:
355
case
SyntaxKind
.DecimalKeyword:
357
case
SyntaxKind
.DateKeyword:
VisualBasic\Scanner.cs (5)
34
internal readonly
SyntaxKind
KeywordKind;
36
internal Token(TokenKind kind, string text = null,
SyntaxKind
keywordKind =
SyntaxKind
.None)
101
var
keywordKind =
SyntaxKind
.None;
VisualBasic\SyntaxKind.cs (21)
40
private static ImmutableDictionary<string,
SyntaxKind
> GetKeywordKinds(StringComparer comparer)
42
var builder = ImmutableDictionary.CreateBuilder<string,
SyntaxKind
>(comparer);
43
builder.Add("of",
SyntaxKind
.OfKeyword);
44
builder.Add("byval",
SyntaxKind
.ByValKeyword);
45
builder.Add("byref",
SyntaxKind
.ByRefKeyword);
46
builder.Add("boolean",
SyntaxKind
.BooleanKeyword);
47
builder.Add("char",
SyntaxKind
.CharKeyword);
48
builder.Add("sbyte",
SyntaxKind
.SByteKeyword);
49
builder.Add("byte",
SyntaxKind
.ByteKeyword);
50
builder.Add("short",
SyntaxKind
.ShortKeyword);
51
builder.Add("ushort",
SyntaxKind
.UShortKeyword);
52
builder.Add("integer",
SyntaxKind
.IntegerKeyword);
53
builder.Add("uinteger",
SyntaxKind
.UIntegerKeyword);
54
builder.Add("long",
SyntaxKind
.LongKeyword);
55
builder.Add("ulong",
SyntaxKind
.ULongKeyword);
56
builder.Add("single",
SyntaxKind
.SingleKeyword);
57
builder.Add("double",
SyntaxKind
.DoubleKeyword);
58
builder.Add("string",
SyntaxKind
.StringKeyword);
59
builder.Add("object",
SyntaxKind
.ObjectKeyword);
60
builder.Add("decimal",
SyntaxKind
.DecimalKeyword);
61
builder.Add("date",
SyntaxKind
.DateKeyword);