knit_script.debugger.exit_frame_decorator module
A module containing a decorator for tracking debuggable frames when entering a subscope in knitscript.
- exits_scope(scope_exiting_method)[source]
Decorates a method that exits the current scope
- Parameters:
scope_exiting_method (Callable[[Knit_Script_Debuggable_Protocol, ], bool]) – The scoping method to wrap.
- Returns:
The wrapped scoping method.
- Return type:
Callable[[Knit_Script_Debuggable_Protocol, ], bool]