2 writes to token
System.Data.Services (2)
System\Data\Services\Parsing\ExpressionLexer.cs (2)
83
set { this.
token
= value; }
315
this.
token
= savedToken;
23 references to token
System.Data.Services (23)
System\Data\Services\Parsing\ExpressionLexer.cs (23)
82
get { return this.
token
; }
95
get { return this.
token
.Position; }
239
this.
token
.Id = t;
240
this.
token
.Text = this.text.Substring(tokenPos, this.textPos - tokenPos);
241
this.
token
.Position = tokenPos;
247
if (this.
token
.Id == TokenId.Identifier)
249
if (IsInfinityOrNaNDouble(this.
token
.Text))
251
this.
token
.Id = TokenId.DoubleLiteral;
253
else if (IsInfinityOrNanSingle(this.
token
.Text))
255
this.
token
.Id = TokenId.SingleLiteral;
257
else if (this.
token
.Text == ExpressionConstants.KeywordTrue || this.
token
.Text == ExpressionConstants.KeywordFalse)
259
this.
token
.Id = TokenId.BooleanLiteral;
261
else if (this.
token
.Text == ExpressionConstants.KeywordNull)
263
this.
token
.Id = TokenId.NullLiteral;
308
Token savedToken = this.
token
;
311
Token result = this.
token
;
324
if (this.
token
.Id != t)
412
TokenId id = this.
token
.Id;
424
string tokenText = this.
token
.Text;
442
int tokenPos = this.
token
.Position;
455
this.
token
.Id = id;
456
this.
token
.Text = this.text.Substring(tokenPos, this.textPos - tokenPos);