compiler/modules/magicsys

  Source   Edit

Built-in types and compilerprocs are registered here.

Procs

proc addSonSkipIntLit(parent, kid: PType; id: IdGenerator) {....raises: [],
    tags: [].}
  Source   Edit
proc getCompilerProc(g: ModuleGraph; name: string): PSym {.
    ...raises: [KeyError, Exception], tags: [ReadDirEffect, RootEffect].}
  Source   Edit
proc getFloatLitType(g: ModuleGraph; literal: PNode): PType {....raises: [],
    tags: [].}
  Source   Edit
func getMagicEqForType(t: PType): TMagic {....raises: [], tags: [].}
Returns the mEqX magic for the given type t.   Source   Edit
proc getMagicEqSymForType(g: ModuleGraph; t: PType; info: TLineInfo): PSym {.
    ...raises: [KeyError, Exception, ERecoverableError],
    tags: [ReadDirEffect, RootEffect].}
  Source   Edit
func getMagicLessForType(t: PType): tuple[le, lt: TMagic] {....raises: [], tags: [].}
Returns the mLeX and mLtX magic for type t.   Source   Edit
proc getNimScriptSymbol(g: ModuleGraph; name: string): PSym {....raises: [],
    tags: [].}
  Source   Edit
proc getSysMagic(g: ModuleGraph; info: TLineInfo; name: string; m: TMagic): PSym {.
    ...raises: [KeyError, Exception, ERecoverableError],
    tags: [ReadDirEffect, RootEffect].}
  Source   Edit
proc getSysSym(g: ModuleGraph; info: TLineInfo; name: string): PSym {.
    ...raises: [KeyError, Exception, ERecoverableError],
    tags: [ReadDirEffect, RootEffect].}
  Source   Edit
proc getSysType(g: ModuleGraph; info: TLineInfo; kind: TTypeKind): PType {.
    ...raises: [KeyError, Exception, ERecoverableError],
    tags: [ReadDirEffect, RootEffect].}
  Source   Edit
proc nilOrSysInt(g: ModuleGraph): PType {....raises: [], tags: [].}
  Source   Edit
proc registerCompilerProc(g: ModuleGraph; s: PSym) {....raises: [], tags: [].}
  Source   Edit
proc registerNimScriptSymbol(g: ModuleGraph; s: PSym) {.
    ...raises: [Exception, ERecoverableError], tags: [RootEffect].}
  Source   Edit
proc registerNimScriptSymbol2(g: ModuleGraph; s: PSym): PNode {....raises: [],
    tags: [].}
  Source   Edit
proc resetNimScriptSymbols(g: ModuleGraph) {....raises: [], tags: [].}
  Source   Edit
proc resetSysTypes(g: ModuleGraph) {....raises: [], tags: [].}
  Source   Edit
proc skipIntLit(t: PType; id: IdGenerator): PType {.inline, ...raises: [], tags: [].}
  Source   Edit
proc sysTypeFromName(g: ModuleGraph; info: TLineInfo; name: string): PType {.
    ...raises: [KeyError, Exception, ERecoverableError],
    tags: [ReadDirEffect, RootEffect].}
  Source   Edit

Templates

template getMagicLeForType(t: PType): TMagic
Returns the mLeX magic for the given type t.   Source   Edit