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