doxyth/utils/postprocess.py
def postprocess_dispatcher(postprocess: str, filename, lines):
    """
    ### &doc_id postprocess:dispatcher

    Dispatches the file_name name and lines to the right class, depending on the postprocess string given

    Args:
        postprocess: The string of the postprocess, taken directly from the command line argument
        filename: The file_name name
        lines: The file_name lines
    """

    if postprocess not in available_postprocesses:
        raise Exception(f"Postprocess {postprocess} not recognised. Available postprocesses: "
                        f"{' / '.join(available_postprocesses)}")

    if postprocess == 'doxypypy':
        DoxypypyPostProcess()(filename, lines)

    ### &doc_id postprocess:dispatcher

    Dispatches the file_name name and lines to the right class, depending on the postprocess string given

    Args:
        postprocess: The string of the postprocess, taken directly from the command line argument
        filename: The file_name name
        lines: The file_name lines
    
&doc_id postprocess:dispatcher
Dispatches the file_name name and lines to the right class, depending on the postprocess string given
&doc_id postprocess : dispatcher Dispatches the file_name name and lines to the right class depending on the postprocess string given
def postprocess_dispatcher(postprocess: str, filename, lines):
    if postprocess not in available_postprocesses:
        raise Exception(f"Postprocess {postprocess} not recognised. Available postprocesses: "
                        f"{' / '.join(available_postprocesses)}")
    if postprocess == 'doxypypy':
        DoxypypyPostProcess()(filename, lines)
def postprocess_dispatcher ( postprocess : str , filename , lines ) : if postprocess not in available_postprocesses : raise Exception ( f"Postprocess {postprocess} not recognised. Available postprocesses: " f"{' / '.join(available_postprocesses)}" ) if postprocess == 'doxypypy' : DoxypypyPostProcess ( ) ( filename , lines )
&doc_id postprocess:dispatcher
Dispatches the file_name name and lines to the right class, depending on the postprocess string given
&doc_id postprocess : dispatcher Dispatches the file_name name and lines to the right class depending on the postprocess string given
"""
    ### &doc_id postprocess:dispatcher

    Dispatches the file_name name and lines to the right class, depending on the postprocess string given

    Args:
        postprocess: The string of the postprocess, taken directly from the command line argument
        filename: The file_name name
        lines: The file_name lines
    """
postprocess
str
The string of the postprocess, taken directly from the command line argument
The string of the postprocess taken directly from the command line argument
filename
The file_name name
The file_name name
lines
The file_name lines
The file_name lines