Computes hash values for routine (proc, method etc) signatures.
ConsiderFlag = enum CoProc, CoType, CoOwnerSig, CoIgnoreRange, CoConsiderOwned, CoDistinct, CoHashTypeInsideNode
proc hashNonProc(s: PSym): SigHash {....raises: [], tags: [], forbids: [].}
proc hashOwner(s: PSym): SigHash {....raises: [], tags: [], forbids: [].}
proc hashType(t: PType; conf: ConfigRef; flags: set[ConsiderFlag] = {CoType}): SigHash {. ...raises: [OSError, Exception], tags: [RootEffect], forbids: [].}
proc idOrSig(s: PSym; currentModule: string; sigCollisions: var CountTable[SigHash]; conf: ConfigRef): Rope {. ...raises: [OSError, Exception], tags: [RootEffect], forbids: [].}
proc sigHash(s: PSym; conf: ConfigRef): SigHash {....raises: [OSError, Exception], tags: [RootEffect], forbids: [].}
proc symBodyDigest(graph: ModuleGraph; sym: PSym): SigHash {. ...raises: [OSError, Exception, KeyError], tags: [RootEffect, ReadDirEffect], forbids: [].}
© 2006–2024 Andreas RumpfLicensed under the MIT License. https://nim-lang.org/docs/compiler/sighashes.html