Ruby 1.9.3p327(2012-11-10revision37606)
Defines | Enumerations | Functions
id.h File Reference
#include "vm_opts.h"
Include dependency graph for id.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ID_SCOPE_SHIFT   3
#define ID_SCOPE_MASK   0x07
#define ID_LOCAL   0x00
#define ID_INSTANCE   0x01
#define ID_GLOBAL   0x03
#define ID_ATTRSET   0x04
#define ID_CONST   0x05
#define ID_CLASS   0x06
#define ID_JUNK   0x07
#define ID_INTERNAL   ID_JUNK
#define symIFUNC   ID2SYM(idIFUNC)
#define symCFUNC   ID2SYM(idCFUNC)
#define TOKEN2ID(n)   id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
#define ruby_method_id_check_for(name, value)   int checking_for_##name[name == (value) ? 1 : -1]
#define ID_SCOPE_SHIFT   3
#define ID_SCOPE_MASK   0x07
#define ID_LOCAL   0x00
#define ID_INSTANCE   0x01
#define ID_GLOBAL   0x03
#define ID_ATTRSET   0x04
#define ID_CONST   0x05
#define ID_CLASS   0x06
#define ID_JUNK   0x07
#define ID_INTERNAL   ID_JUNK
#define symIFUNC   ID2SYM(idIFUNC)
#define symCFUNC   ID2SYM(idCFUNC)
#define TOKEN2ID(n)   id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
#define ruby_method_id_check_for(name, value)   int checking_for_##name[name == (value) ? 1 : -1]
#define ID_SCOPE_SHIFT   3
#define ID_SCOPE_MASK   0x07
#define ID_LOCAL   0x00
#define ID_INSTANCE   0x01
#define ID_GLOBAL   0x03
#define ID_ATTRSET   0x04
#define ID_CONST   0x05
#define ID_CLASS   0x06
#define ID_JUNK   0x07
#define ID_INTERNAL   ID_JUNK
#define symIFUNC   ID2SYM(idIFUNC)
#define symCFUNC   ID2SYM(idCFUNC)
#define TOKEN2ID(n)   id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
#define ID_SCOPE_SHIFT   3
#define ID_SCOPE_MASK   0x07
#define ID_LOCAL   0x00
#define ID_INSTANCE   0x01
#define ID_GLOBAL   0x03
#define ID_ATTRSET   0x04
#define ID_CONST   0x05
#define ID_CLASS   0x06
#define ID_JUNK   0x07
#define ID_INTERNAL   ID_JUNK
#define symIFUNC   ID2SYM(idIFUNC)
#define symCFUNC   ID2SYM(idCFUNC)
#define TOKEN2ID(n)   id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
#define ruby_method_id_check_for(name, value)   int checking_for_##name[name == (value) ? 1 : -1]
#define ID_SCOPE_SHIFT   3
#define ID_SCOPE_MASK   0x07
#define ID_LOCAL   0x00
#define ID_INSTANCE   0x01
#define ID_GLOBAL   0x03
#define ID_ATTRSET   0x04
#define ID_CONST   0x05
#define ID_CLASS   0x06
#define ID_JUNK   0x07
#define ID_INTERNAL   ID_JUNK
#define symIFUNC   ID2SYM(idIFUNC)
#define symCFUNC   ID2SYM(idCFUNC)
#define TOKEN2ID(n)   id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
#define ruby_method_id_check_for(name, value)   int checking_for_##name[name == (value) ? 1 : -1]

Enumerations

