summaryrefslogtreecommitdiff
path: root/jinja2/nodes.py
diff options
context:
space:
mode:
Diffstat (limited to 'jinja2/nodes.py')
-rw-r--r--jinja2/nodes.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/jinja2/nodes.py b/jinja2/nodes.py
index e46aa91..00e0329 100644
--- a/jinja2/nodes.py
+++ b/jinja2/nodes.py
@@ -952,6 +952,15 @@ class ContextReference(Expr):
"""
+class DerivedContextReference(Expr):
+ """Return the current template context including locals. Behaves
+ exactly like :class:`ContextReference`, but includes local
+ variables, such as from a ``for`` loop.
+
+ .. versionadded:: 2.11
+ """
+
+
class Continue(Stmt):
"""Continue a loop."""