GNUnet  0.19.2
warningfilter.py File Reference

Go to the source code of this file.

Namespaces

 warningfilter
 

Functions

def warningfilter.sep_re (field, separator)
 

Variables

string warningfilter.fileclass = r"[\w-]"
 
string warningfilter.filename = rf"{fileclass}+"
 
string warningfilter.filepath = rf"{sep_re(filename, '/')}\.(?:\w+)"
 
string warningfilter.main_match = rf"(?P<path>/{filepath}|\[generated\]):(?P<linenumber>\d+): warning:"
 
string warningfilter.type_name = rf"(?:const )?(?:unsigned (?:long )?|struct |enum )?(?:\w+)(?: \*?const)? \*{{0,3}}"
 
string warningfilter.var_def = rf"{type_name}\w+(?:\[(?:\‍(\d+/\d+\‍))?\])?"
 
string warningfilter.func_params = rf"\‍({sep_re(var_def, ', ')}(?:,\.\.\.)?\‍)"
 
string warningfilter.simple_name = r"\w+"
 
string warningfilter.func_name = simple_name
 
string warningfilter.verbose_name = rf"{sep_re(simple_name, ' ')}"
 
string warningfilter.command_re = "(?:</[^>]+>|\\\w+)"
 
string warningfilter.macro_params = rf"\‍({sep_re(simple_name, ', ')}(?:,\.\.\.)?\‍)"
 
dictionary warningfilter.matches
 
 warningfilter.parser_choices
 
 warningfilter.parser = ap.ArgumentParser()
 
 warningfilter.action
 
 warningfilter.choices
 
 warningfilter.dest
 
 warningfilter.args = parser.parse_args()
 
dictionary warningfilter.sorted_lines = {k:[] for k in matches.keys()}
 
list warningfilter.unsorted_lines = []
 
dictionary warningfilter.processed_lines
 
dictionary warningfilter.counts = {k: len(v) for k, v in processed_lines.items()}