Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs | Functions
variable.c File Reference
#include "mruby.h"
#include "mruby/array.h"
#include "mruby/class.h"
#include "mruby/proc.h"
#include "mruby/string.h"
#include "mruby/variable.h"
#include "error.h"
#include <ctype.h>
#include "mruby/khash.h"
Include dependency graph for variable.c:

Go to the source code of this file.

Data Structures

struct  iv_tbl
struct  csym_arg

Macros

#define MRB_IVHASH_INIT_SIZE   8

Typedefs

typedef int( iv_foreach_func )(mrb_state *, mrb_sym, mrb_value, void *)
typedef struct iv_tbl iv_tbl

Functions

void mrb_gc_mark_gv (mrb_state *mrb)
void mrb_gc_free_gv (mrb_state *mrb)
void mrb_gc_mark_iv (mrb_state *mrb, struct RObject *obj)
size_t mrb_gc_mark_iv_size (mrb_state *mrb, struct RObject *obj)
void mrb_gc_free_iv (mrb_state *mrb, struct RObject *obj)
mrb_value mrb_vm_special_get (mrb_state *mrb, mrb_sym i)
void mrb_vm_special_set (mrb_state *mrb, mrb_sym i, mrb_value v)
mrb_value mrb_obj_iv_get (mrb_state *mrb, struct RObject *obj, mrb_sym sym)
mrb_value mrb_iv_get (mrb_state *mrb, mrb_value obj, mrb_sym sym)
void mrb_obj_iv_set (mrb_state *mrb, struct RObject *obj, mrb_sym sym, mrb_value v)
void mrb_obj_iv_ifnone (mrb_state *mrb, struct RObject *obj, mrb_sym sym, mrb_value v)
void mrb_iv_set (mrb_state *mrb, mrb_value obj, mrb_sym sym, mrb_value v)
mrb_bool mrb_obj_iv_defined (mrb_state *mrb, struct RObject *obj, mrb_sym sym)
mrb_bool mrb_iv_defined (mrb_state *mrb, mrb_value obj, mrb_sym sym)
void mrb_iv_copy (mrb_state *mrb, mrb_value dest, mrb_value src)
mrb_value mrb_obj_iv_inspect (mrb_state *mrb, struct RObject *obj)
mrb_value mrb_iv_remove (mrb_state *mrb, mrb_value obj, mrb_sym sym)
mrb_value mrb_vm_iv_get (mrb_state *mrb, mrb_sym sym)
void mrb_vm_iv_set (mrb_state *mrb, mrb_sym sym, mrb_value v)
mrb_value mrb_obj_instance_variables (mrb_state *mrb, mrb_value self)
mrb_value mrb_mod_class_variables (mrb_state *mrb, mrb_value mod)
mrb_value mrb_mod_cv_get (mrb_state *mrb, struct RClass *c, mrb_sym sym)
mrb_value mrb_cv_get (mrb_state *mrb, mrb_value mod, mrb_sym sym)
void mrb_mod_cv_set (mrb_state *mrb, struct RClass *c, mrb_sym sym, mrb_value v)
void mrb_cv_set (mrb_state *mrb, mrb_value mod, mrb_sym sym, mrb_value v)
mrb_bool mrb_mod_cv_defined (mrb_state *mrb, struct RClass *c, mrb_sym sym)
mrb_bool mrb_cv_defined (mrb_state *mrb, mrb_value mod, mrb_sym sym)
mrb_value mrb_vm_cv_get (mrb_state *mrb, mrb_sym sym)
void mrb_vm_cv_set (mrb_state *mrb, mrb_sym sym, mrb_value v)
mrb_bool mrb_const_defined (mrb_state *mrb, mrb_value mod, mrb_sym sym)
mrb_value mrb_const_get (mrb_state *mrb, mrb_value mod, mrb_sym sym)
mrb_value mrb_vm_const_get (mrb_state *mrb, mrb_sym sym)
void mrb_const_set (mrb_state *mrb, mrb_value mod, mrb_sym sym, mrb_value v)
void mrb_vm_const_set (mrb_state *mrb, mrb_sym sym, mrb_value v)
void mrb_const_remove (mrb_state *mrb, mrb_value mod, mrb_sym sym)
void mrb_define_const (mrb_state *mrb, struct RClass *mod, const char *name, mrb_value v)
void mrb_define_global_const (mrb_state *mrb, const char *name, mrb_value val)
mrb_value mrb_mod_constants (mrb_state *mrb, mrb_value mod)
mrb_value mrb_gv_get (mrb_state *mrb, mrb_sym sym)
void mrb_gv_set (mrb_state *mrb, mrb_sym sym, mrb_value v)
mrb_value mrb_f_global_variables (mrb_state *mrb, mrb_value self)
int mrb_const_defined_at (mrb_state *mrb, struct RClass *klass, mrb_sym id)
mrb_value mrb_attr_get (mrb_state *mrb, mrb_value obj, mrb_sym id)
mrb_sym mrb_class_sym (mrb_state *mrb, struct RClass *c, struct RClass *outer)

