importer

Search:
Group by:
Source   Edit  

This module implements the symbol importing mechanism.

Procs

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