# compiler/astmsgs

Dark Mode

- Index

Search:
Group by:
Source Edit

# Imports

options, ast, msgs

# Procs

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

  Source Edit

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

  Source Edit

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

  Source Edit

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

  Source Edit

    proc genFieldDefect(conf: ConfigRef; field: string; disc: PSym): string {.
        ...raises: [ValueError, Exception, KeyError, OSError],
        tags: [RootEffect, ReadDirEffect].}

  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