Lines Matching refs:category

208   class_names,		/* class, category, protocol, module names */
365 int cat_count = 0; /* `@category' */
4580 expression, or because a class/category implements it (then a
4582 class/category), we create a statically allocated instance of the
4587 @protocol() or from a class/category implementation). These
4606 Protocol objects referred to by a class or category implementation
4607 are fixed up when the class/category is loaded; all Protocol
5431 /* We have a category. */
5654 /* Retrieve category interface CAT_NAME (if any) associated with CLASS. */
5659 tree category = CLASS_CATEGORY_LIST (class);
5661 while (category && CLASS_SUPER_NAME (category) != cat_name)
5662 category = CLASS_CATEGORY_LIST (category);
5663 return category;
5673 tree protocol_decl, category;
5680 category = lookup_category (implementation_template,
5683 if (category && CLASS_PROTOCOL_LIST (category))
5685 generate_protocol_references (CLASS_PROTOCOL_LIST (category));
5686 protocol_decl = generate_protocol_list (category);
5822 /* We have a category. */
6855 tree category = inter;
6861 /* Failing that, look for the method in each category of the class. */
6862 while ((category = CLASS_CATEGORY_LIST (category)))
6864 chain = is_class ? CLASS_CLS_METHODS (category) : CLASS_NST_METHODS (category);
6866 /* Check directly in each category. */
6870 /* Failing that, check in each category's protocols. */
6871 if (CLASS_PROTOCOL_LIST (category))
6874 (CLASS_PROTOCOL_LIST (category), ident, is_class))))
6951 /* When processing an @interface for a class or category, give hard
7013 add_category (tree class, tree category)
7016 tree cat = lookup_category (class, CLASS_SUPER_NAME (category));
7020 warning (0, "duplicate interface declaration for category %<%s(%s)%>",
7022 IDENTIFIER_POINTER (CLASS_SUPER_NAME (category)));
7026 CLASS_CATEGORY_LIST (category) = CLASS_CATEGORY_LIST (class);
7027 CLASS_CATEGORY_LIST (class) = category;
7277 warning (0, "incomplete implementation of category %qs",
7366 warning (0, "incomplete implementation of category %qs",
7585 /* For a category, class_name is really the name of the class that
7610 /* For a category, class_name is really the name of the class that
7717 tree category = lookup_category (implementation_template, CLASS_SUPER_NAME (class));
7719 if (category)
7722 check_methods (CLASS_CLS_METHODS (category),
7724 check_methods (CLASS_NST_METHODS (category),
7727 if (CLASS_PROTOCOL_LIST (category))
7728 check_protocols (CLASS_PROTOCOL_LIST (category),
7729 "category",
8718 /* We have a category. */
8723 /* Barf if super used in a category of Object. */
9022 classes, and the category name for categories. */
9093 if (cp[1] == '_') /* easy case: no category name */
9100 *cp++ = '('; /* less easy case: category name */