3 from yaml.error import YAMLError
5 class EmitterError(YAMLError): ...
12 allow_block_plain: Any
13 allow_single_quoted: Any
14 allow_double_quoted: Any
17 self, scalar, empty, multiline, allow_flow_plain, allow_block_plain, allow_single_quoted, allow_double_quoted, allow_block
21 DEFAULT_TAG_PREFIXES: Any
34 simple_key_context: 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=...): ...