Changeset 206 in dev for trunk/abdev/BasicCompiler_Common/src/TypeDef.cpp
- Timestamp:
- Jul 12, 2007, 2:58:26 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/TypeDef.cpp
r199 r206 1 #include "stdafx.h" 2 1 3 #include <jenga/include/smoothie/Smoothie.h> 2 #include <jenga/include/smoothie/Class.h>3 4 #include <jenga/include/smoothie/SmoothieException.h> 5 #include <jenga/include/smoothie/LexicalAnalysis.h> 4 6 5 7 #include <TypeDef.h> … … 8 10 9 11 TypeDef::TypeDef( const NamespaceScopes &namespaceScopes, const string &name, const string &baseName, int nowLine ) 10 : namespaceScopes( namespaceScopes ) 11 , name( name ) 12 : Symbol( namespaceScopes, name ) 12 13 , baseName( baseName ) 13 14 { … … 17 18 } 18 19 } 19 TypeDef::~TypeDef(){ 20 } 21 20 /* 22 21 bool TypeDef::IsEqualSymbol( const NamespaceScopes &namespaceScopes, const string &name ) const 23 22 { … … 31 30 char AreaName[VN_SIZE] = ""; //オブジェクト変数 32 31 char NestName[VN_SIZE] = ""; //入れ子メンバ 33 bool isNest = CClass::SplitName( fullName.c_str(), AreaName, NestName );32 bool isNest = SplitMemberName( fullName.c_str(), AreaName, NestName ); 34 33 35 34 if( IsEqualSymbol( NamespaceScopes( AreaName ), NestName ) ){ … … 42 41 char AreaName2[VN_SIZE] = ""; //オブジェクト変数 43 42 char NestName2[VN_SIZE] = ""; //入れ子メンバ 44 bool isNest = CClass::SplitName( AreaName, AreaName2, NestName2 );43 bool isNest = SplitMemberName( AreaName, AreaName2, NestName2 ); 45 44 lstrcat( NestName2, "." ); 46 45 lstrcat( NestName2, NestName ); … … 50 49 51 50 return false; 52 } 51 }*/ 53 52 54 53 … … 74 73 char AreaName[VN_SIZE] = ""; //オブジェクト変数 75 74 char NestName[VN_SIZE] = ""; //入れ子メンバ 76 bool isNest = CClass::SplitName( fullName.c_str(), AreaName, NestName );75 bool isNest = SplitMemberName( fullName.c_str(), AreaName, NestName ); 77 76 78 77 return GetIndex( NamespaceScopes( AreaName ), NestName );
Note:
See TracChangeset
for help on using the changeset viewer.