sdk/dotnet/src/Microsoft.Datasync.Client/Query/OData/ODataExpressionParser.cs
/// <summary>
/// Parses a set of comparison clauses.
/// </summary>
/// <returns>A <see cref="QueryNode"/> representing the expression.</returns>
Parses a set of comparison clauses.
Parses a set of comparison clauses .
private QueryNode ParseComparison()
        {
            QueryNode left = ParseAdditive();
            while (lexer.Token.Kind.IsComparisonOperator())
            {
                QueryTokenKind operatorKind = lexer.Token.Kind;
                lexer.NextToken();
                QueryNode right = ParseAdditive();
                left = new BinaryOperatorNode(operatorKind.ToBinaryOperatorKind(), left, right);
            }
            return left;
        }
private QueryNode ParseComparison ( ) { QueryNode left = ParseAdditive ( ) ; while ( lexer . Token . Kind . IsComparisonOperator ( ) ) { QueryTokenKind operatorKind = lexer . Token . Kind ; lexer . NextToken ( ) ; QueryNode right = ParseAdditive ( ) ; left = new BinaryOperatorNode ( operatorKind . ToBinaryOperatorKind ( ) , left , right ) ; } return left ; }
Parses a set of comparison clauses.
Parses a set of comparison clauses .
A  representing the expression.
A representing the expression .