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