Class CollectionStartEvent

Synopsis

class CollectionStartEvent(NodeEvent)

Description

No description yet.

Inheritance

Ancestors: NodeEvent

Decsendents: SequenceStartEvent, MappingStartEvent

Methods

__init__

Source

Lines 21-31 in lib3/yaml/events.py.

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

class CollectionEndEvent(Event):





Add Discussion as Guest

Log in