parameters: (string_data, delimiters)
docstring: Extract and return a tag associate with a parameter
      list in a string.
      For example:
      "Token(Parameter)" would return "Token"
      Note: The incoming string must be validated by is_parametrized_token
      @param string_data - A string containing a parametrized token to
                           extract the tag from
      @param delimiters - A string containing all the delimiters that
                          could separate valid tokens.
      @return A string containing the tag associate with the parametrized
              token
docstring_summary: Extract and return a tag associate with a parameter
      list in a string.
      For example:
      "Token(Parameter)" would return "Token"
      Note: The incoming string must be validated by is_parametrized_token
docstring_tokens: Extract and return a tag associate with a parameter list in a string . For example : Token ( Parameter ) would return Token Note : The incoming string must be validated by is_parametrized_token
function: def extract_tag(string_data, delimiters):
      """Extract and return a tag associate with a parameter
      list in a string.
      For example:
      "Token(Parameter)" would return "Token"
      Note: The incoming string must be validated by is_parametrized_token
      @param string_data - A string containing a parametrized token to
                           extract the tag from
      @param delimiters - A string containing all the delimiters that
                          could separate valid tokens.
      @return A string containing the tag associate with the parametrized
              token
      """
      found = False
      index = 0
  
      string_checker = string_detector(string_data)
  
      for c in string_data:
          in_string = next(string_checker)
  
          # Handle Parenthesis
          if not in_string and (c == '(' or c == '<'):
              found = True
              break
  
          # Major delimiters can't be found before the parameter
          # tag is discovered.
          if not in_string:
              if delimiters.find(c) != -1:
                  break
  
          # increment our index
          index += 1
  
      if found:
          return string_data[:index]
      else:
          return "null"
function_tokens: def extract_tag ( string_data , delimiters ) : found = False index = 0 string_checker = string_detector ( string_data ) for c in string_data : in_string = next ( string_checker ) # Handle Parenthesis if not in_string and ( c == '(' or c == '<' ) : found = True break # Major delimiters can't be found before the parameter # tag is discovered. if not in_string : if delimiters . find ( c ) != - 1 : break # increment our index index += 1 if found : return string_data [ : index ] else : return "null"