code: def __init__(self):
      self.current_event = None
      self.yaml_version = None
      self.tag_handles = {}
      self.states = []
      self.marks = []
      self.state = self.parse_stream_start
  
imports: from .error import MarkedYAMLError
  from .tokens import *
  from .events import *
  from .scanner import *
label_desc: Use image node_id 1 to create a new Parser object  with example: obj = Parser()