#include "ruby.h"
#include "rubysig.h"
#include "node.h"
#include "st.h"
#include <ctype.h>
#include <stdarg.h>
Go to the source code of this file.
|
|
Value: do {\ if (obj == (x)) {\ return c;\ }\ } while (0) Definition at line 850 of file class.c. Referenced by rb_singleton_class(). |
|
|
|
|
|
Definition at line 522 of file class.c. Referenced by method_entry(). |
|
|
Definition at line 523 of file class.c. Referenced by rb_mod_private_method_defined(), rb_mod_protected_method_defined(), and rb_mod_public_method_defined(). |
|
||||||||||||||||||||
|
Definition at line 603 of file class.c. References BUILTIN_TYPE, FL_SINGLETON, FL_TEST, ID, method_entry(), Qtrue, rb_ary_new(), rb_scan_args(), RCLASS, RTEST, st_data_t, st_foreach(), st_free_table(), st_init_numtable(), T_ICLASS, and VALUE. Referenced by rb_class_instance_methods(), rb_class_private_instance_methods(), rb_class_protected_instance_methods(), and rb_class_public_instance_methods(). |
|
||||||||||||||||
|
Definition at line 52 of file class.c. References ID, NEW_METHOD, NODE, ST_CONTINUE, st_data_t, and st_insert(). Referenced by rb_mod_init_copy(), and rb_singleton_class_clone(). |
|
||||||||||||
|
Definition at line 343 of file class.c. References BUILTIN_TYPE, NEWOBJ, OBJ_INFECT, OBJSETUP, rb_cClass, RBASIC, RCLASS, st_init_numtable(), T_ICLASS, TYPE, and VALUE. Referenced by rb_include_module(). |
|
||||||||||||||||
|
Definition at line 550 of file class.c. References ID, ins_methods_push(), name, and VALUE. Referenced by rb_class_instance_methods(), and rb_obj_singleton_methods(). |
|
||||||||||||||||
|
Definition at line 568 of file class.c. References ID, ins_methods_push(), name, NOEX_PRIVATE, and VALUE. Referenced by rb_class_private_instance_methods(). |
|
||||||||||||||||
|
Definition at line 559 of file class.c. References ID, ins_methods_push(), name, NOEX_PROTECTED, and VALUE. Referenced by rb_class_protected_instance_methods(). |
|
||||||||||||||||
|
Definition at line 577 of file class.c. References ID, ins_methods_push(), name, NOEX_PUBLIC, and VALUE. Referenced by rb_class_public_instance_methods(). |
|
||||||||||||||||||||
|
Definition at line 526 of file class.c. References ID, name, NOEX_PRIVATE, NOEX_PROTECTED, NOEX_PUBLIC, rb_ary_push(), rb_id2name(), rb_str_new2(), ST_CONTINUE, and VALUE. Referenced by ins_methods_i(), ins_methods_priv_i(), ins_methods_prot_i(), and ins_methods_pub_i(). |
|
||||||||||||||||
|
Definition at line 586 of file class.c. References ID, ID_ALLOCATOR, NODE, st_add_direct(), ST_CONTINUE, st_lookup(), and VISI. Referenced by class_instance_method_list(), and rb_obj_singleton_methods(). |
|
||||||||||||
|
Definition at line 210 of file class.c. References ID, name, rb_class_inherited(), rb_class_real(), rb_class_tbl, rb_cObject, rb_const_defined(), rb_const_get(), rb_const_set(), rb_define_class_id(), rb_eTypeError, rb_intern(), rb_name_class(), rb_name_error(), rb_raise(), rb_warn(), RCLASS, st_add_direct(), T_CLASS, TYPE, and VALUE. |
|
||||||||||||||||
|
Definition at line 914 of file class.c. References name, rb_define_module_function(), and rb_mKernel. |
|
||||||||||||||||||||
|
Definition at line 809 of file class.c. References ID, name, NEW_CFUNC, NOEX_PUBLIC, rb_add_method(), rb_intern(), and VALUE. |
|
||||||||||||||||||||
|
Definition at line 799 of file class.c. References ID, name, NEW_CFUNC, NOEX_PUBLIC, rb_add_method(), and VALUE. |
|
|
Definition at line 299 of file class.c. References ID, name, rb_class_tbl, rb_cObject, rb_const_defined(), rb_const_get(), rb_const_set(), rb_define_module_id(), rb_eTypeError, rb_intern(), rb_obj_classname(), rb_raise(), st_add_direct(), T_MODULE, TYPE, and VALUE. |
|
||||||||||||||||||||
|
Definition at line 903 of file class.c. References name, rb_define_private_method(), rb_define_singleton_method(), and VALUE. |
|
||||||||||||||||||||
|
Definition at line 833 of file class.c. References name, NEW_CFUNC, NOEX_PRIVATE, rb_add_method(), rb_intern(), and VALUE. |
|
||||||||||||||||||||
|
Definition at line 823 of file class.c. References name, NEW_CFUNC, NOEX_PROTECTED, rb_add_method(), rb_intern(), and VALUE. |
|
||||||||||||||||||||
|
Definition at line 893 of file class.c. References name, rb_define_method(), rb_singleton_class(), and VALUE. |
|
|
Definition at line 19 of file class.c. Referenced by boot_defclass(), find_class_path(), garbage_collect(), Init_var_tables(), rb_define_class(), and rb_define_module(). |
1.3.5