compiler/ast/astmsgs

  Source   Edit

Procs

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

Templates

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