def METHOD_NAME(self, record, result, module):
    """
    Parse the record and maybe add it to the result.
    The records parsed from "record" will be added to "result"
    as the data entry for "module".
    If module is empty or None, it means we couldn't get a module
    name, so don't really do the parsing as a name is strictly required.
    """
    if not module:
        return
    not_a_stream = "".join(record)
    parser = ModinfoParser(not_a_stream)
    data = parser.get_all()
    if any(data.values()):
        result.addModuleInfo(module, data)