coordle/backend/coordle_backend.py
def parse(self, q: deque) -> set:
        '''
        Given a deque of querytokens, parse it. E.g.
        deque([cat,AND,dog,OR,deque([bear,NOT,panda]),OR,horse])
        The inner deques is when there are parenthesis. 
        '''
        if len(q) == 0:
            return set()

        results = self._parse_difference(q)
        return results

        Given a deque of querytokens, parse it. E.g.
        deque([cat,AND,dog,OR,deque([bear,NOT,panda]),OR,horse])
        The inner deques is when there are parenthesis. 
        
Given a deque of querytokens, parse it.
Given a deque of querytokens parse it .
def parse(self, q: deque) -> set:
        if len(q) == 0:
            return set()
        results = self._parse_difference(q)
        return results
def parse ( self , q : deque ) -> set : if len ( q ) == 0 : return set ( ) results = self . _parse_difference ( q ) return results
Given a deque of querytokens, parse it.
Given a deque of querytokens parse it .
'''
        Given a deque of querytokens, parse it. E.g.
        deque([cat,AND,dog,OR,deque([bear,NOT,panda]),OR,horse])
        The inner deques is when there are parenthesis. 
        '''
self
q
deque