# compiler/evaltempl

Dark Mode

- Index

Search:
Group by:
Source Edit

Template evaluation engine. Now hygienic.

# Imports

options, ast, astalgo, msgs, renderer, lineinfos, idents

# Consts

    evalTemplateLimit = 1000

  Source Edit

# Procs

    proc evalTemplate(n: PNode; tmpl, genSymOwner: PSym; conf: ConfigRef;
                      ic: IdentCache; instID: ref int; idgen: IdGenerator;
                      fromHlo = false): PNode {....raises: [Exception, ValueError,
        KeyError, OSError, IOError, ERecoverableError], tags: [RootEffect,
        ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}

  Source Edit

    proc wrapInComesFrom(info: TLineInfo; sym: PSym; res: PNode): PNode {.
        ...raises: [], tags: [].}

  Source Edit