cgmeth

Search:
Group by:
Source   Edit  

This module implements code generation for methods.

Procs

proc generateMethodDispatchers(g: ModuleGraph; idgen: IdGenerator): PNode {....raises: [
    Exception, KeyError, ValueError, OSError, IOError, ERecoverableError], tags: [
    RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
    forbids: [].}
Source   Edit  
proc getDispatcher(s: PSym): PSym {....raises: [], tags: [], forbids: [].}
can return nil if is has no dispatcher. Source   Edit  
proc methodCall(n: PNode; conf: ConfigRef): PNode {....raises: [Exception,
    ValueError, KeyError, OSError, IOError, ERecoverableError], tags: [
    RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
    forbids: [].}
Source   Edit  
proc methodDef(g: ModuleGraph; idgen: IdGenerator; s: PSym) {....raises: [
    Exception, KeyError, ValueError, OSError, IOError, ERecoverableError], tags: [
    RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
    forbids: [].}
Source   Edit