massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / jinja2 / runtime.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/jinja2/runtime.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/jinja2/runtime.pyi
new file mode 100644 (file)
index 0000000..5d07df1
--- /dev/null
@@ -0,0 +1,130 @@
+from typing import Any, Dict, Optional, Text, Union\r
+from jinja2.utils import Markup as Markup, escape as escape, missing as missing, concat as concat\r
+from jinja2.exceptions import TemplateRuntimeError as TemplateRuntimeError, TemplateNotFound as TemplateNotFound\r
+\r
+from jinja2.environment import Environment\r
+\r
+to_string = ...  # type: Any\r
+identity = ...  # type: Any\r
+\r
+def markup_join(seq): ...\r
+def unicode_join(seq): ...\r
+\r
+class TemplateReference:\r
+    def __init__(self, context) -> None: ...\r
+    def __getitem__(self, name): ...\r
+\r
+class Context:\r
+    parent = ...  # type: Union[Context, Dict[str, Any]]\r
+    vars = ...  # type: Dict[str, Any]\r
+    environment = ...  # type: Environment\r
+    eval_ctx = ...  # type: Any\r
+    exported_vars = ...  # type: Any\r
+    name = ...  # type: Text\r
+    blocks = ...  # type: Dict[str, Any]\r
+    def __init__(self, environment: Environment, parent: Union[Context, Dict[str, Any]], name: Text, blocks: Dict[str, Any]) -> None: ...\r
+    def super(self, name, current): ...\r
+    def get(self, key, default: Optional[Any] = ...): ...\r
+    def resolve(self, key): ...\r
+    def get_exported(self): ...\r
+    def get_all(self): ...\r
+    def call(__self, __obj, *args, **kwargs): ...\r
+    def derived(self, locals: Optional[Any] = ...): ...\r
+    keys = ...  # type: Any\r
+    values = ...  # type: Any\r
+    items = ...  # type: Any\r
+    iterkeys = ...  # type: Any\r
+    itervalues = ...  # type: Any\r
+    iteritems = ...  # type: Any\r
+    def __contains__(self, name): ...\r
+    def __getitem__(self, key): ...\r
+\r
+class BlockReference:\r
+    name = ...  # type: Any\r
+    def __init__(self, name, context, stack, depth) -> None: ...\r
+    @property\r
+    def super(self): ...\r
+    def __call__(self): ...\r
+\r
+class LoopContext:\r
+    index0 = ...  # type: int\r
+    depth0 = ...  # type: Any\r
+    def __init__(self, iterable, recurse: Optional[Any] = ..., depth0: int = ...) -> None: ...\r
+    def cycle(self, *args): ...\r
+    first = ...  # type: Any\r
+    last = ...  # type: Any\r
+    index = ...  # type: Any\r
+    revindex = ...  # type: Any\r
+    revindex0 = ...  # type: Any\r
+    depth = ...  # type: Any\r
+    def __len__(self): ...\r
+    def __iter__(self): ...\r
+    def loop(self, iterable): ...\r
+    __call__ = ...  # type: Any\r
+    @property\r
+    def length(self): ...\r
+\r
+class LoopContextIterator:\r
+    context = ...  # type: Any\r
+    def __init__(self, context) -> None: ...\r
+    def __iter__(self): ...\r
+    def __next__(self): ...\r
+\r
+class Macro:\r
+    name = ...  # type: Any\r
+    arguments = ...  # type: Any\r
+    defaults = ...  # type: Any\r
+    catch_kwargs = ...  # type: Any\r
+    catch_varargs = ...  # type: Any\r
+    caller = ...  # type: Any\r
+    def __init__(self, environment, func, name, arguments, defaults, catch_kwargs, catch_varargs, caller) -> None: ...\r
+    def __call__(self, *args, **kwargs): ...\r
+\r
+class Undefined:\r
+    def __init__(self, hint: Optional[Any] = ..., obj: Any = ..., name: Optional[Any] = ..., exc: Any = ...) -> None: ...\r
+    def __getattr__(self, name): ...\r
+    __add__ = ...  # type: Any\r
+    __radd__ = ...  # type: Any\r
+    __mul__ = ...  # type: Any\r
+    __rmul__ = ...  # type: Any\r
+    __div__ = ...  # type: Any\r
+    __rdiv__ = ...  # type: Any\r
+    __truediv__ = ...  # type: Any\r
+    __rtruediv__ = ...  # type: Any\r
+    __floordiv__ = ...  # type: Any\r
+    __rfloordiv__ = ...  # type: Any\r
+    __mod__ = ...  # type: Any\r
+    __rmod__ = ...  # type: Any\r
+    __pos__ = ...  # type: Any\r
+    __neg__ = ...  # type: Any\r
+    __call__ = ...  # type: Any\r
+    __getitem__ = ...  # type: Any\r
+    __lt__ = ...  # type: Any\r
+    __le__ = ...  # type: Any\r
+    __gt__ = ...  # type: Any\r
+    __ge__ = ...  # type: Any\r
+    __int__ = ...  # type: Any\r
+    __float__ = ...  # type: Any\r
+    __complex__ = ...  # type: Any\r
+    __pow__ = ...  # type: Any\r
+    __rpow__ = ...  # type: Any\r
+    def __eq__(self, other): ...\r
+    def __ne__(self, other): ...\r
+    def __hash__(self): ...\r
+    def __len__(self): ...\r
+    def __iter__(self): ...\r
+    def __nonzero__(self): ...\r
+    __bool__ = ...  # type: Any\r
+\r
+def make_logging_undefined(logger: Optional[Any] = ..., base: Optional[Any] = ...): ...\r
+\r
+class DebugUndefined(Undefined): ...\r
+\r
+class StrictUndefined(Undefined):\r
+    __iter__ = ...  # type: Any\r
+    __len__ = ...  # type: Any\r
+    __nonzero__ = ...  # type: Any\r
+    __eq__ = ...  # type: Any\r
+    __ne__ = ...  # type: Any\r
+    __bool__ = ...  # type: Any\r
+    __hash__ = ...  # type: Any\r