This module implements the searching for procs and iterators. This is needed for proper handling of forward declarations.
proc searchForProc(c: PContext; scope: PScope; fn: PSym): tuple[proto: PSym, comesFromShadowScope: bool] {....raises: [Exception, ERecoverableError], tags: [RootEffect].}