rod

This module implements the canonalization for the various caching mechanisms.

Imports

ast, idgen, lineinfos, incremental, modulegraphs, pathutils

Procs

proc loadModuleSym(g: ModuleGraph; fileIdx: FileIndex; fullpath: AbsoluteFile): (
    PSym, int) {...}{.inline, raises: [], tags: [].}
Source Edit

Templates

template setupModuleCache(g: ModuleGraph)
Source Edit
template storeNode(g: ModuleGraph; module: PSym; n: PNode)
Source Edit
template loadNode(g: ModuleGraph; module: PSym): PNode
Source Edit
template addModuleDep(g: ModuleGraph; module, fileIdx: FileIndex;
                      isIncludeFile: bool)
Source Edit
template storeRemaining(g: ModuleGraph; module: PSym)
Source Edit
template registerModule(g: ModuleGraph; module: PSym)
Source Edit

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