massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / yaml / emitter.pyi
1 from typing import Any\r
2 from yaml.error import YAMLError\r
3 \r
4 class EmitterError(YAMLError): ...\r
5 \r
6 class ScalarAnalysis:\r
7     scalar = ...  # type: Any\r
8     empty = ...  # type: Any\r
9     multiline = ...  # type: Any\r
10     allow_flow_plain = ...  # type: Any\r
11     allow_block_plain = ...  # type: Any\r
12     allow_single_quoted = ...  # type: Any\r
13     allow_double_quoted = ...  # type: Any\r
14     allow_block = ...  # type: Any\r
15     def __init__(self, scalar, empty, multiline, allow_flow_plain, allow_block_plain, allow_single_quoted, allow_double_quoted, allow_block) -> None: ...\r
16 \r
17 class Emitter:\r
18     DEFAULT_TAG_PREFIXES = ...  # type: Any\r
19     stream = ...  # type: Any\r
20     encoding = ...  # type: Any\r
21     states = ...  # type: Any\r
22     state = ...  # type: Any\r
23     events = ...  # type: Any\r
24     event = ...  # type: Any\r
25     indents = ...  # type: Any\r
26     indent = ...  # type: Any\r
27     flow_level = ...  # type: Any\r
28     root_context = ...  # type: Any\r
29     sequence_context = ...  # type: Any\r
30     mapping_context = ...  # type: Any\r
31     simple_key_context = ...  # type: Any\r
32     line = ...  # type: Any\r
33     column = ...  # type: Any\r
34     whitespace = ...  # type: Any\r
35     indention = ...  # type: Any\r
36     open_ended = ...  # type: Any\r
37     canonical = ...  # type: Any\r
38     allow_unicode = ...  # type: Any\r
39     best_indent = ...  # type: Any\r
40     best_width = ...  # type: Any\r
41     best_line_break = ...  # type: Any\r
42     tag_prefixes = ...  # type: Any\r
43     prepared_anchor = ...  # type: Any\r
44     prepared_tag = ...  # type: Any\r
45     analysis = ...  # type: Any\r
46     style = ...  # type: Any\r
47     def __init__(self, stream, canonical=..., indent=..., width=..., allow_unicode=..., line_break=...) -> None: ...\r
48     def dispose(self): ...\r
49     def emit(self, event): ...\r
50     def need_more_events(self): ...\r
51     def need_events(self, count): ...\r
52     def increase_indent(self, flow=..., indentless=...): ...\r
53     def expect_stream_start(self): ...\r
54     def expect_nothing(self): ...\r
55     def expect_first_document_start(self): ...\r
56     def expect_document_start(self, first=...): ...\r
57     def expect_document_end(self): ...\r
58     def expect_document_root(self): ...\r
59     def expect_node(self, root=..., sequence=..., mapping=..., simple_key=...): ...\r
60     def expect_alias(self): ...\r
61     def expect_scalar(self): ...\r
62     def expect_flow_sequence(self): ...\r
63     def expect_first_flow_sequence_item(self): ...\r
64     def expect_flow_sequence_item(self): ...\r
65     def expect_flow_mapping(self): ...\r
66     def expect_first_flow_mapping_key(self): ...\r
67     def expect_flow_mapping_key(self): ...\r
68     def expect_flow_mapping_simple_value(self): ...\r
69     def expect_flow_mapping_value(self): ...\r
70     def expect_block_sequence(self): ...\r
71     def expect_first_block_sequence_item(self): ...\r
72     def expect_block_sequence_item(self, first=...): ...\r
73     def expect_block_mapping(self): ...\r
74     def expect_first_block_mapping_key(self): ...\r
75     def expect_block_mapping_key(self, first=...): ...\r
76     def expect_block_mapping_simple_value(self): ...\r
77     def expect_block_mapping_value(self): ...\r
78     def check_empty_sequence(self): ...\r
79     def check_empty_mapping(self): ...\r
80     def check_empty_document(self): ...\r
81     def check_simple_key(self): ...\r
82     def process_anchor(self, indicator): ...\r
83     def process_tag(self): ...\r
84     def choose_scalar_style(self): ...\r
85     def process_scalar(self): ...\r
86     def prepare_version(self, version): ...\r
87     def prepare_tag_handle(self, handle): ...\r
88     def prepare_tag_prefix(self, prefix): ...\r
89     def prepare_tag(self, tag): ...\r
90     def prepare_anchor(self, anchor): ...\r
91     def analyze_scalar(self, scalar): ...\r
92     def flush_stream(self): ...\r
93     def write_stream_start(self): ...\r
94     def write_stream_end(self): ...\r
95     def write_indicator(self, indicator, need_whitespace, whitespace=..., indention=...): ...\r
96     def write_indent(self): ...\r
97     def write_line_break(self, data=...): ...\r
98     def write_version_directive(self, version_text): ...\r
99     def write_tag_directive(self, handle_text, prefix_text): ...\r
100     def write_single_quoted(self, text, split=...): ...\r
101     ESCAPE_REPLACEMENTS = ...  # type: Any\r
102     def write_double_quoted(self, text, split=...): ...\r
103     def determine_block_hints(self, text): ...\r
104     def write_folded(self, text): ...\r
105     def write_literal(self, text): ...\r
106     def write_plain(self, text, split=...): ...\r