bridgepoint/oal.py
def p_select_related_where_statement(self, p):
        '''
        statement : SELECT ONE  variable_name RELATED BY navigation_hook navigation_chain WHERE expression
                  | SELECT ANY  variable_name RELATED BY navigation_hook navigation_chain WHERE expression
                  | SELECT MANY variable_name RELATED BY navigation_hook navigation_chain WHERE expression
        '''
        p[0] = SelectRelatedWhereNode(cardinality=p[2],
                                      variable_name=p[3],
                                      handle=p[6],
                                      navigation_chain=p[7],
                                      where_clause=p[9])
def p_select_related_where_statement(self, p):
        '''
        statement : SELECT ONE  variable_name RELATED BY navigation_hook navigation_chain WHERE expression
                  | SELECT ANY  variable_name RELATED BY navigation_hook navigation_chain WHERE expression
                  | SELECT MANY variable_name RELATED BY navigation_hook navigation_chain WHERE expression
        '''
        p[0] = SelectRelatedWhereNode(cardinality=p[2],
                                      variable_name=p[3],
                                      handle=p[6],
                                      navigation_chain=p[7],
                                      where_clause=p[9])
def p_select_related_where_statement ( self , p ) : p [ 0 ] = SelectRelatedWhereNode ( cardinality = p [ 2 ] , variable_name = p [ 3 ] , handle = p [ 6 ] , navigation_chain = p [ 7 ] , where_clause = p [ 9 ] )
statement : SELECT ONE  variable_name RELATED BY navigation_hook navigation_chain WHERE expression
                  | SELECT ANY  variable_name RELATED BY navigation_hook navigation_chain WHERE expression
                  | SELECT MANY variable_name RELATED BY navigation_hook navigation_chain WHERE expression
statement : SELECT ONE variable_name RELATED BY navigation_hook navigation_chain WHERE expression | SELECT ANY variable_name RELATED BY navigation_hook navigation_chain WHERE expression | SELECT MANY variable_name RELATED BY navigation_hook navigation_chain WHERE expression