Changeset 182 in dev for trunk/abdev/BasicCompiler_Common/hash.cpp
- Timestamp:
- Jun 24, 2007, 6:49:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/hash.cpp
r136 r182 1 #include <jenga/include/smoothie/Smoothie.h> 2 1 3 #include "../BasicCompiler_Common/common.h" 2 4 … … 38 40 char ObjName[VN_SIZE]; //オブジェクト変数 39 41 char NestMember[VN_SIZE]; //入れ子メンバ 40 bool isObjectMember = SplitMemberName( fullName, ObjName, NestMember );42 bool isObjectMember = CClass::SplitName( fullName, ObjName, NestMember ); 41 43 42 44 //ハッシュ値を取得 … … 71 73 char ObjName[VN_SIZE]; //オブジェクト変数 72 74 char NestMember[VN_SIZE]; //入れ子メンバ 73 bool isObjectMember = SplitMemberName( name, ObjName, NestMember );75 bool isObjectMember = CClass::SplitName( name, ObjName, NestMember ); 74 76 75 77 if(isObjectMember){ … … 80 82 if(lstrcmpi(ObjName,"Super")==0){ 81 83 //クラスメンバ関数内から基底クラスの呼び出し 82 pobj_c= pobj_CompilingClass;84 pobj_c=Smoothie::Temp::pCompilingClass; 83 85 } 84 86 else{ … … 89 91 } 90 92 else{ 91 pobj_c= pobj_DBClass->Find(ObjName);93 pobj_c=Smoothie::GetMeta().GetClasses().Find(ObjName); 92 94 if( pobj_c ){ 93 95 isStatic = true; … … 110 112 111 113 112 if( pobj_CompilingClass){114 if(Smoothie::Temp::pCompilingClass){ 113 115 //自身のオブジェクトのメンバ関数を検索 114 116 115 117 // 静的メソッド 116 pobj_CompilingClass->GetStaticMethods().Enum( name, subs );118 Smoothie::Temp::pCompilingClass->GetStaticMethods().Enum( name, subs ); 117 119 118 120 // 動的メソッド 119 pobj_CompilingClass->GetMethods().Enum( name, subs );121 Smoothie::Temp::pCompilingClass->GetMethods().Enum( name, subs ); 120 122 } 121 123 … … 187 189 188 190 UserProc *GetClassMethod( const char *className, const char *methodName ){ 189 const CClass *pClass = pobj_DBClass->Find( className );191 const CClass *pClass = Smoothie::GetMeta().GetClasses().Find( className ); 190 192 if( pClass ){ 191 193 vector<UserProc *> userProcs;
Note:
See TracChangeset
for help on using the changeset viewer.