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