16 references to IntLitKind
Microsoft.ML.Transforms (16)
Expression\Lexer.cs (9)
334
return new IntLitToken(GetSpan(), u, LexIntSuffix() |
IntLitKind
.Hex);
340
private Token LexDecInt(
IntLitKind
ilk)
399
private
IntLitKind
LexIntSuffix()
401
IntLitKind
ilk =
IntLitKind
.None;
407
if ((ilk &
IntLitKind
.Uns) != 0)
409
ilk |=
IntLitKind
.Uns;
413
if ((ilk &
IntLitKind
.Lng) != 0)
415
ilk |=
IntLitKind
.Lng;
Expression\Node.cs (2)
779
bool lng = (ilt.IntKind &
IntLitKind
.Lng) != 0;
780
bool uns = (ilt.IntKind &
IntLitKind
.Uns) != 0;
Expression\Tokens.cs (5)
120
public readonly
IntLitKind
IntKind; // The kind specified by suffixes.
122
public IntLitToken(TextSpan span, ulong val,
IntLitKind
ilk)
131
string suff1 = (IntKind &
IntLitKind
.Uns) != 0 ? "U" : "";
132
string suff2 = (IntKind &
IntLitKind
.Lng) != 0 ? "L" : "";
142
public bool IsHex { get { return (IntKind &
IntLitKind
.Hex) != 0; } }