class documentation

class WithExtension(Extension):

View In Hierarchy

Undocumented

Method __init__ Undocumented

Inherited from Extension:

Method attr Return an attribute node for the current extension. This is useful to pass constants on extensions to generated template code.
Method call​_method Call a method of the extension. This is a shortcut for attr + jinja2.nodes.Call.
Method filter​_stream No summary
Method parse No summary
Method preprocess This method is called before the actual lexing and can be used to preprocess the source. The filename is optional. The return value must be the preprocessed source.
Class Variable identifier Undocumented
Class Variable tags Undocumented
Method __init​_subclass__ Undocumented
Method bind Create a copy of this extension bound to another environment.
Class Variable priority Undocumented
Instance Variable environment Undocumented
def __init__(self, environment):

Undocumented

Parameters
environment:EnvironmentUndocumented