proc applyRule(c: PContext; s: PSym; n: PNode): PNode {.
...raises: [Exception, KeyError, ERecoverableError, ValueError, IOError], tags: [
RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
returns a tree to semcheck if the rule triggered; nil otherwise
Source
Edit