Changeset 598 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Meta.cpp
- Timestamp:
- May 10, 2008, 8:16:16 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Meta.cpp
r597 r598 177 177 } 178 178 179 const CClass *Meta::FindClassSupportedTypeDef( const NamespaceScopes &namespaceScopes, const std::string &name)179 const CClass *Meta::FindClassSupportedTypeDef( const Symbol &symbol ) 180 180 { 181 const CClass *pClass = this->GetClasses().FindEx( namespaceScopes, name);181 const CClass *pClass = this->GetClasses().FindEx( symbol ); 182 182 if( pClass ) 183 183 { … … 186 186 187 187 // TypeDefも見る 188 int index = this->GetTypeDefs().GetIndex( namespaceScopes, name);188 int index = this->GetTypeDefs().GetIndex( symbol ); 189 189 if( index != -1 ){ 190 190 Type type = this->GetTypeDefs()[index].GetBaseType(); … … 196 196 return NULL; 197 197 } 198 const CClass *Meta::FindClassSupportedTypeDef( const std::string &fullName )199 {200 char AreaName[VN_SIZE] = ""; //オブジェクト変数201 char NestName[VN_SIZE] = ""; //入れ子メンバ202 bool isNest = SplitMemberName( fullName.c_str(), AreaName, NestName );203 204 return FindClassSupportedTypeDef( NamespaceScopes( AreaName ), NestName );205 }
Note:
See TracChangeset
for help on using the changeset viewer.