AST to NIF bridge.
Types
DecodeContext = object
- Source Edit
ParsedSymName = object name*: string module*: string count*: int
- Source Edit
Procs
proc createDecodeContext(config: ConfigRef; cache: IdentCache): DecodeContext {. ...raises: [], tags: [], forbids: [].}
- Supposed to be a global variable Source Edit
proc loadNifModule(c: var DecodeContext; f: FileIndex): PNode {. ...raises: [Exception, OSError, ValueError, IOError, KeyError], tags: [ RootEffect, ReadEnvEffect, ReadIOEffect, WriteIOEffect, ReadDirEffect], forbids: [].}
- Source Edit
proc loadSym(c: var DecodeContext; s: PSym) {. ...raises: [ValueError, IOError, KeyError, OSError, Exception], tags: [WriteIOEffect, ReadEnvEffect, ReadIOEffect, RootEffect], forbids: [].}
- Source Edit
proc loadType(c: var DecodeContext; t: PType) {. ...raises: [ValueError, IOError, KeyError, OSError, Exception], tags: [WriteIOEffect, ReadEnvEffect, ReadIOEffect, RootEffect], forbids: [].}
- Source Edit
proc parseSymName(s: string): ParsedSymName {....raises: [], tags: [], forbids: [].}
- Source Edit
proc writeNifModule(config: ConfigRef; thisModule: int32; n: PNode) {. ...raises: [KeyError, Exception, OSError, IOError, ValueError], tags: [RootEffect, ReadEnvEffect, ReadIOEffect, WriteIOEffect], forbids: [].}
- Source Edit