parameters: (typedefs, json_type, types)
return_statement: return t
docstring: Parses all typedefs to already parsed json types, except typedefs to
      functions (use parse_typedef_to_type_for_json).
docstring_summary: Parses all typedefs to already parsed json types, except typedefs to
      functions (use parse_typedef_to_type_for_json).
docstring_tokens: Parses all typedefs to already parsed json types except typedefs to functions ( use parse_typedef_to_type_for_json ) .
function: def parse_typedefs_to_json_type(typedefs, json_type, types):
      """Parses all typedefs to already parsed json types, except typedefs to
      functions (use parse_typedef_to_type_for_json).
      """
      typedefs = typedefs.split(', ')
      for typedef in typedefs:
          if '*' in typedef:
              sub_ptr = PointerType(json_type)
              types[sub_ptr.type_hash] = sub_ptr
              t = TypedefedType(typedef[1:].strip(), sub_ptr)
          else:
              t = TypedefedType(typedef, json_type)
          if valid_typedef_name(t.name_text):
              types[t.type_hash] = t
      return t
function_tokens: def parse_typedefs_to_json_type ( typedefs , json_type , types ) : typedefs = typedefs . split ( ', ' ) for typedef in typedefs : if '*' in typedef : sub_ptr = PointerType ( json_type ) types [ sub_ptr . type_hash ] = sub_ptr t = TypedefedType ( typedef [ 1 : ] . strip ( ) , sub_ptr ) else : t = TypedefedType ( typedef , json_type ) if valid_typedef_name ( t . name_text ) : types [ t . type_hash ] = t return t