This module implements the pattern matching features for term rewriting macro support.
Procs
proc applyRule(c: PContext; s: PSym; n: PNode): PNode {....raises: [ValueError, IOError, KeyError, OSError, Exception, ERecoverableError], tags: [ WriteIOEffect, ReadEnvEffect, ReadIOEffect, RootEffect, ReadDirEffect], forbids: [].}
- returns a tree to semcheck if the rule triggered; nil otherwise Source Edit