This module implements code generation for methods.
Procs
proc getDispatcher(s: PSym): PSym {...}{.raises: [], tags: [].}
- can return nil if is has no dispatcher. Source Edit
proc methodCall(n: PNode; conf: ConfigRef): PNode {...}{. raises: [Exception, ValueError, IOError, ERecoverableError], tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
- Source Edit
proc methodDef(g: ModuleGraph; s: PSym; fromCache: bool) {...}{. raises: [Exception, ValueError, IOError, ERecoverableError], tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
- Source Edit
proc generateMethodDispatchers(g: ModuleGraph): PNode {...}{. raises: [Exception, ValueError, IOError, ERecoverableError], tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
- Source Edit