enum  ruby_method_ids {
  tUPLUS = 321, tUMINUS = 322, tPOW = 323, tCMP = 324,
  tEQ = 325, tEQQ = 326, tNEQ = 327, tGEQ = 328,
  tLEQ = 329, tANDOP = 330, tOROP = 331, tMATCH = 332,
  tNMATCH = 333, tDOT2 = 334, tDOT3 = 335, tAREF = 336,
  tASET = 337, tLSHFT = 338, tRSHFT = 339, tLAMBDA = 352,
  idNULL = 365, idRespond_to = 366, idIFUNC = 367, idCFUNC = 368,
  id_core_set_method_alias = 369, id_core_set_variable_alias = 370, id_core_undef_method = 371, id_core_define_method = 372,
  id_core_define_singleton_method = 373, id_core_set_postexe = 374, tLAST_TOKEN = 375, idDot2 = tDOT2,
  idDot3 = tDOT3, idUPlus = tUPLUS, idUMinus = tUMINUS, idPow = tPOW,
  idCmp = tCMP, idPLUS = '+', idMINUS = '-', idMULT = '*',
  idDIV = '/', idMOD = '%', idLT = '<', idLTLT = tLSHFT,
  idLE = tLEQ, idGT = '>', idGE = tGEQ, idEq = tEQ,
  idEqq = tEQQ, idNeq = tNEQ, idNot = '!', idBackquote = '`',
  idEqTilde = tMATCH, idNeqTilde = tNMATCH, idAREF = tAREF, idASET = tASET,
  idLAST_TOKEN = tLAST_TOKEN >> ID_SCOPE_SHIFT, tIntern, tMethodMissing, tLength,
  tSize, tGets, tSucc, tEach,
  tLambda, tSend, t__send__, tInitialize,
  tUScore, tLAST_ID
}

Functions

 TOKEN2ID (Intern)
 TOKEN2ID (MethodMissing)
 TOKEN2ID (Length)
 TOKEN2ID (Size)
 TOKEN2ID (Gets)
 TOKEN2ID (Succ)
 TOKEN2ID (Each)
 TOKEN2ID (Lambda)
 TOKEN2ID (Send)
 TOKEN2ID (__send__)
 TOKEN2ID (Initialize)
 TOKEN2ID (UScore)

Define Documentation

#define ID_ATTRSET   0x04

Referenced by rb_id_attrset(), and rb_intern3().

#define ID_ATTRSET   0x04
#define ID_ATTRSET   0x04

Definition at line 21 of file id.h.

#define ID_ATTRSET   0x04
#define ID_ATTRSET   0x04
#define ID_CLASS   0x06

Definition at line 23 of file id.h.

#define ID_CLASS   0x06

Referenced by block_append_gen(), and rb_intern3().

#define ID_CLASS   0x06
#define ID_CLASS   0x06
#define ID_CLASS   0x06
#define ID_CONST   0x05

Definition at line 22 of file id.h.

#define ID_CONST   0x05
#define ID_CONST   0x05

Referenced by rb_id2str(), and rb_intern3().

#define ID_CONST   0x05
#define ID_CONST   0x05
#define ID_GLOBAL   0x03
#define ID_GLOBAL   0x03

Definition at line 20 of file id.h.

#define ID_GLOBAL   0x03
#define ID_GLOBAL   0x03
#define ID_GLOBAL   0x03

Referenced by block_append_gen(), and rb_intern3().

#define ID_INSTANCE   0x01

Definition at line 19 of file id.h.

#define ID_INSTANCE   0x01

Referenced by block_append_gen(), and rb_intern3().

#define ID_INSTANCE   0x01
#define ID_INSTANCE   0x01
#define ID_INSTANCE   0x01
#define ID_INTERNAL   ID_JUNK
#define ID_INTERNAL   ID_JUNK

Definition at line 25 of file id.h.

#define ID_INTERNAL   ID_JUNK

Referenced by internal_id_gen().

#define ID_INTERNAL   ID_JUNK
#define ID_INTERNAL   ID_JUNK
#define ID_JUNK   0x07

Referenced by block_append_gen(), and rb_intern3().

#define ID_JUNK   0x07

Definition at line 24 of file id.h.

#define ID_JUNK   0x07
#define ID_JUNK   0x07
#define ID_JUNK   0x07
#define ID_LOCAL   0x00
#define ID_LOCAL   0x00

Referenced by rb_id2str(), and rb_intern3().

#define ID_LOCAL   0x00
#define ID_LOCAL   0x00
#define ID_LOCAL   0x00

Definition at line 18 of file id.h.

