src/POData/UriProcessor/QueryProcessor/ExpressionParser/ExpressionParser2.php
/**
     * Process an property access expression node for nullability
     * 
     * @param PropertyAccessExpression $expression            The property access 
     *                                                        expression node to process.
     * @param AbstractExpression       $parentExpression      The parent expression of 
     *                                                        expression node to process.
     * @param boolean                  $checkNullForMostChild Wheter to check null for 
     *                                                        most child node or not.
     * 
     * @return LogicalExpression|RelationalExpression|null
     */
Process an property access expression node for nullability

@param PropertyAccessExpression $expression            The property access
expression node to process.
@param AbstractExpression       $parentExpression      The parent expression of
expression node to process.
@param boolean                  $checkNullForMostChild Wheter to check null for
most child node or not.


Process an property access expression node for nullability @param PropertyAccessExpression $expression The property access expression node to process . @param AbstractExpression $parentExpression The parent expression of expression node to process . @param boolean $checkNullForMostChild Wheter to check null for most child node or not .
private function _processPropertyAccessNode(
        PropertyAccessExpression $expression, 
        $parentExpression, $checkNullForMostChild
    ) {
        $navigationsUsed = $expression->getNavigationPropertiesInThePath();
        if (!empty($navigationsUsed)) {
            $this->_navigationPropertiesUsedInTheExpression[] = $navigationsUsed;
        } 
        $nullableExpTree = $expression->createNullableExpressionTree($checkNullForMostChild);
        if ($parentExpression == null) {
            return new LogicalExpression(
                $nullableExpTree, 
                $expression, 
                ExpressionType::AND_LOGICAL
            );
        }
        return $nullableExpTree;
    }
private function _processPropertyAccessNode ( PropertyAccessExpression $ expression , $ parentExpression , $ checkNullForMostChild ) { $ navigationsUsed = $ expression -> getNavigationPropertiesInThePath ( ) ; if ( ! empty ( $ navigationsUsed ) ) { $ this -> _navigationPropertiesUsedInTheExpression [ ] = $ navigationsUsed ; } $ nullableExpTree = $ expression -> createNullableExpressionTree ( $ checkNullForMostChild ) ; if ( $ parentExpression == null ) { return new LogicalExpression ( $ nullableExpTree , $ expression , ExpressionType :: AND_LOGICAL ) ; } return $ nullableExpTree ; }
Process an property access expression node for nullability
Process an property access expression node for nullability