def attempt_BooleanExpression(self, expression, context):
        while self.inRange(0):
            tok = self.token(0)
            factory = self.get_BooleanExpression_factory(tok)
            if factory and self.has_priority(tok, context):
                self.token() #swallow the operator
                expression = self.make_BooleanExpression(factory, expression,
                                                         self.process_next_expression(tok))
            else:
                break
        return expression
Attempt to make a boolean expression.  If the next token is a boolean
dataset/ETHPy150Open nltk/nltk/nltk/sem/logic.py/LogicParser.attempt_BooleanExpression