evaltempl

Template evaluation engine. Now hygienic.

Imports

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

Consts

evalTemplateLimit = 1000
Source Edit

Procs

proc wrapInComesFrom(info: TLineInfo; sym: PSym; res: PNode): PNode {...}{.
    raises: [], tags: [].}
Source Edit
proc evalTemplate(n: PNode; tmpl, genSymOwner: PSym; conf: ConfigRef;
                  ic: IdentCache; instID: ref int; fromHlo = false): PNode {...}{.
    raises: [Exception, ValueError, IOError, ERecoverableError],
    tags: [RootEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
Source Edit

© 2006–2021 Andreas Rumpf
Licensed under the MIT License.
https://nim-lang.org/docs/compiler/evaltempl.html