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