magicsys

Imports

ast, astalgo, msgs, platform, idents, modulegraphs, lineinfos

Procs

proc nilOrSysInt(g: ModuleGraph): PType {...}{.raises: [], tags: [].}
Source Edit
proc registerSysType(g: ModuleGraph; t: PType) {...}{.raises: [], tags: [].}
Source Edit
proc getSysSym(g: ModuleGraph; info: TLineInfo; name: string): PSym {...}{.
    raises: [Exception, ValueError, IOError, ERecoverableError],
    tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
Source Edit
proc getSysMagic(g: ModuleGraph; info: TLineInfo; name: string; m: TMagic): PSym {...}{.
    raises: [Exception, ValueError, IOError, ERecoverableError],
    tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
Source Edit
proc sysTypeFromName(g: ModuleGraph; info: TLineInfo; name: string): PType {...}{.
    raises: [Exception, ValueError, IOError, ERecoverableError],
    tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
Source Edit
proc getSysType(g: ModuleGraph; info: TLineInfo; kind: TTypeKind): PType {...}{.
    raises: [Exception, ValueError, IOError, ERecoverableError],
    tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
Source Edit
proc resetSysTypes(g: ModuleGraph) {...}{.raises: [], tags: [].}
Source Edit
proc getIntLitType(g: ModuleGraph; literal: PNode): PType {...}{.
    raises: [Exception, ValueError, IOError, ERecoverableError],
    tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
Source Edit
proc getFloatLitType(g: ModuleGraph; literal: PNode): PType {...}{.raises: [],
    tags: [].}
Source Edit
proc skipIntLit(t: PType): PType {...}{.inline, raises: [], tags: [].}
Source Edit
proc addSonSkipIntLit(father, son: PType) {...}{.raises: [], tags: [].}
Source Edit
proc setIntLitType(g: ModuleGraph; result: PNode) {...}{.
    raises: [Exception, ValueError, IOError, ERecoverableError],
    tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
Source Edit
proc getCompilerProc(g: ModuleGraph; name: string): PSym {...}{.raises: [], tags: [].}
Source Edit
proc registerCompilerProc(g: ModuleGraph; s: PSym) {...}{.raises: [], tags: [].}
Source Edit
proc registerNimScriptSymbol(g: ModuleGraph; s: PSym) {...}{.
    raises: [Exception, ValueError, IOError, ERecoverableError],
    tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
Source Edit
proc getNimScriptSymbol(g: ModuleGraph; name: string): PSym {...}{.raises: [],
    tags: [].}
Source Edit
proc resetNimScriptSymbols(g: ModuleGraph) {...}{.raises: [], tags: [].}
Source Edit
proc getMagicEqSymForType(g: ModuleGraph; t: PType; info: TLineInfo): PSym {...}{.
    raises: [Exception, ValueError, IOError, ERecoverableError],
    tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
Source Edit

Exports

createMagic

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