massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / PyYAML / yaml / nodes.pyi
1 from typing import Any, ClassVar
2
3 from yaml.error import Mark
4
5 class Node:
6     tag: str
7     value: Any
8     start_mark: Mark | Any
9     end_mark: Mark | Any
10     def __init__(self, tag: str, value, start_mark: Mark | None, end_mark: Mark | None) -> None: ...
11
12 class ScalarNode(Node):
13     id: ClassVar[str]
14     style: str | Any
15     def __init__(
16         self, tag: str, value, start_mark: Mark | None = ..., end_mark: Mark | None = ..., style: str | None = ...
17     ) -> None: ...
18
19 class CollectionNode(Node):
20     flow_style: bool | Any
21     def __init__(
22         self, tag: str, value, start_mark: Mark | None = ..., end_mark: Mark | None = ..., flow_style: bool | None = ...
23     ) -> None: ...
24
25 class SequenceNode(CollectionNode):
26     id: ClassVar[str]
27
28 class MappingNode(CollectionNode):
29     id: ClassVar[str]