Ruby 2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)

Macros | Enumerations
id.h File Reference

Go to the source code of this file.

## Macros
#define | ID_STATIC_SYM RUBY_ID_STATIC_SYM
#define | ID_SCOPE_SHIFT RUBY_ID_SCOPE_SHIFT
#define | ID_SCOPE_MASK RUBY_ID_SCOPE_MASK
#define | ID_LOCAL RUBY_ID_LOCAL
#define | ID_INSTANCE RUBY_ID_INSTANCE
#define | ID_GLOBAL RUBY_ID_GLOBAL
#define | ID_ATTRSET RUBY_ID_ATTRSET
#define | ID_CONST RUBY_ID_CONST
#define | ID_CLASS RUBY_ID_CLASS
#define | ID_JUNK RUBY_ID_JUNK
#define | ID_INTERNAL RUBY_ID_INTERNAL
#define | symIFUNC ID2SYM(idIFUNC)
#define | symCFUNC ID2SYM(idCFUNC)
#define | RUBY_TOKEN_DOT2 128
#define | RUBY_TOKEN_DOT3 129
#define | RUBY_TOKEN_BDOT2 130
#define | RUBY_TOKEN_BDOT3 131
#define | RUBY_TOKEN_UPLUS 132
#define | RUBY_TOKEN_UMINUS 133
#define | RUBY_TOKEN_POW 134
#define | RUBY_TOKEN_CMP 135
#define | RUBY_TOKEN_LSHFT 136
#define | RUBY_TOKEN_RSHFT 137
#define | RUBY_TOKEN_LEQ 138
#define | RUBY_TOKEN_GEQ 139
#define | RUBY_TOKEN_EQ 140
#define | RUBY_TOKEN_EQQ 141
#define | RUBY_TOKEN_NEQ 142
#define | RUBY_TOKEN_MATCH 143
#define | RUBY_TOKEN_NMATCH 144
#define | RUBY_TOKEN_AREF 145
#define | RUBY_TOKEN_ASET 146
#define | RUBY_TOKEN_COLON2 147
#define | RUBY_TOKEN_ANDOP 148
#define | RUBY_TOKEN_OROP 149
#define | RUBY_TOKEN_ANDDOT 150
#define | RUBY_TOKEN(t) RUBY_TOKEN_##t
#define | RUBY_TOKEN2ID_TYPE(tok, type) ((tok<<RUBY_ID_SCOPE_SHIFT)|type|RUBY_ID_STATIC_SYM)
#define | TOKEN2LOCALID(tok) RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_LOCAL)
#define | TOKEN2INSTANCEID(tok) RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_INSTANCE)
#define | TOKEN2GLOBALID(tok) RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_GLOBAL)
#define | TOKEN2CONSTID(tok) RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_CONST)
#define | TOKEN2CLASSID(tok) RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_CLASS)
#define | TOKEN2ATTRSETID(tok) RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_ATTRSET)
#define | DEFINE_LOCALID_FROM_TOKEN(n) id##n = TOKEN2LOCALID(t##n)
#define | DEFINE_INSTANCEID_FROM_TOKEN(n) id##n = TOKEN2INSTANCEID(t##n)
#define | DEFINE_GLOBALID_FROM_TOKEN(n) id##n = TOKEN2GLOBALID(t##n)
#define | DEFINE_CONSTID_FROM_TOKEN(n) id##n = TOKEN2CONSTID(t##n)
#define | DEFINE_CLASSID_FROM_TOKEN(n) id##n = TOKEN2CLASSID(t##n)
#define | DEFINE_ATTRSETID_FROM_TOKEN(n) id##n = TOKEN2ATTRSETID(t##n)

