def parse(self, data):
try:<EOL><INDENT>return self.yacc.parse(data, lexer=self.lex)<EOL><DEDENT>except:<EOL><INDENT>return None<EOL><DEDENT>
Parses a license list and returns a License or None if it failed.