#define ID_SCOPE_MASK   0x07
#define ID_SCOPE_MASK   0x07
#define ID_SCOPE_MASK   0x07
#define ID_SCOPE_MASK   0x07
#define ID_SCOPE_MASK   0x07

Definition at line 17 of file id.h.

#define ID_SCOPE_SHIFT   3

Referenced by internal_id_gen(), and rb_intern3().

#define ID_SCOPE_SHIFT   3
#define ID_SCOPE_SHIFT   3
#define ID_SCOPE_SHIFT   3

Definition at line 16 of file id.h.

#define ID_SCOPE_SHIFT   3
#define ruby_method_id_check_for (   name,
  value 
)    int checking_for_##name[name == (value) ? 1 : -1]
#define ruby_method_id_check_for (   name,
  value 
)    int checking_for_##name[name == (value) ? 1 : -1]
#define ruby_method_id_check_for (   name,
  value 
)    int checking_for_##name[name == (value) ? 1 : -1]
#define ruby_method_id_check_for (   name,
  value 
)    int checking_for_##name[name == (value) ? 1 : -1]
#define symCFUNC   ID2SYM(idCFUNC)

Definition at line 34 of file id.h.

#define symCFUNC   ID2SYM(idCFUNC)
#define symCFUNC   ID2SYM(idCFUNC)
#define symCFUNC   ID2SYM(idCFUNC)
#define symCFUNC   ID2SYM(idCFUNC)
#define symIFUNC   ID2SYM(idIFUNC)
#define symIFUNC   ID2SYM(idIFUNC)
#define symIFUNC   ID2SYM(idIFUNC)
#define symIFUNC   ID2SYM(idIFUNC)
#define symIFUNC   ID2SYM(idIFUNC)

Definition at line 33 of file id.h.

#define TOKEN2ID (   n)    id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
#define TOKEN2ID (   n)    id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
#define TOKEN2ID (   n)    id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)
#define TOKEN2ID (   n)    id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)

Definition at line 117 of file id.h.

#define TOKEN2ID (   n)    id##n = ((t##n<<ID_SCOPE_SHIFT)|ID_LOCAL)

Enumeration Type Documentation

Enumerator:
tUPLUS 
tUMINUS 
tPOW 
tCMP 
tEQ 
tEQQ 
tNEQ 
tGEQ 
tLEQ 
tANDOP 
tOROP 
tMATCH 
tNMATCH 
tDOT2 
tDOT3 
tAREF 
tASET 
tLSHFT 
tRSHFT 
tLAMBDA 
idNULL 
idRespond_to 
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 
tLAST_TOKEN 
idDot2 
idDot3 
idUPlus 
idUMinus 
idPow 
idCmp 
idPLUS 
idMINUS 
idMULT 
idDIV 
idMOD 
idLT 
idLTLT 
idLE 
idGT 
idGE 
idEq 
idEqq 
idNeq 
idNot 
idBackquote 
idEqTilde 
idNeqTilde 
idAREF 
idASET 
idLAST_TOKEN 
tIntern 
tMethodMissing 
tLength 
tSize 
tGets 
tSucc 
tEach 
tLambda 
tSend 
t__send__ 
tInitialize 
tUScore 
tLAST_ID 

Definition at line 40 of file id.h.


Function Documentation

ruby_method_ids::TOKEN2ID ( Intern  )
ruby_method_ids::TOKEN2ID ( UScore  )
ruby_method_ids::TOKEN2ID ( Initialize  )
ruby_method_ids::TOKEN2ID ( __send__  )
ruby_method_ids::TOKEN2ID ( Send  )
ruby_method_ids::TOKEN2ID ( Lambda  )
ruby_method_ids::TOKEN2ID ( Each  )
ruby_method_ids::TOKEN2ID ( Succ  )
ruby_method_ids::TOKEN2ID ( Gets  )
ruby_method_ids::TOKEN2ID ( Size  )
ruby_method_ids::TOKEN2ID ( Length  )
ruby_method_ids::TOKEN2ID ( MethodMissing  )