compiler/evaltempl

  Source   Edit

Template evaluation engine. Now hygienic.

Procs

proc evalTemplate(n: PNode; tmpl, genSymOwner: PSym; conf: ConfigRef;
                  ic: IdentCache; instID: ref int; idgen: IdGenerator;
                  fromHlo = false): PNode {....raises: [Exception, ValueError,
    KeyError, OSError, IOError, ERecoverableError], tags: [RootEffect,
    ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
  Source   Edit
proc wrapInComesFrom(info: TLineInfo; sym: PSym; res: PNode): PNode {.
    ...raises: [], tags: [].}
  Source   Edit