importer

This module implements the symbol importing mechanism.

Imports

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

Procs

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

© 2006–2021 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/compiler/importer.html