code: 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
  
imports: from .error import MarkedYAMLError
  from .tokens import *
  from .events import *
  from .scanner import *
label_desc: Use image node_id 6 for calling the Parser obj's underlying member method code with example usage: obj.parse_stream_start() and returns: event