docs: def parse_result_to_dsl(tokens):
      """Convert a ParseResult to a PyBEL DSL object.
  
      :type tokens: dict or pyparsing.ParseResults
      :rtype: BaseEntity
      """
      if MODIFIER in tokens:
          return parse_result_to_dsl(tokens[TARGET])
  
      elif REACTION == tokens[FUNCTION]:
          return _reaction_po_to_dict(tokens)
  
      elif VARIANTS in tokens:
          return _variant_po_to_dict(tokens)
  
      elif MEMBERS in tokens:
          return _list_po_to_dict(tokens)
  
      elif FUSION in tokens:
          return _fusion_to_dsl(tokens)
  
      return _simple_po_to_dict(tokens)