1 write to _rgchi
Microsoft.ML.Transforms (1)
Expression\LexCharUtils.cs (1)
105
_rgchi
= new LexCharInfo[128];
34 references to _rgchi
Microsoft.ML.Transforms (34)
Expression\LexCharUtils.cs (34)
110
_rgchi
[ch] = info;
112
_rgchi
[ch] = info;
117
_rgchi
[ch] = info;
119
_rgchi
[ch] = info;
120
_rgchi
['_'] = info;
125
_rgchi
[ch] = info;
127
_rgchi
['.'] = new LexCharInfo(LexStartKind.NumLit, LexCharKind.Punc);
132
_rgchi
[ch] = info;
136
_rgchi
['\xA'] = info;
137
_rgchi
['\xD'] = info;
141
_rgchi
['"'] = info;
142
_rgchi
['\''] = info;
143
_rgchi
['@'] = new LexCharInfo(LexStartKind.Verbatim, LexCharKind.None);
144
_rgchi
['/'] = new LexCharInfo(LexStartKind.Comment, LexCharKind.Punc);
145
_rgchi
['#'] = new LexCharInfo(LexStartKind.PreProc, LexCharKind.None);
151
_rgchi
[ch] = info;
164
if (ch <
_rgchi
.Length)
165
return
_rgchi
[ch].StartKind;
177
return ch <
_rgchi
.Length &&
_rgchi
[ch].Is(LexCharKind.Punc);
181
return ch <
_rgchi
.Length &&
_rgchi
[ch].Is(LexCharKind.Digit);
185
return ch <
_rgchi
.Length &&
_rgchi
[ch].Is(LexCharKind.HexDigit);
189
if (ch <
_rgchi
.Length)
190
return
_rgchi
[ch].Is(LexCharKind.Ident) && !
_rgchi
[ch].Is(LexCharKind.Digit);
195
if (ch <
_rgchi
.Length)
196
return
_rgchi
[ch].Is(LexCharKind.Ident);
201
return ch >=
_rgchi
.Length && CharUnicodeInfo.GetUnicodeCategory(ch) == UnicodeCategory.Format;
205
if (ch <
_rgchi
.Length)
206
return
_rgchi
[ch].Is(LexCharKind.Space);
211
if (ch <
_rgchi
.Length)
212
return
_rgchi
[ch].Is(LexCharKind.LineTerm);