Implements the module handling, including the caching of modules.
Procs
proc includeModule(graph: ModuleGraph; s: PSym; fileIdx: FileIndex): PNode {....raises: [ Exception, ValueError, KeyError, IOError, ERecoverableError, OSError], tags: [ RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect], forbids: [].}
- Source Edit
proc makeModule(graph: ModuleGraph; filename: AbsoluteFile): PSym {....raises: [ Exception, ValueError, KeyError, IOError, ERecoverableError, OSError], tags: [ RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect], forbids: [].}
- Source Edit
proc makeModule(graph: ModuleGraph; filename: string): PSym {....raises: [ Exception, ValueError, KeyError, IOError, ERecoverableError, OSError], tags: [ RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect], forbids: [].}
- Source Edit
proc makeStdinModule(graph: ModuleGraph): PSym {....raises: [Exception, ValueError, KeyError, IOError, ERecoverableError, OSError], tags: [RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect], forbids: [].}
- Source Edit
proc partialInitModule(result: PSym; graph: ModuleGraph; fileIdx: FileIndex; filename: AbsoluteFile) {. ...raises: [KeyError, ValueError, IOError, Exception, OSError], tags: [ ReadDirEffect, WriteIOEffect, RootEffect, ReadEnvEffect, ReadIOEffect], forbids: [].}
- Source Edit
proc resetSystemArtifacts(g: ModuleGraph) {....raises: [], tags: [], forbids: [].}
- Source Edit
proc wantMainModule(conf: ConfigRef) {....raises: [Exception, ValueError, KeyError, IOError, ERecoverableError], tags: [RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect], forbids: [].}
- Source Edit