Lines Matching full:methods
78 * The classes and methods are extracted by the constructor
82 * that can be converted to a class and copy all methods
104 clazz.methods[name].insert(fd); in copy_method()
162 if (clazz.methods.count(name) == 0) in is_overridden()
165 for (const auto &m : clazz.methods.at(name)) { in is_overridden()
170 clazz.methods[name].erase(m); in is_overridden()
176 /* Add the methods "methods" with method name "name" from "super" to "clazz"
179 * Methods that are static in their original class are not copied.
182 const isl_class &super, const function_set &methods) in copy_methods() argument
184 for (auto fd : methods) { in copy_methods()
196 /* Add all methods from "super" to "clazz" that have not been overridden
199 * Look through all groups of methods with the same name.
203 for (const auto &kvp : super.methods) { in copy_super_methods()
205 const auto &methods = kvp.second; in copy_super_methods() local
207 copy_methods(clazz, name, super, methods); in copy_super_methods()
211 /* Copy methods from the superclasses of "clazz"
216 * Make sure the superclasses have copied methods from their superclasses first
217 * since those methods could be copied further down to this class.
239 /* For each (proper) class, copy methods from its superclasses,
246 * Iterate through all (proper) classes and copy methods
283 /* Print declarations or definitions for methods in the class.
287 for (const auto &kvp : clazz.methods) in print_methods()
291 /* Print declarations or implementations for the methods derived from "fd",
306 /* Print declarations or implementations for methods derived from functions
358 * Otherwise, for methods that are identified as "get" methods, also
371 * In this case, the conversion methods for the arguments
414 /* Does the set "methods" contain exactly one function declaration
419 const function_set &methods) in single_local() argument
424 for (const auto &fn : methods) { in single_local()
436 * generate declarations or definitions for methods with the same name,
439 * In particular, generate methods for converting this argument.
457 /* Print declarations or definitions for methods called "name"
458 * derived from "methods".
462 * through a unary constructor and if only one of the methods in the group
464 * Only do this for methods with a single (isl object) argument.
467 const function_set &methods, const std::string &name) in print_method_group() argument
471 for (const auto &fd : methods) in print_method_group()
473 if (!want_descendent_overloads(methods)) in print_method_group()
475 local = single_local(clazz, methods); in print_method_group()
485 * Member methods pass the isl object corresponding to "this"
583 * This function prints headers for member methods, static methods, and
1027 * to "end" (exclusive), calling the methods of "combiner"
1059 * calling the methods of "combiner" before, between and after the arguments.
1112 * calling the methods of "combiner" before, between and after the arguments.
1295 * because it is replaced by a break-up into several methods.
1302 /* Initialize a class method printer from the stream onto which the methods