# evaltempl

Theme:

- Index

Search:
Group by:
Source Edit

Template evaluation engine. Now hygienic.

# Imports

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

# 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, IOError, ERecoverableError], tags: [
        RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect],
        forbids: [].}

  Source Edit

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

  Source Edit