#include "ruby.h"
#include "env.h"
#include "node.h"
#include "st.h"
#include "util.h"
Go to the source code of this file.
|
||||||||||||
|
Definition at line 1309 of file variable.c. References autoload, check_autoload_table(), DATA_PTR, ID, NODE, st_table::num_entries, rb_gc_force_recycle(), RCLASS, st_data_t, st_delete(), st_free_table(), st_lookup(), and VALUE. Referenced by mod_av_set(), rb_autoload_load(), and rb_mod_remove_const(). |
|
||||||||||||
|
Definition at line 1350 of file variable.c. References autoload, check_autoload_table(), Check_Type, DATA_PTR, ID, NODE, st_table::num_entries, Qnil, rb_eArgError, rb_gc_force_recycle(), rb_provided(), rb_raise(), RCLASS, RSTRING, st_data_t, st_delete(), st_free_table(), st_lookup(), T_STRING, and VALUE. Referenced by rb_autoload_p(), and rb_const_defined_0(). |
|
|
Definition at line 1262 of file variable.c. References Check_Type, DATA_PTR, rb_eTypeError, rb_inspect(), rb_mark_tbl(), rb_raise(), RDATA, RSTRING, RUBY_DATA_FUNC, st_free_table(), T_DATA, and VALUE. Referenced by autoload_delete(), autoload_file(), and rb_autoload(). |
|
|
Definition at line 144 of file variable.c. References classpath, find_class_path(), ID, Qnil, rb_bug(), rb_cObject, rb_id2name(), rb_intern(), rb_str_new2(), RCLASS, ROBJECT, st_data_t, st_delete(), st_insert(), st_lookup(), SYM2ID, T_STRING, TYPE, and VALUE. Referenced by rb_class_path(), and rb_mod_name(). |
|
||||||||||||
|
Definition at line 1216 of file variable.c. References ID, ID2SYM, rb_funcall(), rb_intern(), and VALUE. Referenced by rb_const_get_0(). |
|
||||||||||||||||
|
Definition at line 1845 of file variable.c. References ID, rb_ary_includes(), rb_ary_push(), rb_id2name(), rb_is_class_id(), rb_str_new2(), ST_CONTINUE, and VALUE. Referenced by rb_mod_class_variables(). |
|
||||||||||||
|
Definition at line 1712 of file variable.c. References ID, original_module(), rb_class2name(), rb_id2name(), rb_warning(), RCLASS, st_lookup(), and VALUE. Referenced by rb_cvar_get(), and rb_cvar_set(). |
|
||||||||||||||||
|
Definition at line 71 of file variable.c. References fc_i(), fc_path(), ID, fc_result::klass, fc_result::name, fc_result::path, fc_result::prev, rb_is_const_id(), RCLASS, ST_CONTINUE, st_data_t, st_foreach_safe(), ST_STOP, T_CLASS, T_MODULE, fc_result::track, TYPE, and VALUE. Referenced by fc_i(), and find_class_path(). |
|
||||||||||||
|
Definition at line 44 of file variable.c. References classpath, ID, name, rb_cObject, rb_id2name(), rb_str_append(), rb_str_cat2(), rb_str_dup(), rb_str_new2(), ROBJECT, st_lookup(), and VALUE. Referenced by fc_i(). |
|
|
Definition at line 116 of file variable.c. References classpath, fc_i(), fc_result::klass, fc_result::name, fc_result::path, fc_result::prev, Qnil, rb_class_tbl, rb_cObject, RCLASS, ROBJECT, st_data_t, st_delete(), st_foreach(), st_foreach_safe(), st_init_numtable(), st_insert(), tmp_classpath, fc_result::track, and VALUE. Referenced by classname(). |
|
||||||||||||
|
Definition at line 896 of file variable.c. References generic_iv_tbl, ID, Qfalse, Qtrue, st_data_t, st_lookup(), and VALUE. Referenced by rb_ivar_defined(). |
|
||||||||||||||||
|
Definition at line 849 of file variable.c. References generic_iv_tbl, ID, Qnil, rb_id2name(), rb_warning(), st_data_t, st_lookup(), and VALUE. Referenced by ivar_get(). |
|
||||||||||||||||
|
Definition at line 912 of file variable.c. References generic_iv_tbl, ID, st_table::num_entries, st_data_t, st_delete(), st_free_table(), st_lookup(), and VALUE. Referenced by rb_obj_remove_instance_variable(). |
|
||||||||||||||||
|
Definition at line 871 of file variable.c. References FL_EXIVAR, FL_SET, generic_iv_tbl, ID, rb_special_const_p(), special_generic_ivar, st_add_direct(), st_data_t, st_init_numtable(), st_insert(), st_lookup(), and VALUE. Referenced by rb_ivar_set(). |
|
||||||||||||
|
Definition at line 952 of file variable.c. References givar_mark_i(), rb_special_const_p(), ST_CONTINUE, st_foreach(), and VALUE. Referenced by rb_mark_generic_ivar_tbl(). |
|
||||||||||||
|
Definition at line 943 of file variable.c. References ID, rb_gc_mark(), ST_CONTINUE, and VALUE. Referenced by givar_i(). |
|
|
Definition at line 478 of file variable.c. References ALLOCA_N, ID, name, and rb_intern(). Referenced by rb_define_hooked_variable(), rb_gv_get(), and rb_gv_set(). |
|
||||||||||||||||
|
Definition at line 759 of file variable.c. References ID, rb_ary_push(), rb_id2name(), rb_str_new2(), ST_CONTINUE, and VALUE. Referenced by rb_f_global_variables(). |
|
|
Definition at line 26 of file variable.c. References autoload, classpath, rb_class_tbl, rb_global_tbl, rb_intern(), st_init_numtable(), and tmp_classpath. Referenced by rb_call_inits(). |
|
||||||||||||||||
|
Definition at line 1001 of file variable.c. References FL_EXIVAR, FL_TEST, generic_ivar_get(), ID, Qnil, rb_id2name(), rb_special_const_p(), rb_warning(), ROBJECT, st_lookup(), T_CLASS, T_MODULE, T_OBJECT, TYPE, and VALUE. Referenced by rb_attr_get(), and rb_ivar_get(). |
|
||||||||||||||||
|
Definition at line 1086 of file variable.c. References ID, rb_ary_push(), rb_id2name(), rb_is_instance_id(), rb_str_new2(), ST_CONTINUE, and VALUE. Referenced by rb_obj_instance_variables(). |
|
||||||||||||||||
|
Definition at line 1541 of file variable.c. References ID, rb_ary_push(), rb_id2name(), rb_str_new2(), ST_CONTINUE, and VALUE. Referenced by rb_const_list(). |
|
||||||||||||
|
Definition at line 453 of file variable.c. References ID, rb_gc_mark_maybe(), and ST_CONTINUE. Referenced by rb_gc_mark_global_tbl(). |
|
||||||||||||||||||||
|
Definition at line 1633 of file variable.c. References autoload_delete(), BUILTIN_TYPE, ID, OBJ_FROZEN, OBJ_TAINTED, Qfalse, Qundef, rb_error_frozen(), rb_eSecurityError, rb_id2name(), rb_raise(), rb_safe_level, rb_warn(), RCLASS, st_init_numtable(), st_insert(), st_lookup(), T_MODULE, and VALUE. Referenced by rb_const_set(), and rb_cvar_set(). |
|
|
Definition at line 1703 of file variable.c. References RBASIC, T_ICLASS, TYPE, and VALUE. Referenced by cvar_override_check(). |
|
|
Definition at line 286 of file variable.c. References rb_class_path(), rb_class_real(), and VALUE. Referenced by error_print(), exc_inspect(), exc_to_s(), name_err_to_s(), rb_class2name(), and rb_mod_to_s(). |
|
||||||||||||||||||||
|
Definition at line 1581 of file variable.c. References autoload_file(), BUILTIN_TYPE, ID, NIL_P, Qfalse, Qtrue, Qundef, rb_cObject, RCLASS, st_lookup(), T_MODULE, and VALUE. Referenced by rb_const_defined(), rb_const_defined_at(), and rb_const_defined_from(). |
|
||||||||||||||||||||
|
Definition at line 1399 of file variable.c. References BUILTIN_TYPE, const_missing(), ID, Qundef, rb_autoload_load(), rb_class2name(), rb_cObject, rb_id2name(), rb_warn(), RCLASS, RTEST, st_lookup(), T_MODULE, and VALUE. Referenced by rb_const_get(), rb_const_get_at(), and rb_const_get_from(). |
|
||||||||||||
|
Definition at line 1695 of file variable.c. References name, rb_cObject, rb_define_const(), and VALUE. Referenced by Init_Hash(), Init_IO(), Init_Object(), Init_Regexp(), Init_version(), load_file(), ruby_init(), and ruby_prog_init(). |
|
||||||||||||||||||||
|
Definition at line 494 of file variable.c. References global_variable::data, global_id(), ID, name, rb_global_entry(), VALUE, global_entry::var, var_getter(), var_marker(), and var_setter(). Referenced by Init_eval(), Init_IO(), rb_define_readonly_variable(), rb_define_variable(), rb_define_virtual_variable(), and ruby_prog_init(). |
|
||||||||||||
|
Definition at line 519 of file variable.c. References name, rb_define_hooked_variable(), readonly_setter(), and VALUE. Referenced by Init_IO(), Init_load(), Init_process(), and ruby_prog_init(). |
|
||||||||||||
|
Definition at line 511 of file variable.c. References name, rb_define_hooked_variable(), and VALUE. Referenced by Init_IO(), Init_String(), and ruby_prog_init(). |
|
||||||||||||||||
|
Definition at line 527 of file variable.c. References name, rb_define_hooked_variable(), readonly_setter(), and val_getter(). Referenced by Init_eval(), Init_IO(), Init_process(), and Init_Regexp(). |
|
|
Definition at line 341 of file variable.c. References ALLOC, ID, rb_global_tbl, st_add_direct(), st_data_t, st_lookup(), undef_getter(), undef_marker(), and undef_setter(). Referenced by rb_alias_variable(), rb_define_hooked_variable(), rb_f_trace_var(), rb_gv_get(), and rb_gv_set(). |
|
|
Definition at line 741 of file variable.c. References global_id(), name, rb_global_entry(), and rb_gvar_get(). |
|
||||||||||||
|
Definition at line 730 of file variable.c. References global_id(), name, rb_global_entry(), rb_gvar_set(), and VALUE. Referenced by process_sflag(). |
|
|
Definition at line 751 of file variable.c. References Qfalse, Qtrue, and undef_getter(). Referenced by is_defined(). |
|
|
Definition at line 674 of file variable.c. Referenced by rb_eval(), and rb_gv_get(). |
|
||||||||||||
|
Definition at line 709 of file variable.c. References rb_ensure(), rb_eSecurityError, rb_raise(), rb_safe_level, trace_data::trace, trace_en(), trace_ev(), trace_data::val, and VALUE. Referenced by assign(), rb_eval(), and rb_gv_set(). |
|
|
Definition at line 238 of file variable.c. References ID, rb_cObject, rb_const_defined(), rb_const_get_at(), rb_eArgError, rb_eTypeError, rb_intern(), rb_raise(), rb_str_new(), RSTRING, T_CLASS, T_MODULE, TYPE, and VALUE. Referenced by class2path(), path2class(), path2module(), and r_object0(). |
|
||||||||||||
|
Definition at line 538 of file variable.c. References cmd, rb_ary_new3(), rb_eval_cmd(), and VALUE. Referenced by rb_f_trace_var(). |
|
||||||||||||||||
|
Definition at line 444 of file variable.c. References ID, rb_id2name(), rb_name_error(), and VALUE. Referenced by rb_define_readonly_variable(), and rb_define_virtual_variable(). |
|
|
Definition at line 598 of file variable.c. References free, and trace_var::next. Referenced by rb_f_untrace_var(), and trace_en(). |
|
||||||||||||||||
|
Definition at line 1497 of file variable.c. References ID, rb_is_const_id(), ST_CONTINUE, st_insert(), st_lookup(), and VALUE. Referenced by rb_mod_const_at(). |
|
|
Definition at line 700 of file variable.c. References Qnil, and remove_trace(). Referenced by rb_gvar_set(). |
|
|
Definition at line 687 of file variable.c. References Qnil. Referenced by rb_gvar_set(). |
|
|
Definition at line 366 of file variable.c. References ID, Qnil, rb_id2name(), and rb_warning(). |