Macro Definition Documentation

#define MRB_IVHASH_INIT_SIZE   8

Definition at line 292 of file variable.c.

Typedef Documentation

typedef int( iv_foreach_func)(mrb_state *, mrb_sym, mrb_value, void *)

Definition at line 16 of file variable.c.

typedef struct iv_tbl iv_tbl

Function Documentation

mrb_value mrb_attr_get ( mrb_state mrb,
mrb_value  obj,
mrb_sym  id 
)

Definition at line 1104 of file variable.c.

Here is the call graph for this function:

mrb_sym mrb_class_sym ( mrb_state mrb,
struct RClass c,
struct RClass outer 
)

Definition at line 1128 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_bool mrb_const_defined ( mrb_state mrb,
mrb_value  mod,
mrb_sym  sym 
)

Definition at line 840 of file variable.c.

Here is the caller graph for this function:

int mrb_const_defined_at ( mrb_state mrb,
struct RClass klass,
mrb_sym  id 
)

Definition at line 1098 of file variable.c.

Here is the caller graph for this function:

mrb_value mrb_const_get ( mrb_state mrb,
mrb_value  mod,
mrb_sym  sym 
)

Definition at line 902 of file variable.c.

Here is the caller graph for this function:

void mrb_const_remove ( mrb_state mrb,
mrb_value  mod,
mrb_sym  sym 
)

Definition at line 950 of file variable.c.

Here is the call graph for this function:

void mrb_const_set ( mrb_state mrb,
mrb_value  mod,
mrb_sym  sym,
mrb_value  v 
)

Definition at line 934 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_bool mrb_cv_defined ( mrb_state mrb,
mrb_value  mod,
mrb_sym  sym 
)

Definition at line 798 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_cv_get ( mrb_state mrb,
mrb_value  mod,
mrb_sym  sym 
)

Definition at line 746 of file variable.c.

Here is the call graph for this function:

void mrb_cv_set ( mrb_state mrb,
mrb_value  mod,
mrb_sym  sym,
mrb_value  v 
)

Definition at line 778 of file variable.c.

Here is the call graph for this function:

void mrb_define_const ( mrb_state mrb,
struct RClass mod,
const char *  name,
mrb_value  v 
)

Definition at line 957 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_define_global_const ( mrb_state mrb,
const char *  name,
mrb_value  val 
)

Definition at line 963 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_f_global_variables ( mrb_state mrb,
mrb_value  self 
)

Definition at line 1055 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_gc_free_gv ( mrb_state mrb)

Definition at line 416 of file variable.c.

Here is the caller graph for this function:

void mrb_gc_free_iv ( mrb_state mrb,
struct RObject obj 
)

Definition at line 435 of file variable.c.

void mrb_gc_mark_gv ( mrb_state mrb)

Definition at line 410 of file variable.c.

void mrb_gc_mark_iv ( mrb_state mrb,
struct RObject obj 
)

Definition at line 423 of file variable.c.

size_t mrb_gc_mark_iv_size ( mrb_state mrb,
struct RObject obj 
)

Definition at line 429 of file variable.c.

mrb_value mrb_gv_get ( mrb_state mrb,
mrb_sym  sym 
)

Definition at line 1008 of file variable.c.

