suppose I use **scope_name **at the current point to find out if I'm inside some interesting scope. If positive, then I'd like to get the region for that particular scope, which isn't the one that **extract_scope **returns, but an outer one. How to get that region? I can only imagine move the point to out from the current scope and run **extract_scope **again.
Ideally it seems that the API for extract_scope could receive an additional argument: