compiler/modules/importer

  Source   Edit

This module implements the symbol importing mechanism.

Procs

proc declarePureEnumField(c: PContext; s: PSym) {....raises: [KeyError, Exception],
    tags: [ReadDirEffect, RootEffect].}
  Source   Edit
proc evalFrom(c: PContext; n: PNode): PNode {.
    ...raises: [Exception, ERecoverableError, ValueError, OSError, KeyError],
    tags: [RootEffect, ReadEnvEffect, ReadIOEffect, ReadDirEffect].}
  Source   Edit
proc evalImport(c: PContext; n: PNode): PNode {.
    ...raises: [Exception, ERecoverableError, ValueError, OSError, KeyError],
    tags: [RootEffect, ReadEnvEffect, ReadIOEffect, ReadDirEffect].}
  Source   Edit
proc evalImportExcept(c: PContext; n: PNode): PNode {.
    ...raises: [Exception, ERecoverableError, ValueError, OSError, KeyError],
    tags: [RootEffect, ReadEnvEffect, ReadIOEffect, ReadDirEffect].}
  Source   Edit
proc importAllSymbols(c: PContext; fromMod: PSym) {.
    ...raises: [KeyError, Exception, ERecoverableError],
    tags: [ReadDirEffect, RootEffect].}
  Source   Edit