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