astmsgs

Source   Edit  

Procs

proc addDeclaredLoc(result: var string; conf: ConfigRef; sym: PSym) {.
    ...raises: [ValueError, Exception, KeyError, OSError],
    tags: [RootEffect, ReadDirEffect], forbids: [].}
Source   Edit  
proc addDeclaredLoc(result: var string; conf: ConfigRef; typ: PType) {.
    ...raises: [ValueError, Exception, KeyError, OSError],
    tags: [RootEffect, ReadDirEffect], forbids: [].}
Source   Edit  
proc addDeclaredLocMaybe(result: var string; conf: ConfigRef; sym: PSym) {.
    ...raises: [ValueError, Exception, KeyError, OSError],
    tags: [RootEffect, ReadDirEffect], forbids: [].}
Source   Edit  
proc addDeclaredLocMaybe(result: var string; conf: ConfigRef; typ: PType) {.
    ...raises: [ValueError, Exception, KeyError, OSError],
    tags: [RootEffect, ReadDirEffect], forbids: [].}
Source   Edit  
proc genFieldDefect(conf: ConfigRef; field: string; disc: PSym): string {.
    ...raises: [ValueError, Exception, KeyError, OSError],
    tags: [RootEffect, ReadDirEffect], forbids: [].}
Source   Edit  
proc typSym(t: PType): PSym {....raises: [], tags: [], forbids: [].}
Source   Edit  

Templates

template quoteExpr(a: string): untyped
can be used for quoting expressions in error msgs. Source   Edit