parameters: (sym)
return_statement: return sym
docstring: Map the nm single letter output for type to either FUNC or OBJECT.
          If the type is not recognized it is left unchanged.
docstring_summary: Map the nm single letter output for type to either FUNC or OBJECT.
          If the type is not recognized it is left unchanged.
docstring_tokens: Map the nm single letter output for type to either FUNC or OBJECT . If the type is not recognized it is left unchanged .
function: def _transform_sym_type(sym):
          """
          Map the nm single letter output for type to either FUNC or OBJECT.
          If the type is not recognized it is left unchanged.
          """
          func_types = ['T', 'W']
          obj_types = ['B', 'D', 'R', 'V', 'S']
          if sym['type'] in func_types:
              sym['type'] = 'FUNC'
          elif sym['type'] in obj_types:
              sym['type'] = 'OBJECT'
          return sym
function_tokens: def _transform_sym_type ( sym ) : func_types = [ 'T' , 'W' ] obj_types = [ 'B' , 'D' , 'R' , 'V' , 'S' ] if sym [ 'type' ] in func_types : sym [ 'type' ] = 'FUNC' elif sym [ 'type' ] in obj_types : sym [ 'type' ] = 'OBJECT' return sym