massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / yaml / constructor.pyi
1 from yaml.error import Mark, YAMLError, MarkedYAMLError\r
2 from yaml.nodes import Node, ScalarNode, CollectionNode, SequenceNode, MappingNode\r
3 \r
4 from typing import Any\r
5 \r
6 class ConstructorError(MarkedYAMLError): ...\r
7 \r
8 class BaseConstructor:\r
9     yaml_constructors = ...  # type: Any\r
10     yaml_multi_constructors = ...  # type: Any\r
11     constructed_objects = ...  # type: Any\r
12     recursive_objects = ...  # type: Any\r
13     state_generators = ...  # type: Any\r
14     deep_construct = ...  # type: Any\r
15     def __init__(self) -> None: ...\r
16     def check_data(self): ...\r
17     def get_data(self): ...\r
18     def get_single_data(self): ...\r
19     def construct_document(self, node): ...\r
20     def construct_object(self, node, deep=...): ...\r
21     def construct_scalar(self, node): ...\r
22     def construct_sequence(self, node, deep=...): ...\r
23     def construct_mapping(self, node, deep=...): ...\r
24     def construct_pairs(self, node, deep=...): ...\r
25     @classmethod\r
26     def add_constructor(cls, tag, constructor): ...\r
27     @classmethod\r
28     def add_multi_constructor(cls, tag_prefix, multi_constructor): ...\r
29 \r
30 class SafeConstructor(BaseConstructor):\r
31     def construct_scalar(self, node): ...\r
32     def flatten_mapping(self, node): ...\r
33     def construct_mapping(self, node, deep=...): ...\r
34     def construct_yaml_null(self, node): ...\r
35     bool_values = ...  # type: Any\r
36     def construct_yaml_bool(self, node): ...\r
37     def construct_yaml_int(self, node): ...\r
38     inf_value = ...  # type: Any\r
39     nan_value = ...  # type: Any\r
40     def construct_yaml_float(self, node): ...\r
41     def construct_yaml_binary(self, node): ...\r
42     timestamp_regexp = ...  # type: Any\r
43     def construct_yaml_timestamp(self, node): ...\r
44     def construct_yaml_omap(self, node): ...\r
45     def construct_yaml_pairs(self, node): ...\r
46     def construct_yaml_set(self, node): ...\r
47     def construct_yaml_str(self, node): ...\r
48     def construct_yaml_seq(self, node): ...\r
49     def construct_yaml_map(self, node): ...\r
50     def construct_yaml_object(self, node, cls): ...\r
51     def construct_undefined(self, node): ...\r
52 \r
53 class Constructor(SafeConstructor):\r
54     def construct_python_str(self, node): ...\r
55     def construct_python_unicode(self, node): ...\r
56     def construct_python_long(self, node): ...\r
57     def construct_python_complex(self, node): ...\r
58     def construct_python_tuple(self, node): ...\r
59     def find_python_module(self, name, mark): ...\r
60     def find_python_name(self, name, mark): ...\r
61     def construct_python_name(self, suffix, node): ...\r
62     def construct_python_module(self, suffix, node): ...\r
63     class classobj: ...\r
64     def make_python_instance(self, suffix, node, args=..., kwds=..., newobj=...): ...\r
65     def set_python_instance_state(self, instance, state): ...\r
66     def construct_python_object(self, suffix, node): ...\r
67     def construct_python_object_apply(self, suffix, node, newobj=...): ...\r
68     def construct_python_object_new(self, suffix, node): ...\r