massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / PyYAML / yaml / resolver.pyi
1 from typing import Any
2
3 from yaml.error import YAMLError
4
5 class ResolverError(YAMLError): ...
6
7 class BaseResolver:
8     DEFAULT_SCALAR_TAG: Any
9     DEFAULT_SEQUENCE_TAG: Any
10     DEFAULT_MAPPING_TAG: Any
11     yaml_implicit_resolvers: Any
12     yaml_path_resolvers: Any
13     resolver_exact_paths: Any
14     resolver_prefix_paths: Any
15     def __init__(self) -> None: ...
16     @classmethod
17     def add_implicit_resolver(cls, tag, regexp, first): ...
18     @classmethod
19     def add_path_resolver(cls, tag, path, kind=...): ...
20     def descend_resolver(self, current_node, current_index): ...
21     def ascend_resolver(self): ...
22     def check_resolver_prefix(self, depth, path, kind, current_node, current_index): ...
23     def resolve(self, kind, value, implicit): ...
24
25 class Resolver(BaseResolver): ...