mdpo.event module
Custom events executed during the parsing process of an implementation.
- mdpo.event._block_msg(block, details)
- mdpo.event.add_debug_events(implementation_name, events)
Add debugging events to an events dict.
- mdpo.event.debug_events(program)
Debugging events for interfaces. Displays in STDOUT all event targets.
- mdpo.event.parse_events_kwarg(events_kwarg)
Parse
events
kwarg passed to implementations.Each event can be a function or a path to a function inside a file using the syntax
path/to/file.py::function
.
- mdpo.event.raise_skip_event(events, event_name, *event_args)
Execute all functions defined for an event of a parser.
If a function returns
False
, this function will returnTrue
meaning that an event is trying to skip the associated function.