52 references to ChCur
Microsoft.ML.Transforms (52)
Expression\Lexer.cs (52)
171
LexStartKind kind = LexCharUtils.StartKind(
ChCur
);
217
_sb.Append(
ChCur
);
250
Contracts.Assert(LexCharUtils.StartKind(
ChCur
) == LexStartKind.NumLit);
251
Contracts.Assert(LexCharUtils.IsDigit(
ChCur
) ||
ChCur
== '.');
254
if (
ChCur
== '.' && !LexCharUtils.IsDigit(ChPeek(1)))
259
if (
ChCur
== '0' && (ChPeek(1) == 'x' || ChPeek(1) == 'X') && LexCharUtils.IsHexDigit(ChPeek(2)))
268
Contracts.Assert(LexCharUtils.IsDigit(
ChCur
) ||
ChCur
== '.' && LexCharUtils.IsDigit(ChPeek(1)));
270
bool fDot =
ChCur
== '.';
272
_sb.Append(
ChCur
);
282
else if (!LexCharUtils.IsDigit(
ChCur
))
284
_sb.Append(
ChCur
);
288
if (
ChCur
== 'e' ||
ChCur
== 'E')
294
_sb.Append(
ChCur
);
316
Contracts.Assert(LexCharUtils.IsHexDigit(
ChCur
));
328
u = (u << 4) + (ulong)LexCharUtils.GetHexVal(
ChCur
);
405
if (
ChCur
== 'U' ||
ChCur
== 'u')
411
else if (
ChCur
== 'L' ||
ChCur
== 'l')
431
switch (
ChCur
)
462
if (
ChCur
== '@')
466
Contracts.Assert(
ChCur
== '"');
470
char ch =
ChCur
;
474
if (
ChCur
!= '"')
492
Contracts.Assert(
ChCur
== '"' ||
ChCur
== '\'');
493
chQuote =
ChCur
;
498
char ch =
ChCur
;
521
if (
ChCur
!= chQuote)
540
Contracts.Assert(
ChCur
== '\\');
559
switch (
ChCur
)
618
if (!LexCharUtils.IsHexDigit(
ChCur
))
625
u = (u << 4) + (uint)LexCharUtils.GetHexVal(
ChCur
);
654
if (
ChCur
== '@')
678
Contracts.Assert(LexCharUtils.IsIdentStart(
ChCur
));
684
if (
ChCur
== '\\')
700
if (!LexCharUtils.IsIdent(
ChCur
))
702
ch =
ChCur
;
721
Contracts.Assert(
ChCur
== '/');
737
_sb.Append(
ChCur
);
753
char ch =
ChCur
;
762
if (ch == '*' &&
ChCur
== '/')
784
Contracts.Assert(LexCharUtils.StartKind(
ChCur
) == LexStartKind.Space);
798
Contracts.Assert(LexCharUtils.StartKind(
ChCur
) == LexStartKind.LineTerm);
800
if (
ChCur
== '\xD' && ChPeek(1) == '\xA')
803
sb.Append(
ChCur
);
806
char ch =
ChCur
;
838
_sb.AppendFormat("{0}({1})",
ChCur
, LexCharUtils.GetUniEscape(
ChCur
));