compiler/transf

  Source   Edit

Procs

proc commonOptimizations(g: ModuleGraph; idgen: IdGenerator; c: PSym; n: PNode): PNode {.
    ...raises: [KeyError, Exception, ValueError, IOError, ERecoverableError], tags: [
    ReadDirEffect, RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect,
    TimeEffect].}
  Source   Edit
proc transformBody(g: ModuleGraph; idgen: IdGenerator; prc: PSym; cache: bool): PNode {.
    ...raises: [KeyError, Exception, ValueError, IOError, ERecoverableError], tags: [
    ReadDirEffect, RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect,
    TimeEffect].}
  Source   Edit
proc transformExpr(g: ModuleGraph; idgen: IdGenerator; module: PSym; n: PNode): PNode {.
    ...raises: [Exception, ValueError, KeyError, IOError, ERecoverableError], tags: [
    RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect,
    TimeEffect].}
  Source   Edit
proc transformStmt(g: ModuleGraph; idgen: IdGenerator; module: PSym; n: PNode): PNode {.
    ...raises: [Exception, ValueError, KeyError, IOError, ERecoverableError], tags: [
    RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect,
    TimeEffect].}
  Source   Edit