1 from typing import Any, Dict, Optional, Text, Union
\r
2 from jinja2.utils import Markup as Markup, escape as escape, missing as missing, concat as concat
\r
3 from jinja2.exceptions import TemplateRuntimeError as TemplateRuntimeError, TemplateNotFound as TemplateNotFound
\r
5 from jinja2.environment import Environment
\r
7 to_string = ... # type: Any
\r
8 identity = ... # type: Any
\r
10 def markup_join(seq): ...
\r
11 def unicode_join(seq): ...
\r
13 class TemplateReference:
\r
14 def __init__(self, context) -> None: ...
\r
15 def __getitem__(self, name): ...
\r
18 parent = ... # type: Union[Context, Dict[str, Any]]
\r
19 vars = ... # type: Dict[str, Any]
\r
20 environment = ... # type: Environment
\r
21 eval_ctx = ... # type: Any
\r
22 exported_vars = ... # type: Any
\r
23 name = ... # type: Text
\r
24 blocks = ... # type: Dict[str, Any]
\r
25 def __init__(self, environment: Environment, parent: Union[Context, Dict[str, Any]], name: Text, blocks: Dict[str, Any]) -> None: ...
\r
26 def super(self, name, current): ...
\r
27 def get(self, key, default: Optional[Any] = ...): ...
\r
28 def resolve(self, key): ...
\r
29 def get_exported(self): ...
\r
30 def get_all(self): ...
\r
31 def call(__self, __obj, *args, **kwargs): ...
\r
32 def derived(self, locals: Optional[Any] = ...): ...
\r
33 keys = ... # type: Any
\r
34 values = ... # type: Any
\r
35 items = ... # type: Any
\r
36 iterkeys = ... # type: Any
\r
37 itervalues = ... # type: Any
\r
38 iteritems = ... # type: Any
\r
39 def __contains__(self, name): ...
\r
40 def __getitem__(self, key): ...
\r
42 class BlockReference:
\r
43 name = ... # type: Any
\r
44 def __init__(self, name, context, stack, depth) -> None: ...
\r
46 def super(self): ...
\r
47 def __call__(self): ...
\r
50 index0 = ... # type: int
\r
51 depth0 = ... # type: Any
\r
52 def __init__(self, iterable, recurse: Optional[Any] = ..., depth0: int = ...) -> None: ...
\r
53 def cycle(self, *args): ...
\r
54 first = ... # type: Any
\r
55 last = ... # type: Any
\r
56 index = ... # type: Any
\r
57 revindex = ... # type: Any
\r
58 revindex0 = ... # type: Any
\r
59 depth = ... # type: Any
\r
60 def __len__(self): ...
\r
61 def __iter__(self): ...
\r
62 def loop(self, iterable): ...
\r
63 __call__ = ... # type: Any
\r
65 def length(self): ...
\r
67 class LoopContextIterator:
\r
68 context = ... # type: Any
\r
69 def __init__(self, context) -> None: ...
\r
70 def __iter__(self): ...
\r
71 def __next__(self): ...
\r
74 name = ... # type: Any
\r
75 arguments = ... # type: Any
\r
76 defaults = ... # type: Any
\r
77 catch_kwargs = ... # type: Any
\r
78 catch_varargs = ... # type: Any
\r
79 caller = ... # type: Any
\r
80 def __init__(self, environment, func, name, arguments, defaults, catch_kwargs, catch_varargs, caller) -> None: ...
\r
81 def __call__(self, *args, **kwargs): ...
\r
84 def __init__(self, hint: Optional[Any] = ..., obj: Any = ..., name: Optional[Any] = ..., exc: Any = ...) -> None: ...
\r
85 def __getattr__(self, name): ...
\r
86 __add__ = ... # type: Any
\r
87 __radd__ = ... # type: Any
\r
88 __mul__ = ... # type: Any
\r
89 __rmul__ = ... # type: Any
\r
90 __div__ = ... # type: Any
\r
91 __rdiv__ = ... # type: Any
\r
92 __truediv__ = ... # type: Any
\r
93 __rtruediv__ = ... # type: Any
\r
94 __floordiv__ = ... # type: Any
\r
95 __rfloordiv__ = ... # type: Any
\r
96 __mod__ = ... # type: Any
\r
97 __rmod__ = ... # type: Any
\r
98 __pos__ = ... # type: Any
\r
99 __neg__ = ... # type: Any
\r
100 __call__ = ... # type: Any
\r
101 __getitem__ = ... # type: Any
\r
102 __lt__ = ... # type: Any
\r
103 __le__ = ... # type: Any
\r
104 __gt__ = ... # type: Any
\r
105 __ge__ = ... # type: Any
\r
106 __int__ = ... # type: Any
\r
107 __float__ = ... # type: Any
\r
108 __complex__ = ... # type: Any
\r
109 __pow__ = ... # type: Any
\r
110 __rpow__ = ... # type: Any
\r
111 def __eq__(self, other): ...
\r
112 def __ne__(self, other): ...
\r
113 def __hash__(self): ...
\r
114 def __len__(self): ...
\r
115 def __iter__(self): ...
\r
116 def __nonzero__(self): ...
\r
117 __bool__ = ... # type: Any
\r
119 def make_logging_undefined(logger: Optional[Any] = ..., base: Optional[Any] = ...): ...
\r
121 class DebugUndefined(Undefined): ...
\r
123 class StrictUndefined(Undefined):
\r
124 __iter__ = ... # type: Any
\r
125 __len__ = ... # type: Any
\r
126 __nonzero__ = ... # type: Any
\r
127 __eq__ = ... # type: Any
\r
128 __ne__ = ... # type: Any
\r
129 __bool__ = ... # type: Any
\r
130 __hash__ = ... # type: Any
\r