code: def parse(self, input):
          
          query = None
          for handler in self._line_handlers:
              try:
                  query = handler.handle(input)
              except Exception as e:
                  query = None
              finally:
                  if query is not None:
                      return query
          return None
docs: Passes input to each QueryLineHandler in use