code: def compose(stream, Loader=Loader):
      
      loader = Loader(stream)
      try:
          return loader.get_single_node()
      finally:
          loader.dispose()
docs: Parse the first YAML document in a stream
      and produce the corresponding representation tree.