module documentation
(source)

This module contains the main object to "execute" a template and fill in the parameters, call functions etc. The TemplateProcessor defined here takes care of the template control flow ('IF', 'FOR', etc.).

Also see the expression sub module that contains logic for executing expressions in the template.

Class TemplateContextDict This class defines a dict with template parameters
Class TemplateLoopState Object used for the "loop" parameter in a FOR loop
Class TemplateProcessor The template processor takes a parsed template and "executes" it one or more times.