1 write to CurrentToken
System.Data.Services (1)
System\Data\Services\Parsing\RequestQueryParser.cs (1)
1716
this.
CurrentToken
= numberLiteral;
35 references to CurrentToken
System.Data.Services (35)
System\Data\Services\Parsing\RequestQueryParser.cs (35)
326
if (this.
CurrentToken
.Id != TokenId.Comma)
1374
Token op = this.
CurrentToken
;
1393
Token op = this.
CurrentToken
;
1410
while (this.
CurrentToken
.IsComparisonOperator)
1412
Token op = this.
CurrentToken
;
1646
while (this.
CurrentToken
.IdentifierIs(ExpressionConstants.KeywordAdd) ||
1647
this.
CurrentToken
.IdentifierIs(ExpressionConstants.KeywordSub))
1649
Token op = this.
CurrentToken
;
1675
while (this.
CurrentToken
.IdentifierIs(ExpressionConstants.KeywordMultiply) ||
1676
this.
CurrentToken
.IdentifierIs(ExpressionConstants.KeywordDivide) ||
1677
this.
CurrentToken
.IdentifierIs(ExpressionConstants.KeywordModulo))
1679
Token op = this.
CurrentToken
;
1707
if (this.
CurrentToken
.Id == TokenId.Minus || this.
CurrentToken
.IdentifierIs(ExpressionConstants.KeywordNot))
1709
Token op = this.
CurrentToken
;
1711
if (op.Id == TokenId.Minus && (ExpressionLexer.IsNumeric(this.
CurrentToken
.Id)))
1713
Token numberLiteral = this.
CurrentToken
;
1749
if (this.
CurrentToken
.Id == TokenId.Slash)
1808
if (this.
CurrentToken
.Id != TokenId.OpenParen)
1810
throw ParseError(Strings.RequestQueryParser_OpenParenExpected(this.
CurrentToken
.Position));
1815
if (this.
CurrentToken
.Id != TokenId.CloseParen)
1817
throw ParseError(Strings.RequestQueryParser_CloseParenOrOperatorExpected(this.
CurrentToken
.Position));
1848
Token functionToken = this.
CurrentToken
;
1996
Debug.Assert(this.
CurrentToken
.Id == TokenId.BooleanLiteral, "this.CurrentToken.Id == TokenId.BooleanLiteral");
1997
string originalText = this.
CurrentToken
.Text;
2038
string id = this.
CurrentToken
.GetIdentifier();
2127
if (this.
CurrentToken
.Id != TokenId.OpenParen)
2129
throw ParseError(Strings.RequestQueryParser_OpenParenExpected(this.
CurrentToken
.Position));
2133
Expression[] args = this.
CurrentToken
.Id != TokenId.CloseParen ? this.ParseArguments() : emptyExpressions;
2134
if (this.
CurrentToken
.Id != TokenId.CloseParen)
2136
throw ParseError(Strings.RequestQueryParser_CloseParenOrCommaExpected(this.
CurrentToken
.Position));
2151
if (this.
CurrentToken
.Id != TokenId.Comma)
2568
return this.
CurrentToken
.IdentifierIs(id);
2575
if (this.
CurrentToken
.Id != t)
2577
throw ParseError(Strings.RequestQueryParser_SyntaxError(this.
CurrentToken
.Position));