2 instantiations of TextSpan
Microsoft.ML.Transforms (2)
Expression\Lexer.cs (2)
123var span = new TextSpan(_ichMinTok, _cursor.IchCur); 130return new TextSpan(ichMin, ichLim);
23 references to TextSpan
Microsoft.ML.Transforms (23)
Expression\LambdaParser.cs (1)
24public SourcePos(List<int> lineMap, TextSpan span, int lineMin = 1)
Expression\Lexer.cs (4)
121private TextSpan GetSpan() 123var span = new TextSpan(_ichMinTok, _cursor.IchCur); 128private TextSpan GetTextSpan(int ichMin, int ichLim) 367TextSpan span = GetSpan();
Expression\Tokens.cs (18)
34public readonly TextSpan Span; 36protected Token(TextSpan span, TokKind tid) 43protected Token(TextSpan span, TokKind tid, TokKind tidContext) 67public static KeyToken Create(TextSpan span, TokKind tid) 72public static Token CreateKeyWord(TextSpan span, string str, TokKind tid, bool isContextKeyWord) 79private KeyToken(TextSpan span, TokKind tid) 88public IdentToken(TextSpan span, string val) : base(span, TokKind.Ident) { Value = val; } 89public IdentToken(TextSpan span, string val, TokKind tidContext) : base(span, TokKind.Ident, tidContext) { Value = val; } 111protected NumLitToken(TextSpan span, TokKind tid) 122public IntLitToken(TextSpan span, ulong val, IntLitKind ilk) 148public FltLitToken(TextSpan span, float val) : base(span, TokKind.FltLit) { Value = val; } 163public DblLitToken(TextSpan span, double val, bool hasSuf) 199public CharLitToken(TextSpan span, char val) : base(span, TokKind.CharLit) { Value = val; } 213public StrLitToken(TextSpan span, string val) : base(span, TokKind.StrLit) { Value = val; } 247public CommentToken(TextSpan span, string val, int lines) 259public NewLineToken(TextSpan span, bool fNested) 272public ErrorToken(TextSpan span, ErrId eid, params object[] args) 287public EofToken(TextSpan span)