def check_astroid_module(self, ast_node, walker, rawcheckers, tokencheckers):
try:<EOL><INDENT>tokens = utils.tokenize_module(ast_node)<EOL><DEDENT>except tokenize.TokenError as ex:<EOL><INDENT>self.add_message("<STR_LIT>", line=ex.args[<NUM_LIT:1>][<NUM_LIT:0>], args=ex.args[<NUM_LIT:0>])<EOL>return None<EOL><DEDENT>if not ast_node.pure_python:<EOL><INDENT>self.add_message("<STR_LIT>", args=ast_node.name)<EOL><DEDENT>else:<EOL><INDENT>self.process_tokens(tokens)<EOL>if self._ignore_file:<EOL><INDENT>return False<EOL><DEDENT>self.file_state.collect_block_lines(self.msgs_store, ast_node)<EOL>for checker in rawcheckers:<EOL><INDENT>checker.process_module(ast_node)<EOL><DEDENT>for checker in tokencheckers:<EOL><INDENT>checker.process_tokens(tokens)<EOL><DEDENT><DEDENT>walker.walk(ast_node)<EOL>return True<EOL>
Check a module from its astroid representation.