## Enumerations
enum | ruby_id_types { RUBY_ID_STATIC_SYM = 0x01, RUBY_ID_LOCAL = 0x00, RUBY_ID_INSTANCE = (0x01<<1), RUBY_ID_GLOBAL = (0x03<<1), RUBY_ID_ATTRSET = (0x04<<1), RUBY_ID_CONST = (0x05<<1), RUBY_ID_CLASS = (0x06<<1), RUBY_ID_JUNK = (0x07<<1), RUBY_ID_INTERNAL = RUBY_ID_JUNK, RUBY_ID_SCOPE_SHIFT = 4, RUBY_ID_SCOPE_MASK = (~(~0U<<(RUBY_ID_SCOPE_SHIFT-1))<<1), RUBY_ID_STATIC_SYM = 0x01, RUBY_ID_LOCAL = 0x00, RUBY_ID_INSTANCE = (0x01<<1), RUBY_ID_GLOBAL = (0x03<<1), RUBY_ID_ATTRSET = (0x04<<1), RUBY_ID_CONST = (0x05<<1), RUBY_ID_CLASS = (0x06<<1), RUBY_ID_JUNK = (0x07<<1), RUBY_ID_INTERNAL = RUBY_ID_JUNK, RUBY_ID_SCOPE_SHIFT = 4, RUBY_ID_SCOPE_MASK = (~(~0U<<(RUBY_ID_SCOPE_SHIFT-1))<<1) }
enum | ruby_method_ids { idDot2 = RUBY_TOKEN(DOT2), idDot3 = RUBY_TOKEN(DOT3), idUPlus = RUBY_TOKEN(UPLUS), idUMinus = RUBY_TOKEN(UMINUS), idPow = RUBY_TOKEN(POW), idCmp = RUBY_TOKEN(CMP), idPLUS = '+', idMINUS = '-', idMULT = '*', idDIV = '/', idMOD = '', idLTLT = RUBY_TOKEN(LSHFT), idGTGT = RUBY_TOKEN(RSHFT), idLT = '<', idLE = RUBY_TOKEN(LEQ), idGT = '>', idGE = RUBY_TOKEN(GEQ), idEq = RUBY_TOKEN(EQ), idEqq = RUBY_TOKEN(EQQ), idNeq = RUBY_TOKEN(NEQ), idNot = '!', idAnd = '&', idOr = '|', idBackquote = '`', idEqTilde = RUBY_TOKEN(MATCH), idNeqTilde = RUBY_TOKEN(NMATCH), idAREF = RUBY_TOKEN(AREF), idASET = RUBY_TOKEN(ASET), idCOLON2 = RUBY_TOKEN(COLON2), idANDOP = RUBY_TOKEN(ANDOP), idOROP = RUBY_TOKEN(OROP), idANDDOT = RUBY_TOKEN(ANDDOT), tPRESERVED_ID_BEGIN = 150, idNilP, idNULL, idEmptyP, idEqlP, idRespond_to, idRespond_to_missing, idIFUNC, idCFUNC, id_core_set_method_alias, id_core_set_variable_alias, id_core_undef_method, id_core_define_method, id_core_define_singleton_method, id_core_set_postexe, id_core_hash_merge_ptr, id_core_hash_merge_kwd, id_core_raise, id_debug_created_info, tPRESERVED_ID_END, tTOKEN_LOCAL_BEGIN = tPRESERVED_ID_END-1, tMax, tMin, tFreeze, tInspect, tIntern, tObject_id, tConst_missing, tMethodMissing, tMethod_added, tSingleton_method_added, tMethod_removed, tSingleton_method_removed, tMethod_undefined, tSingleton_method_undefined, tLength, tSize, tGets, tSucc, tEach, tProc, tLambda, tSend, t__send__, t__attached__, tInitialize, tInitialize_copy, tInitialize_clone, tInitialize_dup, tTo_int, tTo_ary, tTo_str, tTo_sym, tTo_hash, tTo_proc, tTo_io, tTo_a, tTo_s, tTo_i, tTo_f, tTo_r, tBt, tBt_locations, tCall, tMesg, tException, tLocals, tNOT, tAND, tOR, tDiv, tDivmod, tFdiv, tQuo, tName, tNil, tUScore, tNUMPARAM_1, tNUMPARAM_2, tNUMPARAM_3, tNUMPARAM_4, tNUMPARAM_5, tNUMPARAM_6, tNUMPARAM_7, tNUMPARAM_8, tNUMPARAM_9, tTOKEN_LOCAL_END, tTOKEN_INSTANCE_BEGIN = tTOKEN_LOCAL_END-1, tTOKEN_INSTANCE_END, tTOKEN_GLOBAL_BEGIN = tTOKEN_INSTANCE_END-1, tLASTLINE, tBACKREF, tERROR_INFO, tTOKEN_GLOBAL_END, tTOKEN_CONST_BEGIN = tTOKEN_GLOBAL_END-1, tTOKEN_CONST_END, tTOKEN_CLASS_BEGIN = tTOKEN_CONST_END-1, tTOKEN_CLASS_END, tTOKEN_ATTRSET_BEGIN = tTOKEN_CLASS_END-1, tTOKEN_ATTRSET_END, tNEXT_ID = tTOKEN_ATTRSET_END, DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_LOCALID_FROM_TOKEN =(Max), DEFINE_GLOBALID_FROM_TOKEN =(LASTLINE), DEFINE_GLOBALID_FROM_TOKEN =(LASTLINE), DEFINE_GLOBALID_FROM_TOKEN =(LASTLINE), DEFINE_GLOBALID_FROM_TOKEN =(LASTLINE), tLAST_OP_ID = tPRESERVED_ID_END-1, idLAST_OP_ID = tLAST_OP_ID >> ID_SCOPE_SHIFT, idDot2 = 128, idDot3 = 129, idUPlus = 132, idUMinus = 133, idPow = 134, idCmp = 135, idPLUS = '+', idMINUS = '-', idMULT = '*', idDIV = '/', idMOD = '', idLTLT = 136, idGTGT = 137, idLT = '<', idLE = 138, idGT = '>', idGE = 139, idEq = 140, idEqq = 141, idNeq = 142, idNot = '!', idAnd = '&', idOr = '|', idBackquote = '`', idEqTilde = 143, idNeqTilde = 144, idAREF = 145, idASET = 146, idCOLON2 = 147, idANDOP = 148, idOROP = 149, idANDDOT = 150, tPRESERVED_ID_BEGIN = 150, idNilP, idNULL, idEmptyP, idEqlP, idRespond_to, idRespond_to_missing, idIFUNC, idCFUNC, id_core_set_method_alias, id_core_set_variable_alias, id_core_undef_method, id_core_define_method, id_core_define_singleton_method, id_core_set_postexe, id_core_hash_merge_ptr, id_core_hash_merge_kwd, id_core_raise, id_debug_created_info, tPRESERVED_ID_END, tTOKEN_LOCAL_BEGIN = tPRESERVED_ID_END-1, tMax, tMin, tFreeze, tInspect, tIntern, tObject_id, tConst_missing, tMethodMissing, tMethod_added, tSingleton_method_added, tMethod_removed, tSingleton_method_removed, tMethod_undefined, tSingleton_method_undefined, tLength, tSize, tGets, tSucc, tEach, tProc, tLambda, tSend, t__send__, t__attached__, tInitialize, tInitialize_copy, tInitialize_clone, tInitialize_dup, tTo_int, tTo_ary, tTo_str, tTo_sym, tTo_hash, tTo_proc, tTo_io, tTo_a, tTo_s, tTo_i, tTo_f, tTo_r, tBt, tBt_locations, tCall, tMesg, tException, tLocals, tNOT, tAND, tOR, tDiv, tDivmod, tFdiv, tQuo, tName, tNil, tUScore, tNUMPARAM_1, tNUMPARAM_2, tNUMPARAM_3, tNUMPARAM_4, tNUMPARAM_5, tNUMPARAM_6, tNUMPARAM_7, tNUMPARAM_8, tNUMPARAM_9, tTOKEN_LOCAL_END, tTOKEN_INSTANCE_BEGIN = tTOKEN_LOCAL_END-1, tTOKEN_INSTANCE_END, tTOKEN_GLOBAL_BEGIN = tTOKEN_INSTANCE_END-1, tLASTLINE, tBACKREF, tERROR_INFO, tTOKEN_GLOBAL_END, tTOKEN_CONST_BEGIN = tTOKEN_GLOBAL_END-1, tTOKEN_CONST_END, tTOKEN_CLASS_BEGIN = tTOKEN_CONST_END-1, tTOKEN_CLASS_END, tTOKEN_ATTRSET_BEGIN = tTOKEN_CLASS_END-1, tTOKEN_ATTRSET_END, tNEXT_ID = tTOKEN_ATTRSET_END, idMax = ((tMax<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idMin = ((tMin<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idFreeze = ((tFreeze<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idInspect = ((tInspect<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idIntern = ((tIntern<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idObject_id = ((tObject_id<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idConst_missing = ((tConst_missing<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idMethodMissing = ((tMethodMissing<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idMethod_added = ((tMethod_added<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idSingleton_method_added = ((tSingleton_method_added<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idMethod_removed = ((tMethod_removed<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idSingleton_method_removed = ((tSingleton_method_removed<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idMethod_undefined = ((tMethod_undefined<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idSingleton_method_undefined = ((tSingleton_method_undefined<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idLength = ((tLength<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idSize = ((tSize<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idGets = ((tGets<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idSucc = ((tSucc<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idEach = ((tEach<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idProc = ((tProc<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idLambda = ((tLambda<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idSend = ((tSend<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), id__send__ = ((t__send__<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), id__attached__ = ((t__attached__<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idInitialize = ((tInitialize<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idInitialize_copy = ((tInitialize_copy<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idInitialize_clone = ((tInitialize_clone<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idInitialize_dup = ((tInitialize_dup<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idTo_int = ((tTo_int<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idTo_ary = ((tTo_ary<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idTo_str = ((tTo_str<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idTo_sym = ((tTo_sym<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idTo_hash = ((tTo_hash<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idTo_proc = ((tTo_proc<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idTo_io = ((tTo_io<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idTo_a = ((tTo_a<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idTo_s = ((tTo_s<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idTo_i = ((tTo_i<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idTo_f = ((tTo_f<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idTo_r = ((tTo_r<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idBt = ((tBt<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idBt_locations = ((tBt_locations<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idCall = ((tCall<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idMesg = ((tMesg<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idException = ((tException<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idLocals = ((tLocals<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idNOT = ((tNOT<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idAND = ((tAND<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idOR = ((tOR<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idDiv = ((tDiv<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idDivmod = ((tDivmod<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idFdiv = ((tFdiv<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idQuo = ((tQuo<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idName = ((tName<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idNil = ((tNil<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idUScore = ((tUScore<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idNUMPARAM_1 = ((tNUMPARAM_1<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idNUMPARAM_2 = ((tNUMPARAM_2<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idNUMPARAM_3 = ((tNUMPARAM_3<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idNUMPARAM_4 = ((tNUMPARAM_4<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idNUMPARAM_5 = ((tNUMPARAM_5<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idNUMPARAM_6 = ((tNUMPARAM_6<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idNUMPARAM_7 = ((tNUMPARAM_7<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idNUMPARAM_8 = ((tNUMPARAM_8<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idNUMPARAM_9 = ((tNUMPARAM_9<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_LOCAL|RUBY_ID_STATIC_SYM), idLASTLINE = ((tLASTLINE<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_GLOBAL|RUBY_ID_STATIC_SYM), idBACKREF = ((tBACKREF<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_GLOBAL|RUBY_ID_STATIC_SYM), idERROR_INFO = ((tERROR_INFO<<RUBY_ID_SCOPE_SHIFT)|RUBY_ID_GLOBAL|RUBY_ID_STATIC_SYM), tLAST_OP_ID = tPRESERVED_ID_END-1, idLAST_OP_ID = tLAST_OP_ID >> RUBY_ID_SCOPE_SHIFT }

## Macro Definition Documentation

## ◆ DEFINE_ATTRSETID_FROM_TOKEN

#define DEFINE_ATTRSETID_FROM_TOKEN | ( |  | n | ) | id##n = TOKEN2ATTRSETID(t##n)

Definition at line 285 of file id.h.

## ◆ DEFINE_CLASSID_FROM_TOKEN

#define DEFINE_CLASSID_FROM_TOKEN | ( |  | n | ) | id##n = TOKEN2CLASSID(t##n)

Definition at line 284 of file id.h.

## ◆ DEFINE_CONSTID_FROM_TOKEN

#define DEFINE_CONSTID_FROM_TOKEN | ( |  | n | ) | id##n = TOKEN2CONSTID(t##n)

Definition at line 283 of file id.h.

## ◆ DEFINE_GLOBALID_FROM_TOKEN

#define DEFINE_GLOBALID_FROM_TOKEN | ( |  | n | ) | id##n = TOKEN2GLOBALID(t##n)

Definition at line 279 of file id.h.

## ◆ DEFINE_INSTANCEID_FROM_TOKEN

#define DEFINE_INSTANCEID_FROM_TOKEN | ( |  | n | ) | id##n = TOKEN2INSTANCEID(t##n)

Definition at line 278 of file id.h.

## ◆ DEFINE_LOCALID_FROM_TOKEN

#define DEFINE_LOCALID_FROM_TOKEN | ( |  | n | ) | id##n = TOKEN2LOCALID(t##n)

Definition at line 212 of file id.h.

## ◆ ID_ATTRSET

#define ID_ATTRSET RUBY_ID_ATTRSET

Definition at line 36 of file id.h.

## ◆ ID_CLASS

#define ID_CLASS RUBY_ID_CLASS

Definition at line 38 of file id.h.

## ◆ ID_CONST

#define ID_CONST RUBY_ID_CONST

Definition at line 37 of file id.h.

## ◆ ID_GLOBAL

#define ID_GLOBAL RUBY_ID_GLOBAL

Definition at line 35 of file id.h.

## ◆ ID_INSTANCE

#define ID_INSTANCE RUBY_ID_INSTANCE

Definition at line 34 of file id.h.

## ◆ ID_INTERNAL

#define ID_INTERNAL RUBY_ID_INTERNAL

Definition at line 40 of file id.h.

## ◆ ID_JUNK

#define ID_JUNK RUBY_ID_JUNK

Definition at line 39 of file id.h.

## ◆ ID_LOCAL

#define ID_LOCAL RUBY_ID_LOCAL

Definition at line 33 of file id.h.

## ◆ ID_SCOPE_MASK

#define ID_SCOPE_MASK RUBY_ID_SCOPE_MASK

Definition at line 32 of file id.h.

## ◆ ID_SCOPE_SHIFT

#define ID_SCOPE_SHIFT RUBY_ID_SCOPE_SHIFT

Definition at line 31 of file id.h.

## ◆ ID_STATIC_SYM

#define ID_STATIC_SYM RUBY_ID_STATIC_SYM

Definition at line 30 of file id.h.

## ◆ RUBY_TOKEN

#define RUBY_TOKEN | ( |  | t | ) | RUBY_TOKEN_##t

Definition at line 68 of file id.h.

## ◆ RUBY_TOKEN2ID_TYPE

#define RUBY_TOKEN2ID_TYPE | ( |  | tok,
|  |  | type
| ) |  | ((tok<<RUBY_ID_SCOPE_SHIFT)|type|RUBY_ID_STATIC_SYM)

Definition at line 70 of file id.h.

## ◆ RUBY_TOKEN_ANDDOT

#define RUBY_TOKEN_ANDDOT 150

Definition at line 67 of file id.h.

## ◆ RUBY_TOKEN_ANDOP

#define RUBY_TOKEN_ANDOP 148

Definition at line 65 of file id.h.

## ◆ RUBY_TOKEN_AREF

#define RUBY_TOKEN_AREF 145

Definition at line 62 of file id.h.

## ◆ RUBY_TOKEN_ASET

#define RUBY_TOKEN_ASET 146

Definition at line 63 of file id.h.

## ◆ RUBY_TOKEN_BDOT2

#define RUBY_TOKEN_BDOT2 130

Definition at line 47 of file id.h.

## ◆ RUBY_TOKEN_BDOT3

#define RUBY_TOKEN_BDOT3 131

Definition at line 48 of file id.h.

## ◆ RUBY_TOKEN_CMP

#define RUBY_TOKEN_CMP 135

Definition at line 52 of file id.h.

## ◆ RUBY_TOKEN_COLON2

#define RUBY_TOKEN_COLON2 147

Definition at line 64 of file id.h.

## ◆ RUBY_TOKEN_DOT2

#define RUBY_TOKEN_DOT2 128

Definition at line 45 of file id.h.

## ◆ RUBY_TOKEN_DOT3

#define RUBY_TOKEN_DOT3 129

Definition at line 46 of file id.h.

## ◆ RUBY_TOKEN_EQ

#define RUBY_TOKEN_EQ 140

Definition at line 57 of file id.h.

## ◆ RUBY_TOKEN_EQQ

#define RUBY_TOKEN_EQQ 141

Definition at line 58 of file id.h.

## ◆ RUBY_TOKEN_GEQ

#define RUBY_TOKEN_GEQ 139

Definition at line 56 of file id.h.

## ◆ RUBY_TOKEN_LEQ

#define RUBY_TOKEN_LEQ 138

Definition at line 55 of file id.h.

## ◆ RUBY_TOKEN_LSHFT

#define RUBY_TOKEN_LSHFT 136

Definition at line 53 of file id.h.

## ◆ RUBY_TOKEN_MATCH

#define RUBY_TOKEN_MATCH 143

Definition at line 60 of file id.h.

## ◆ RUBY_TOKEN_NEQ

#define RUBY_TOKEN_NEQ 142

Definition at line 59 of file id.h.

## ◆ RUBY_TOKEN_NMATCH

#define RUBY_TOKEN_NMATCH 144

Definition at line 61 of file id.h.

## ◆ RUBY_TOKEN_OROP

#define RUBY_TOKEN_OROP 149

Definition at line 66 of file id.h.

## ◆ RUBY_TOKEN_POW

#define RUBY_TOKEN_POW 134

Definition at line 51 of file id.h.

## ◆ RUBY_TOKEN_RSHFT

#define RUBY_TOKEN_RSHFT 137

Definition at line 54 of file id.h.

## ◆ RUBY_TOKEN_UMINUS

#define RUBY_TOKEN_UMINUS 133

Definition at line 50 of file id.h.

## ◆ RUBY_TOKEN_UPLUS

#define RUBY_TOKEN_UPLUS 132

Definition at line 49 of file id.h.

## ◆ symCFUNC

#define symCFUNC ID2SYM(idCFUNC)

Definition at line 43 of file id.h.

## ◆ symIFUNC

#define symIFUNC ID2SYM(idIFUNC)

Definition at line 42 of file id.h.

## ◆ TOKEN2ATTRSETID

#define TOKEN2ATTRSETID | ( |  | tok | ) | RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_ATTRSET)

Definition at line 76 of file id.h.

## ◆ TOKEN2CLASSID

#define TOKEN2CLASSID | ( |  | tok | ) | RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_CLASS)

Definition at line 75 of file id.h.

## ◆ TOKEN2CONSTID

#define TOKEN2CONSTID | ( |  | tok | ) | RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_CONST)

Definition at line 74 of file id.h.

## ◆ TOKEN2GLOBALID

#define TOKEN2GLOBALID | ( |  | tok | ) | RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_GLOBAL)

Definition at line 73 of file id.h.

## ◆ TOKEN2INSTANCEID

#define TOKEN2INSTANCEID | ( |  | tok | ) | RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_INSTANCE)

Definition at line 72 of file id.h.

## ◆ TOKEN2LOCALID

#define TOKEN2LOCALID | ( |  | tok | ) | RUBY_TOKEN2ID_TYPE(tok, RUBY_ID_LOCAL)

Definition at line 71 of file id.h.

## Enumeration Type Documentation

## ◆ ruby_id_types

enum ruby_id_types

Enumerator
RUBY_ID_STATIC_SYM |
RUBY_ID_LOCAL |
RUBY_ID_INSTANCE |
RUBY_ID_GLOBAL |
RUBY_ID_ATTRSET |
RUBY_ID_CONST |
RUBY_ID_CLASS |
RUBY_ID_JUNK |
RUBY_ID_INTERNAL |
RUBY_ID_SCOPE_SHIFT |
RUBY_ID_SCOPE_MASK |
RUBY_ID_STATIC_SYM |
RUBY_ID_LOCAL |
RUBY_ID_INSTANCE |
RUBY_ID_GLOBAL |
RUBY_ID_ATTRSET |
RUBY_ID_CONST |
RUBY_ID_CLASS |
RUBY_ID_JUNK |
RUBY_ID_INTERNAL |
RUBY_ID_SCOPE_SHIFT |
RUBY_ID_SCOPE_MASK |

Definition at line 16 of file id.h.

## ◆ ruby_method_ids

enum ruby_method_ids

Enumerator
idDot2 |
idDot3 |
idUPlus |
idUMinus |
idPow |
idCmp |
idPLUS |
idMINUS |
idMULT |
idDIV |
idMOD |
idLTLT |
idGTGT |
idLT |
idLE |
idGT |
idGE |
idEq |
idEqq |
idNeq |
idNot |
idAnd |
idOr |
idBackquote |
idEqTilde |
idNeqTilde |
idAREF |
idASET |
idCOLON2 |
idANDOP |
idOROP |
idANDDOT |
tPRESERVED_ID_BEGIN |
idNilP |
idNULL |
idEmptyP |
idEqlP |
idRespond_to |
idRespond_to_missing |
idIFUNC |
idCFUNC |
id_core_set_method_alias |
id_core_set_variable_alias |
id_core_undef_method |
id_core_define_method |
id_core_define_singleton_method |
id_core_set_postexe |
id_core_hash_merge_ptr |
id_core_hash_merge_kwd |
id_core_raise |
id_debug_created_info |
tPRESERVED_ID_END |
tTOKEN_LOCAL_BEGIN |
tMax |
tMin |
tFreeze |
tInspect |
tIntern |
tObject_id |
tConst_missing |
tMethodMissing |
tMethod_added |
tSingleton_method_added |
tMethod_removed |
tSingleton_method_removed |
tMethod_undefined |
tSingleton_method_undefined |
tLength |
tSize |
tGets |
tSucc |
tEach |
tProc |
tLambda |
tSend |
t__send__ |
t__attached__ |
tInitialize |
tInitialize_copy |
tInitialize_clone |
tInitialize_dup |
tTo_int |
tTo_ary |
tTo_str |
tTo_sym |
tTo_hash |
tTo_proc |
tTo_io |
tTo_a |
tTo_s |
tTo_i |
tTo_f |
tTo_r |
tBt |
tBt_locations |
tCall |
tMesg |
tException |
tLocals |
tNOT |
tAND |
tOR |
tDiv |
tDivmod |
tFdiv |
tQuo |
tName |
tNil |
tUScore |
tNUMPARAM_1 |
tNUMPARAM_2 |
tNUMPARAM_3 |
tNUMPARAM_4 |
tNUMPARAM_5 |
tNUMPARAM_6 |
tNUMPARAM_7 |
tNUMPARAM_8 |
tNUMPARAM_9 |
tTOKEN_LOCAL_END |
tTOKEN_INSTANCE_BEGIN |
tTOKEN_INSTANCE_END |
tTOKEN_GLOBAL_BEGIN |
tLASTLINE |
tBACKREF |
tERROR_INFO |
tTOKEN_GLOBAL_END |
tTOKEN_CONST_BEGIN |
tTOKEN_CONST_END |
tTOKEN_CLASS_BEGIN |
tTOKEN_CLASS_END |
tTOKEN_ATTRSET_BEGIN |
tTOKEN_ATTRSET_END |
tNEXT_ID |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_LOCALID_FROM_TOKEN |
DEFINE_GLOBALID_FROM_TOKEN |
DEFINE_GLOBALID_FROM_TOKEN |
DEFINE_GLOBALID_FROM_TOKEN |
DEFINE_GLOBALID_FROM_TOKEN |
tLAST_OP_ID |
idLAST_OP_ID |
idDot2 |
idDot3 |
idUPlus |
idUMinus |
idPow |
idCmp |
idPLUS |
idMINUS |
idMULT |
idDIV |
idMOD |
idLTLT |
idGTGT |
idLT |
idLE |
idGT |
idGE |
idEq |
idEqq |
idNeq |
idNot |
idAnd |
idOr |
idBackquote |
idEqTilde |
idNeqTilde |
idAREF |
idASET |
idCOLON2 |
idANDOP |
idOROP |
idANDDOT |
tPRESERVED_ID_BEGIN |
idNilP |
idNULL |
idEmptyP |
idEqlP |
idRespond_to |
idRespond_to_missing |
idIFUNC |
idCFUNC |
id_core_set_method_alias |
id_core_set_variable_alias |
id_core_undef_method |
id_core_define_method |
id_core_define_singleton_method |
id_core_set_postexe |
id_core_hash_merge_ptr |
id_core_hash_merge_kwd |
id_core_raise |
id_debug_created_info |
tPRESERVED_ID_END |
tTOKEN_LOCAL_BEGIN |
tMax |
tMin |
tFreeze |
tInspect |
tIntern |
tObject_id |
tConst_missing |
tMethodMissing |
tMethod_added |
tSingleton_method_added |
tMethod_removed |
tSingleton_method_removed |
tMethod_undefined |
tSingleton_method_undefined |
tLength |
tSize |
tGets |
tSucc |
tEach |
tProc |
tLambda |
tSend |
t__send__ |
t__attached__ |
tInitialize |
tInitialize_copy |
tInitialize_clone |
tInitialize_dup |
tTo_int |
tTo_ary |
tTo_str |
tTo_sym |
tTo_hash |
tTo_proc |
tTo_io |
tTo_a |
tTo_s |
tTo_i |
tTo_f |
tTo_r |
tBt |
tBt_locations |
tCall |
tMesg |
tException |
tLocals |
tNOT |
tAND |
tOR |
tDiv |
tDivmod |
tFdiv |
tQuo |
tName |
tNil |
tUScore |
tNUMPARAM_1 |
tNUMPARAM_2 |
tNUMPARAM_3 |
tNUMPARAM_4 |
tNUMPARAM_5 |
tNUMPARAM_6 |
tNUMPARAM_7 |
tNUMPARAM_8 |
tNUMPARAM_9 |
tTOKEN_LOCAL_END |
tTOKEN_INSTANCE_BEGIN |
tTOKEN_INSTANCE_END |
tTOKEN_GLOBAL_BEGIN |
tLASTLINE |
tBACKREF |
tERROR_INFO |
tTOKEN_GLOBAL_END |
tTOKEN_CONST_BEGIN |
tTOKEN_CONST_END |
tTOKEN_CLASS_BEGIN |
tTOKEN_CLASS_END |
tTOKEN_ATTRSET_BEGIN |
tTOKEN_ATTRSET_END |
tNEXT_ID |
idMax |
idMin |
idFreeze |
idInspect |
idIntern |
idObject_id |
idConst_missing |
idMethodMissing |
idMethod_added |
idSingleton_method_added |
idMethod_removed |
idSingleton_method_removed |
idMethod_undefined |
idSingleton_method_undefined |
idLength |
idSize |
idGets |
idSucc |
idEach |
idProc |
idLambda |
idSend |
id__send__ |
id__attached__ |
idInitialize |
idInitialize_copy |
idInitialize_clone |
idInitialize_dup |
idTo_int |
idTo_ary |
idTo_str |
idTo_sym |
idTo_hash |
idTo_proc |
idTo_io |
idTo_a |
idTo_s |
idTo_i |
idTo_f |
idTo_r |
idBt |
idBt_locations |
idCall |
idMesg |
idException |
idLocals |
idNOT |
idAND |
idOR |
idDiv |
idDivmod |
idFdiv |
idQuo |
idName |
idNil |
idUScore |
idNUMPARAM_1 |
idNUMPARAM_2 |
idNUMPARAM_3 |
idNUMPARAM_4 |
idNUMPARAM_5 |
idNUMPARAM_6 |
idNUMPARAM_7 |
idNUMPARAM_8 |
idNUMPARAM_9 |
idLASTLINE |
idBACKREF |
idERROR_INFO |
tLAST_OP_ID |
idLAST_OP_ID |

Definition at line 78 of file id.h.