proc checkMethodEffects(g: ModuleGraph; disp, branch: PSym) {....raises: [
Exception, ValueError, KeyError, OSError, IOError, ERecoverableError], tags: [
RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
checks for consistent effects for multi methods.
Source
Edit
proc trackProc(c: PContext; s: PSym; body: PNode) {....raises: [Exception,
ValueError, KeyError, OSError, IOError, ERecoverableError], tags: [
RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect,
TimeEffect].}
Source
Edit
proc trackStmt(c: PContext; module: PSym; n: PNode; isTopLevel: bool) {....raises: [
Exception, ValueError, KeyError, OSError, IOError, ERecoverableError], tags: [
RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect,
TimeEffect].}
Source
Edit