5 writes to Position
System.Data.Services (5)
System\Data\Services\Parsing\ExpressionLexer.cs (1)
241
this.token.
Position
= tokenPos;
System\Data\Services\Parsing\RequestQueryParser.cs (1)
1715
numberLiteral.
Position
= op.Position;
System\Data\Services\Parsing\Token.cs (3)
22
internal static readonly Token GreaterThan = new Token { Text = ExpressionConstants.KeywordGreaterThan, Id = TokenId.Identifier,
Position
= 0 };
25
internal static readonly Token EqualsTo = new Token { Text = ExpressionConstants.KeywordEqual, Id = TokenId.Identifier,
Position
= 0 };
28
internal static readonly Token LessThan = new Token { Text = ExpressionConstants.KeywordLessThan, Id = TokenId.Identifier,
Position
= 0 };
27 references to Position
System.Data.Services (27)
System\Data\Services\Parsing\ExpressionLexer.cs (2)
95
get { return this.token.
Position
; }
442
int tokenPos = this.token.
Position
;
System\Data\Services\Parsing\RequestQueryParser.cs (23)
1377
this.CheckAndPromoteOperands(typeof(OperationSignatures.ILogicalSignatures), op.Text, ref left, ref right, op.
Position
);
1396
this.CheckAndPromoteOperands(typeof(OperationSignatures.ILogicalSignatures), op.Text, ref left, ref right, op.
Position
);
1516
Strings.RequestQueryParser_NullOperatorUnsupported(op.Text, op.
Position
, this.lexer.ExpressionText));
1553
throw ExpressionParser.IncompatibleOperandsError(op.Text, left, right, op.
Position
);
1562
Strings.RequestQueryParser_NullOperatorUnsupported(op.Text, op.
Position
, this.lexer.ExpressionText));
1583
this.CheckAndPromoteOperands(signatures, op.Text, ref left, ref right, op.
Position
);
1654
this.CheckAndPromoteOperands(typeof(OperationSignatures.IAddSignatures), op.Text, ref left, ref right, op.
Position
);
1660
this.CheckAndPromoteOperands(typeof(OperationSignatures.ISubtractSignatures), op.Text, ref left, ref right, op.
Position
);
1682
this.CheckAndPromoteOperands(typeof(OperationSignatures.IArithmeticSignatures), op.Text, ref left, ref right, op.
Position
);
1715
numberLiteral.Position = op.
Position
;
1724
this.CheckAndPromoteOperand(typeof(OperationSignatures.INegationSignatures), op.Text, ref expr, op.
Position
);
1729
this.CheckAndPromoteOperand(typeof(OperationSignatures.INotSignatures), op.Text, ref expr, op.
Position
);
1800
throw ParseError(Strings.RequestQueryParser_ExpressionExpected(l.CurrentToken.
Position
));
1810
throw ParseError(Strings.RequestQueryParser_OpenParenExpected(this.CurrentToken.
Position
));
1817
throw ParseError(Strings.RequestQueryParser_CloseParenOrOperatorExpected(this.CurrentToken.
Position
));
1851
throw ParseError(Strings.RequestQueryParser_UnknownFunction(functionToken.Text, functionToken.
Position
));
1856
throw ParseError(Strings.RequestQueryParser_UnknownFunction(functionToken.Text, functionToken.
Position
));
1911
functionToken.
Position
,
1925
functionToken.
Position
,
2020
string message = Strings.RequestQueryParser_UnrecognizedLiteral(targetTypeName, l.CurrentToken.Text, l.CurrentToken.
Position
);
2129
throw ParseError(Strings.RequestQueryParser_OpenParenExpected(this.CurrentToken.
Position
));
2136
throw ParseError(Strings.RequestQueryParser_CloseParenOrCommaExpected(this.CurrentToken.
Position
));
2577
throw ParseError(Strings.RequestQueryParser_SyntaxError(this.CurrentToken.
Position
));
System\Data\Services\Parsing\Token.cs (2)
90
return String.Format(System.Globalization.CultureInfo.InvariantCulture, "{0} @ {1}: [{2}]", this.Id, this.
Position
, this.Text);
99
throw DataServiceException.CreateSyntaxError(Strings.RequestQueryParser_IdentifierExpected(this.
Position
));