#NEWLINE# def MapOf( self , variable , type_name ) : #NEWLINE# #INDENT# 'Produce the string declaring a map of string to a data type.\n\n    Args:\n      variable: (DataType) the data we want an array of.\n      type_name: (str) the printable name of that data type. Usually\n          variable.codeType.\n    Returns:\n      (str)\n    ' #NEWLINE# if self . map_of_policy : #NEWLINE# #INDENT# return self . ApplyFormat ( variable , type_name , type_name . map_of_policy ) #NEWLINE# #UNINDENT# raise NotImplementedError ( 'Subclasses of LanguageModel must implement MapOf or provide map_of_policy' )