GNUnet debian-0.24.3-29-g453fda2cf
 
Loading...
Searching...
No Matches
warningfilter.py File Reference

Go to the source code of this file.

Namespaces

namespace  warningfilter
 

Functions

 warningfilter.sep_re (field, separator)
 

Variables

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