def parse_address_family(address_mapper, path, build_files_content):
 if (not build_files_content.dependencies):
  raise ResolveError(u'Directory "{}" does not contain build files.'.format(path))
 address_maps = []
 for filecontent_product in build_files_content.dependencies:
  address_maps.append(AddressMap.parse(filecontent_product.path, filecontent_product.content, address_mapper.symbol_table_cls, address_mapper.parser_cls, address_mapper.exclude_patterns))
 return AddressFamily.create(path.path, address_maps)

def parse_address_family ( address_mapper , path , build_files_content ) : if ( not build_files_content . dependencies ) : raise ResolveError ( u'Directory "{}" does not contain build files.' . format ( path ) ) address_maps = [ ] for filecontent_product in build_files_content . dependencies : address_maps . append ( AddressMap . parse ( filecontent_product . path , filecontent_product . content , address_mapper . symbol_table_cls , address_mapper . parser_cls , address_mapper . exclude_patterns ) ) return AddressFamily . create ( path . path , address_maps )
given the contents of the build files in one directory .