# astmsgs

Theme:

- Index

Search:
Group by:
Source Edit

# Imports

options, ast, msgs

# Procs

    proc addDeclaredLoc(result: var string; conf: ConfigRef; sym: PSym) {.
        ...raises: [ValueError, OSError, KeyError], tags: [RootEffect, ReadDirEffect],
        forbids: [].}

  Source Edit

    proc addDeclaredLoc(result: var string; conf: ConfigRef; typ: PType) {.
        ...raises: [ValueError, OSError, KeyError], tags: [RootEffect, ReadDirEffect],
        forbids: [].}

  Source Edit

    proc addDeclaredLocMaybe(result: var string; conf: ConfigRef; sym: PSym) {.
        ...raises: [ValueError, OSError, KeyError], tags: [RootEffect, ReadDirEffect],
        forbids: [].}

  Source Edit

    proc addDeclaredLocMaybe(result: var string; conf: ConfigRef; typ: PType) {.
        ...raises: [ValueError, OSError, KeyError], tags: [RootEffect, ReadDirEffect],
        forbids: [].}

  Source Edit

    proc addTypeNodeDeclaredLoc(result: var string; conf: ConfigRef; typ: PType) {.
        ...raises: [ValueError, OSError, KeyError], tags: [RootEffect, ReadDirEffect],
        forbids: [].}

  Source Edit

    proc genFieldDefect(conf: ConfigRef; field: string; disc: PSym): string {.
        ...raises: [ValueError, OSError, KeyError], 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