sdk/dotnet/src/Microsoft.Datasync.Client/Query/OData/ODataExpressionParser.cs
/// <summary>
/// Parses a member access node.  If the potential node is a function,
/// then parses the function instead.
/// </summary>
/// <param name="instance">The parsed expression.</param>
/// <returns>A <see cref="QueryNode"/> representing the expression.</returns>
Parses a member access node.  If the potential node is a function,
then parses the function instead.
Parses a member access node . If the potential node is a function then parses the function instead .
private QueryNode ParseMemberAccess(QueryNode instance)
        {
            var errorPosition = lexer.Token.Position;
            string id = GetIdentifier();
            lexer.NextToken();
            if (lexer.Token.Kind == QueryTokenKind.OpenParen)
            {
                return ParseFunction(id, errorPosition);
            }
            else
            {
                return new MemberAccessNode(instance, id);
            }
        }
private QueryNode ParseMemberAccess ( QueryNode instance ) { var errorPosition = lexer . Token . Position ; string id = GetIdentifier ( ) ; lexer . NextToken ( ) ; if ( lexer . Token . Kind == QueryTokenKind . OpenParen ) { return ParseFunction ( id , errorPosition ) ; } else { return new MemberAccessNode ( instance , id ) ; } }
Parses a member access node.
Parses a member access node .
A  representing the expression.
A representing the expression .
instance
QueryNode
The parsed expression.
The parsed expression .