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