aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/yaml-stubs/events.pyi
blob: e4e2a8f1ce8bb8c6e02d3823637196f97dca6e3a (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
from typing import Any

class Event:
    start_mark: Any
    end_mark: Any
    def __init__(self, start_mark=None, end_mark=None) -> None: ...

class NodeEvent(Event):
    anchor: Any
    start_mark: Any
    end_mark: Any
    def __init__(self, anchor, start_mark=None, end_mark=None) -> None: ...

class CollectionStartEvent(NodeEvent):
    anchor: Any
    tag: Any
    implicit: Any
    start_mark: Any
    end_mark: Any
    flow_style: Any
    def __init__(self, anchor, tag, implicit, start_mark=None, end_mark=None, flow_style=None) -> None: ...

class CollectionEndEvent(Event): ...

class StreamStartEvent(Event):
    start_mark: Any
    end_mark: Any
    encoding: Any
    def __init__(self, start_mark=None, end_mark=None, encoding=None) -> None: ...

class StreamEndEvent(Event): ...

class DocumentStartEvent(Event):
    start_mark: Any
    end_mark: Any
    explicit: Any
    version: Any
    tags: Any
    def __init__(self, start_mark=None, end_mark=None, explicit=None, version=None, tags=None) -> None: ...

class DocumentEndEvent(Event):
    start_mark: Any
    end_mark: Any
    explicit: Any
    def __init__(self, start_mark=None, end_mark=None, explicit=None) -> None: ...

class AliasEvent(NodeEvent): ...

class ScalarEvent(NodeEvent):
    anchor: Any
    tag: Any
    implicit: Any
    value: Any
    start_mark: Any
    end_mark: Any
    style: Any
    def __init__(self, anchor, tag, implicit, value, start_mark=None, end_mark=None, style=None) -> None: ...

class SequenceStartEvent(CollectionStartEvent): ...
class SequenceEndEvent(CollectionEndEvent): ...
class MappingStartEvent(CollectionStartEvent): ...
class MappingEndEvent(CollectionEndEvent): ...