Computes hash values for routine (proc, method etc) signatures.
Types
ConsiderFlag = enum CoProc, CoType, CoOwnerSig, CoIgnoreRange, CoIgnoreRangeInArray, CoConsiderOwned, CoDistinct, CoHashTypeInsideNode
- Source Edit
Procs
proc hashNonProc(s: PSym): SigHash {....raises: [KeyError, OSError, Exception, ValueError], tags: [ReadEnvEffect, ReadIOEffect, ReadDirEffect, RootEffect], forbids: [].}
- Source Edit
proc hashTypeLayout(t: PType; conf: ConfigRef): SigHash {....raises: [KeyError, OSError, Exception, ValueError, IOError, ERecoverableError], tags: [ ReadEnvEffect, ReadIOEffect, ReadDirEffect, RootEffect, WriteIOEffect], forbids: [].}
- The memory layout of t and of everything a value of t points to. Unlike hashType, an object is hashed by its fields rather than its name: hot code reloading keeps a global's memory across reloads, and a new field in a named object must make that memory unusable. Source Edit
proc symBodyDigest(graph: ModuleGraph; sym: PSym): SigHash {....raises: [KeyError, OSError, Exception, ValueError, IOError, ERecoverableError], tags: [ ReadEnvEffect, ReadIOEffect, ReadDirEffect, RootEffect, WriteIOEffect], forbids: [].}
- Source Edit