1 write to CurrentToken
System.Data.Services (1)
System\Data\Services\Parsing\RequestQueryParser.cs (1)
249
set { this.lexer.
CurrentToken
= value; }
24 references to CurrentToken
System.Data.Services (24)
System\Data\Services\KeyInstance.cs (8)
204
Token currentToken = lexer.
CurrentToken
;
223
string identifier = lexer.
CurrentToken
.GetIdentifier();
225
if (lexer.
CurrentToken
.Id != TokenId.Equal)
231
if (!lexer.
CurrentToken
.IsKeyValueToken)
236
string namedValue = lexer.
CurrentToken
.Text;
256
positionalValues.Add(lexer.
CurrentToken
.Text);
266
currentToken = lexer.
CurrentToken
;
270
currentToken = lexer.
CurrentToken
;
System\Data\Services\Parsing\ExpressionLexer.cs (4)
278
string result = this.
CurrentToken
.Text;
280
while (this.
CurrentToken
.Id == TokenId.Dot)
286
builder = new StringBuilder(result, result.Length + 1 + this.
CurrentToken
.Text.Length);
290
builder.Append(this.
CurrentToken
.Text);
System\Data\Services\Parsing\RequestQueryParser.cs (8)
248
get { return this.lexer.
CurrentToken
; }
1351
Debug.Assert(l.
CurrentToken
.Id == TokenId.NullLiteral, "l.CurrentToken.Id == TokenId.NullLiteral");
1769
switch (l.
CurrentToken
.Id)
1800
throw ParseError(Strings.RequestQueryParser_ExpressionExpected(l.
CurrentToken
.Position));
2018
if (!WebConvert.TryKeyStringToPrimitive(l.
CurrentToken
.Text, targetType, out targetValue))
2020
string message = Strings.RequestQueryParser_UnrecognizedLiteral(targetTypeName, l.
CurrentToken
.Text, l.
CurrentToken
.Position);
2024
Expression result = this.CreateLiteral(targetValue, l.
CurrentToken
.Text);
System\Data\Services\RequestQueryProcessor.cs (4)
323
while (lexer.
CurrentToken
.Id != TokenId.End)
327
if (select && lexer.
CurrentToken
.Id == TokenId.Star)
329
identifier = lexer.
CurrentToken
.Text;
348
TokenId tokenId = lexer.
CurrentToken
.Id;