new symbol files: loading of ASTs and module graphs

This commit is contained in:
Araq 2018-02-17 00:37:41 +01:00
commit 564cff729a
2 changed files with 378 additions and 2 deletions

View file

@ -14,6 +14,7 @@ import ast, idgen
when not defined(nimSymbolfiles):
template setupModuleCache* = discard
template storeNode*(module: PSym; n: PNode) = discard
template loadNode*(module: PSym; index: var int): PNode = discard
template getModuleId*(fullpath: string): int = getID()