#include <eh.py.h>
This representation is used to simplify suppressions and just groups all the data in a notification event into a class.
Public Member Functions | |
| __init__ (py_ecode, py_event, py_etype, py_function, py_file, py_line, py_rfile, py_rline, py_type, py_prop, py_ftype, py_extra) | |
| Match (event=None, function=None, decl_function=None, file=None, line=None, rfile=None, rline=None, type=None, prop=None, ftype=None, ecode=None, etype=None, extra=None, literal=False) | |
| __str__ () | |
| Returns a string representation of this notification event. | |
| GenMatch (event=True, function=True, decl_function=True, file=True, line=True, rfile=True, rline=True, type=True, prop=True, ftype=True, ecode=False, etype=False, loc=None, extra=True) | |
| Returns a string that can be used in a suppressions file to match this notification event and suppress it. | |
| eh.Notification.__init__ | ( | py_ecode | , | |
| py_event | , | |||
| py_etype | , | |||
| py_function | , | |||
| py_file | , | |||
| py_line | , | |||
| py_rfile | , | |||
| py_rline | , | |||
| py_type | , | |||
| py_prop | , | |||
| py_ftype | , | |||
| py_extra | ||||
| ) |
| eh.Notification.Match | ( | event | = None, |
|
| function | = None, |
|||
| decl_function | = None, |
|||
| file | = None, |
|||
| line | = None, |
|||
| rfile | = None, |
|||
| rline | = None, |
|||
| type | = None, |
|||
| prop | = None, |
|||
| ftype | = None, |
|||
| ecode | = None, |
|||
| etype | = None, |
|||
| extra | = None, |
|||
| literal | = False | |||
| ) |
| eh.Notification.__str__ | ( | ) |
Returns a string representation of this notification event.
usually used in debugging.
| eh.Notification.GenMatch | ( | event | = True, |
|
| function | = True, |
|||
| decl_function | = True, |
|||
| file | = True, |
|||
| line | = True, |
|||
| rfile | = True, |
|||
| rline | = True, |
|||
| type | = True, |
|||
| prop | = True, |
|||
| ftype | = True, |
|||
| ecode | = False, |
|||
| etype | = False, |
|||
| loc | = None, |
|||
| extra | = True | |||
| ) |
Returns a string that can be used in a suppressions file to match this notification event and suppress it.
1.5.1