parameters: (string_data)
docstring: Extract and return the parameters contained in parenthesis
      of a parametrized JSON entry in a string.
      For example:
      "Token(Parameter)" would return "Parameter"
      Note: The incoming string must be validated by is_parametrized_token
      @param string_data - The incoming string to extract parameters from
      @return A string containing the parameter string of the input token
docstring_summary: Extract and return the parameters contained in parenthesis
      of a parametrized JSON entry in a string.
      For example:
      "Token(Parameter)" would return "Parameter"
      Note: The incoming string must be validated by is_parametrized_token
docstring_tokens: Extract and return the parameters contained in parenthesis of a parametrized JSON entry in a string . For example : Token ( Parameter ) would return Parameter Note : The incoming string must be validated by is_parametrized_token
function: def extract_parameters(string_data):
      """Extract and return the parameters contained in parenthesis
      of a parametrized JSON entry in a string.
      For example:
      "Token(Parameter)" would return "Parameter"
      Note: The incoming string must be validated by is_parametrized_token
      @param string_data - The incoming string to extract parameters from
      @return A string containing the parameter string of the input token
      """
      parenthesis_depth = 0
      open_index = 0
      close_index = 0
      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 == '(':
              parenthesis_depth += 1
              if parenthesis_depth == 1:
                  open_index = index + 1
          if not in_string and c == ')':
              parenthesis_depth -= 1
              if parenthesis_depth == 0:
                  close_index = index
  
          # increment our index
          index += 1
  
      if open_index > close_index:
          return "null"
      else:
          return string_data[open_index:close_index]
function_tokens: def extract_parameters ( string_data ) : parenthesis_depth = 0 open_index = 0 close_index = 0 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 == '(' : parenthesis_depth += 1 if parenthesis_depth == 1 : open_index = index + 1 if not in_string and c == ')' : parenthesis_depth -= 1 if parenthesis_depth == 0 : close_index = index # increment our index index += 1 if open_index > close_index : return "null" else : return string_data [ open_index : close_index ]