parameters: (val)
return_statement: return TypeIdPrinter('mlir::TypeID::get<%s>()' % concrete_type)
docstring: Returns a printer of the name of a mlir::TypeID.
docstring_summary: Returns a printer of the name of a mlir::TypeID.
docstring_tokens: Returns a printer of the name of a mlir :: TypeID .
function: def get_type_id_printer(val):
    """Returns a printer of the name of a mlir::TypeID."""
  
    class TypeIdPrinter:
  
      def __init__(self, string):
        self.string = string
  
      def to_string(self):
        return self.string
  
    concrete_type = storage_type_map[val]
    if not concrete_type:
      return None
    return TypeIdPrinter('mlir::TypeID::get<%s>()' % concrete_type)
function_tokens: def get_type_id_printer ( val ) : class TypeIdPrinter : def __init__ ( self , string ) : self . string = string def to_string ( self ) : return self . string concrete_type = storage_type_map [ val ] if not concrete_type : return None return TypeIdPrinter ( 'mlir::TypeID::get<%s>()' % concrete_type )