void mrb_gv_set ( mrb_state mrb,
mrb_sym  sym,
mrb_value  v 
)

Definition at line 1021 of file variable.c.

Here is the caller graph for this function:

void mrb_iv_copy ( mrb_state mrb,
mrb_value  dest,
mrb_value  src 
)

Definition at line 546 of file variable.c.

Here is the caller graph for this function:

mrb_bool mrb_iv_defined ( mrb_state mrb,
mrb_value  obj,
mrb_sym  sym 
)

Definition at line 539 of file variable.c.

Here is the call graph for this function:

mrb_value mrb_iv_get ( mrb_state mrb,
mrb_value  obj,
mrb_sym  sym 
)

Definition at line 480 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_iv_remove ( mrb_state mrb,
mrb_value  obj,
mrb_sym  sym 
)

Definition at line 605 of file variable.c.

Here is the caller graph for this function:

void mrb_iv_set ( mrb_state mrb,
mrb_value  obj,
mrb_sym  sym,
mrb_value  v 
)

Definition at line 516 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_mod_class_variables ( mrb_state mrb,
mrb_value  mod 
)

Definition at line 708 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_mod_constants ( mrb_state mrb,
mrb_value  mod 
)

Definition at line 991 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_bool mrb_mod_cv_defined ( mrb_state mrb,
struct RClass c,
mrb_sym  sym 
)

Definition at line 784 of file variable.c.

Here is the caller graph for this function:

mrb_value mrb_mod_cv_get ( mrb_state mrb,
struct RClass c,
mrb_sym  sym 
)

Definition at line 725 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_mod_cv_set ( mrb_state mrb,
struct RClass c,
mrb_sym  sym,
mrb_value  v 
)

Definition at line 752 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_obj_instance_variables ( mrb_state mrb,
mrb_value  self 
)

Definition at line 665 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_bool mrb_obj_iv_defined ( mrb_state mrb,
struct RObject obj,
mrb_sym  sym 
)

Definition at line 527 of file variable.c.

Here is the caller graph for this function:

mrb_value mrb_obj_iv_get ( mrb_state mrb,
struct RObject obj,
mrb_sym  sym 
)

Definition at line 470 of file variable.c.

Here is the caller graph for this function:

void mrb_obj_iv_ifnone ( mrb_state mrb,
struct RObject obj,
mrb_sym  sym,
mrb_value  v 
)

Definition at line 501 of file variable.c.

Here is the call graph for this function:

mrb_value mrb_obj_iv_inspect ( mrb_state mrb,
struct RObject obj 
)

Definition at line 583 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void mrb_obj_iv_set ( mrb_state mrb,
struct RObject obj,
mrb_sym  sym,
mrb_value  v 
)

Definition at line 489 of file variable.c.

Here is the call graph for this function:

Here is the caller graph for this function:

mrb_value mrb_vm_const_get ( mrb_state mrb,
mrb_sym  sym 
)

Definition at line 909 of file variable.c.

Here is the call graph for this function:

void mrb_vm_const_set ( mrb_state mrb,
mrb_sym  sym,
mrb_value  v 
)

Definition at line 941 of file variable.c.

Here is the call graph for this function:

mrb_value mrb_vm_cv_get ( mrb_state mrb,
mrb_sym  sym 
)

Definition at line 804 of file variable.c.

Here is the call graph for this function:

void mrb_vm_cv_set ( mrb_state mrb,
mrb_sym  sym,
mrb_value  v 
)

Definition at line 814 of file variable.c.

Here is the call graph for this function:

mrb_value mrb_vm_iv_get ( mrb_state mrb,
mrb_sym  sym 
)

Definition at line 619 of file variable.c.

Here is the call graph for this function:

void mrb_vm_iv_set ( mrb_state mrb,
mrb_sym  sym,
mrb_value  v 
)

Definition at line 626 of file variable.c.

Here is the call graph for this function:

mrb_value mrb_vm_special_get ( mrb_state mrb,
mrb_sym  i 
)

Definition at line 443 of file variable.c.

void mrb_vm_special_set ( mrb_state mrb,
mrb_sym  i,
mrb_value  v 
)

Definition at line 449 of file variable.c.