# compiler/importer

Dark Mode

- Index

Search:
Group by:
Source Edit

This module implements the symbol importing mechanism.

# Imports

ast, astalgo, msgs, options, idents, lookups, semdata, modulepaths, sigmatch, lineinfos, modulegraphs, wordrecg

# Procs

    proc declarePureEnumField(c: PContext; s: PSym) {....raises: [KeyError, Exception],
        tags: [ReadDirEffect, RootEffect].}

  Source Edit

    proc evalFrom(c: PContext; n: PNode): PNode {....raises: [Exception, ValueError,
        KeyError, IOError, ERecoverableError, OSError], tags: [RootEffect,
        ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}

  Source Edit

    proc evalImport(c: PContext; n: PNode): PNode {....raises: [KeyError, Exception,
        ValueError, IOError, ERecoverableError, OSError], tags: [RootEffect,
        ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}

  Source Edit

    proc evalImportExcept(c: PContext; n: PNode): PNode {....raises: [Exception,
        ValueError, KeyError, IOError, ERecoverableError, OSError], tags: [
        RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}

  Source Edit

    proc importAllSymbols(c: PContext; fromMod: PSym) {.
        ...raises: [KeyError, Exception, ValueError, IOError, ERecoverableError], tags: [
        ReadDirEffect, RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}

  Source Edit

    proc readExceptSet(c: PContext; n: PNode): IntSet {.
        ...raises: [Exception, KeyError, ValueError, IOError, ERecoverableError], tags: [
        RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}

  Source Edit