logo
Expand description

Provides meta utilities for working with templates.

The meta API has some uses for limited introspection that can help optimize how templates are interacted with. For instance it can be used to detect which templates are reachable from a set of known templates so that the environment can be appropriately initialized. Likewise it can be used to identify variables that need to be supplied into the context based on what templates are using.

Functions

Given a template source returns a set of referenced templates by name.

Given a template source returns a set of undeclared variables.