Function parse_stream_start

Synopsis

def parse_stream_start(self)

Description

No description yet.

Source

Lines 127-138 in lib3/yaml/parser.py.

def parse_stream_start(self):
    # Parse the stream start.
    token = self.get_token()
    event = StreamStartEvent(token.start_mark, token.end_mark,
            encoding=token.encoding)
    # Prepare the next state.
    self.state = self.parse_implicit_document_start
    return event





Add Discussion as Guest

Log in