☰

# modules

Theme:

- Index

Search:
Group by:
Source Edit

Implements the module handling, including the caching of modules.

# Imports

ast, magicsys, msgs, options, idents, lexer, syntaxes, modulegraphs, lineinfos, pathutils

# Procs

    proc includeModule(graph: ModuleGraph; s: PSym; fileIdx: FileIndex): PNode {....raises: [
        Exception, ValueError, OSError, KeyError, IOError, ERecoverableError], tags: [
        RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
        forbids: [].}

  Source Edit

    proc makeModule(graph: ModuleGraph; filename: AbsoluteFile): PSym {....raises: [
        Exception, ValueError, OSError, KeyError, IOError, ERecoverableError], tags: [
        RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
        forbids: [].}

  Source Edit

    proc makeModule(graph: ModuleGraph; filename: string): PSym {....raises: [
        Exception, ValueError, OSError, KeyError, IOError, ERecoverableError], tags: [
        RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
        forbids: [].}

  Source Edit

    proc makeStdinModule(graph: ModuleGraph): PSym {....raises: [Exception, ValueError,
        OSError, KeyError, IOError, ERecoverableError], tags: [RootEffect,
        ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect], forbids: [].}

  Source Edit

    proc newModule(graph: ModuleGraph; fileIdx: FileIndex): PSym {....raises: [
        Exception, ValueError, OSError, KeyError, IOError, ERecoverableError], tags: [
        RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
        forbids: [].}

  Source Edit

    proc partialInitModule(result: PSym; graph: ModuleGraph; fileIdx: FileIndex;
                           filename: AbsoluteFile) {....raises: [KeyError],
        tags: [ReadDirEffect], forbids: [].}

  Source Edit

    proc resetSystemArtifacts(g: ModuleGraph) {....raises: [], tags: [], forbids: [].}

  Source Edit

    proc wantMainModule(conf: ConfigRef) {....raises: [Exception, ValueError, OSError,
        KeyError, IOError, ERecoverableError], tags: [RootEffect, ReadDirEffect,
        WriteIOEffect, ReadIOEffect, ReadEnvEffect], forbids: [].}

  Source Edit