def register_messages_from_checker(self, checker):
checker.check_consistency()<EOL>for message in checker.messages:<EOL><INDENT>self.register_message(message)<EOL><DEDENT>
Register all messages from a checker.

        :param BaseChecker checker: