OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | parse (self, parser) |
![]() | |
def | __init__ (self, environment) |
def | bind (self, environment) |
def | preprocess (self, source, name, filename=None) |
def | filter_stream (self, stream) |
def | attr (self, name, lineno=None) |
def | call_method (self, name, args=None, kwargs=None, dyn_args=None, dyn_kwargs=None, lineno=None) |
![]() | |
def | __new__ (mcs, name, bases, d) |
Static Public Attributes | |
tags | |
![]() | |
tags | |
priority | |
Additional Inherited Members | |
![]() | |
environment | |
A ``{% debug %}`` tag that dumps the available variables, filters, and tests. .. code-block:: html+jinja <pre>{% debug %}</pre> .. code-block:: text {'context': {'cycler': <class 'jinja2.utils.Cycler'>, ..., 'namespace': <class 'jinja2.utils.Namespace'>}, 'filters': ['abs', 'attr', 'batch', 'capitalize', 'center', 'count', 'd', ..., 'urlencode', 'urlize', 'wordcount', 'wordwrap', 'xmlattr'], 'tests': ['!=', '<', '<=', '==', '>', '>=', 'callable', 'defined', ..., 'odd', 'sameas', 'sequence', 'string', 'undefined', 'upper']} .. versionadded:: 2.11.0
def parse | ( | self, | |
parser | |||
) |
If any of the :attr:`tags` matched this method is called with the parser as first argument. The token the parser stream is pointing at is the name token that matched. This method has to return one or a list of multiple nodes.
Reimplemented from Extension.
|
static |