13 references to GetSpan
Microsoft.ML.Transforms (13)
Expression\Lexer.cs (13)
241return KeyToken.Create(GetSpan(), tidPunc); 334return new IntLitToken(GetSpan(), u, LexIntSuffix() | IntLitKind.Hex); 356return new IntLitToken(GetSpan(), u, ilk); 367TextSpan span = GetSpan(); 528return new StrLitToken(GetSpan(), _sb.ToString()); 532return new CharLitToken(GetSpan(), _sb.Length > 0 ? _sb[0] : '\0'); 671return KeyToken.CreateKeyWord(GetSpan(), nstr.Value.ToString(), kind.Kind, kind.IsContextKeyWord); 673return new IdentToken(GetSpan(), nstr.Value.ToString()); 736return new CommentToken(GetSpan(), _sb.ToString(), 0); 773return KeyToken.CreateKeyWord(GetSpan(), nstr.ToString(), kind.Kind, kind.IsContextKeyWord); 774return new CommentToken(GetSpan(), _sb.ToString(), lines); 812_queue.Enqueue(new NewLineToken(GetSpan(), false)); 840return new ErrorToken(GetSpan(), ErrId.BadChar, _sb.ToString());