jinja2.meta

jinja2.meta

This module implements various functions that exposes information about templates that might be interesting for various kinds of applications.

copyright:
  1. 2010 by the Jinja Team, see AUTHORS for more details.
license:

BSD, see LICENSE for more details.

Classes

TrackingCodeGenerator We abuse the code generator for introspection.

Functions

find_referenced_templates(ast) Finds all the referenced templates from the AST. This will return an
find_undeclared_variables(ast) Returns a set of all variables in the AST that will be looked up from

Defined

  • CodeGenerator
  • nodes

Table Of Contents

Previous topic

split_template_path

Next topic

TrackingCodeGenerator Class