parameters: (name)
return_statement: return name[:name.find(PRN_SEPARATOR)]
docstring: pkg/typeName -> pkg, typeName -> None
      
      @param name: package resource name, e.g. 'std_msgs/String'
      @type  name: str
      @return: package name of resource
      @rtype: str
docstring_summary: pkg/typeName -> pkg, typeName -> None
docstring_tokens: pkg / typeName - > pkg typeName - > None
function: def resource_name_package(name):
      """
      pkg/typeName -> pkg, typeName -> None
      
      @param name: package resource name, e.g. 'std_msgs/String'
      @type  name: str
      @return: package name of resource
      @rtype: str
      """    
  
      if not PRN_SEPARATOR in name:
          return None
      return name[:name.find(PRN_SEPARATOR)]
function_tokens: def resource_name_package ( name ) : if not PRN_SEPARATOR in name : return None return name [ : name . find ( PRN_SEPARATOR ) ]