parameters: (filename)
return_statement: return is_framework.groupdict()
docstring: A framework name can take one of the following four forms:
          Location/Name.framework/Versions/SomeVersion/Name_Suffix
          Location/Name.framework/Versions/SomeVersion/Name
          Location/Name.framework/Name_Suffix
          Location/Name.framework/Name
  
      returns None if not found, or a mapping equivalent to:
          dict(
              location='Location',
              name='Name.framework/Versions/SomeVersion/Name_Suffix',
              shortname='Name',
              version='SomeVersion',
              suffix='Suffix',
          )
  
      Note that SomeVersion and Suffix are optional and may be None
      if not present
docstring_summary: A framework name can take one of the following four forms:
          Location/Name.framework/Versions/SomeVersion/Name_Suffix
          Location/Name.framework/Versions/SomeVersion/Name
          Location/Name.framework/Name_Suffix
          Location/Name.framework/Name
docstring_tokens: A framework name can take one of the following four forms : Location / Name . framework / Versions / SomeVersion / Name_Suffix Location / Name . framework / Versions / SomeVersion / Name Location / Name . framework / Name_Suffix Location / Name . framework / Name
function: def framework_info(filename):
      """
      A framework name can take one of the following four forms:
          Location/Name.framework/Versions/SomeVersion/Name_Suffix
          Location/Name.framework/Versions/SomeVersion/Name
          Location/Name.framework/Name_Suffix
          Location/Name.framework/Name
  
      returns None if not found, or a mapping equivalent to:
          dict(
              location='Location',
              name='Name.framework/Versions/SomeVersion/Name_Suffix',
              shortname='Name',
              version='SomeVersion',
              suffix='Suffix',
          )
  
      Note that SomeVersion and Suffix are optional and may be None
      if not present
      """
      is_framework = STRICT_FRAMEWORK_RE.match(filename)
      if not is_framework:
          return None
      return is_framework.groupdict()
function_tokens: def framework_info ( filename ) : is_framework = STRICT_FRAMEWORK_RE . match ( filename ) if not is_framework : return None return is_framework . groupdict ( )