25 references to LexCharKind
Microsoft.ML.Transforms (25)
Expression\LexCharUtils.cs (25)
85
public readonly
LexCharKind
CharKind;
87
public LexCharInfo(LexStartKind sk,
LexCharKind
ck)
93
public bool Is(
LexCharKind
kind)
108
var info = new LexCharInfo(LexStartKind.Ident,
LexCharKind
.Ident |
LexCharKind
.HexDigit);
115
info = new LexCharInfo(LexStartKind.Ident,
LexCharKind
.Ident);
123
info = new LexCharInfo(LexStartKind.NumLit,
LexCharKind
.Digit |
LexCharKind
.HexDigit |
LexCharKind
.Ident);
127
_rgchi['.'] = new LexCharInfo(LexStartKind.NumLit,
LexCharKind
.Punc);
130
info = new LexCharInfo(LexStartKind.Space,
LexCharKind
.Space);
135
info = new LexCharInfo(LexStartKind.LineTerm,
LexCharKind
.LineTerm);
140
info = new LexCharInfo(LexStartKind.StrLit,
LexCharKind
.None);
143
_rgchi['@'] = new LexCharInfo(LexStartKind.Verbatim,
LexCharKind
.None);
144
_rgchi['/'] = new LexCharInfo(LexStartKind.Comment,
LexCharKind
.Punc);
145
_rgchi['#'] = new LexCharInfo(LexStartKind.PreProc,
LexCharKind
.None);
149
info = new LexCharInfo(LexStartKind.Punc,
LexCharKind
.Punc);
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);
190
return _rgchi[ch].Is(
LexCharKind
.Ident) && !_rgchi[ch].Is(
LexCharKind
.Digit);
196
return _rgchi[ch].Is(
LexCharKind
.Ident);
206
return _rgchi[ch].Is(
LexCharKind
.Space);
212
return _rgchi[ch].Is(
LexCharKind
.LineTerm);