massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / PyYAML / yaml / scanner.pyi
1 from typing import Any
2
3 from yaml.error import MarkedYAMLError
4
5 class ScannerError(MarkedYAMLError): ...
6
7 class SimpleKey:
8     token_number: Any
9     required: Any
10     index: Any
11     line: Any
12     column: Any
13     mark: Any
14     def __init__(self, token_number, required, index, line, column, mark) -> None: ...
15
16 class Scanner:
17     done: Any
18     flow_level: Any
19     tokens: Any
20     tokens_taken: Any
21     indent: Any
22     indents: Any
23     allow_simple_key: Any
24     possible_simple_keys: Any
25     def __init__(self) -> None: ...
26     def check_token(self, *choices): ...
27     def peek_token(self): ...
28     def get_token(self): ...
29     def need_more_tokens(self): ...
30     def fetch_more_tokens(self): ...
31     def next_possible_simple_key(self): ...
32     def stale_possible_simple_keys(self): ...
33     def save_possible_simple_key(self): ...
34     def remove_possible_simple_key(self): ...
35     def unwind_indent(self, column): ...
36     def add_indent(self, column): ...
37     def fetch_stream_start(self): ...
38     def fetch_stream_end(self): ...
39     def fetch_directive(self): ...
40     def fetch_document_start(self): ...
41     def fetch_document_end(self): ...
42     def fetch_document_indicator(self, TokenClass): ...
43     def fetch_flow_sequence_start(self): ...
44     def fetch_flow_mapping_start(self): ...
45     def fetch_flow_collection_start(self, TokenClass): ...
46     def fetch_flow_sequence_end(self): ...
47     def fetch_flow_mapping_end(self): ...
48     def fetch_flow_collection_end(self, TokenClass): ...
49     def fetch_flow_entry(self): ...
50     def fetch_block_entry(self): ...
51     def fetch_key(self): ...
52     def fetch_value(self): ...
53     def fetch_alias(self): ...
54     def fetch_anchor(self): ...
55     def fetch_tag(self): ...
56     def fetch_literal(self): ...
57     def fetch_folded(self): ...
58     def fetch_block_scalar(self, style): ...
59     def fetch_single(self): ...
60     def fetch_double(self): ...
61     def fetch_flow_scalar(self, style): ...
62     def fetch_plain(self): ...
63     def check_directive(self): ...
64     def check_document_start(self): ...
65     def check_document_end(self): ...
66     def check_block_entry(self): ...
67     def check_key(self): ...
68     def check_value(self): ...
69     def check_plain(self): ...
70     def scan_to_next_token(self): ...
71     def scan_directive(self): ...
72     def scan_directive_name(self, start_mark): ...
73     def scan_yaml_directive_value(self, start_mark): ...
74     def scan_yaml_directive_number(self, start_mark): ...
75     def scan_tag_directive_value(self, start_mark): ...
76     def scan_tag_directive_handle(self, start_mark): ...
77     def scan_tag_directive_prefix(self, start_mark): ...
78     def scan_directive_ignored_line(self, start_mark): ...
79     def scan_anchor(self, TokenClass): ...
80     def scan_tag(self): ...
81     def scan_block_scalar(self, style): ...
82     def scan_block_scalar_indicators(self, start_mark): ...
83     def scan_block_scalar_ignored_line(self, start_mark): ...
84     def scan_block_scalar_indentation(self): ...
85     def scan_block_scalar_breaks(self, indent): ...
86     def scan_flow_scalar(self, style): ...
87     ESCAPE_REPLACEMENTS: Any
88     ESCAPE_CODES: Any
89     def scan_flow_scalar_non_spaces(self, double, start_mark): ...
90     def scan_flow_scalar_spaces(self, double, start_mark): ...
91     def scan_flow_scalar_breaks(self, double, start_mark): ...
92     def scan_plain(self): ...
93     def scan_plain_spaces(self, indent, start_mark): ...
94     def scan_tag_handle(self, name, start_mark): ...
95     def scan_tag_uri(self, name, start_mark): ...
96     def scan_uri_escapes(self, name, start_mark): ...
97     def scan_line_break(self): ...