Changeset 134 in dev
- Timestamp:
- Jun 4, 2007, 6:43:24 PM (17 years ago)
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/BasicCompiler.vcproj
r131 r134 1828 1828 <File 1829 1829 RelativePath="..\BasicCompiler_Common\Procedure.cpp" 1830 > 1831 </File> 1832 <File 1833 RelativePath="..\BasicCompiler_Common\src\Prototype.cpp" 1830 1834 > 1831 1835 </File> -
BasicCompiler_Common/Class.cpp
r133 r134 204 204 } 205 205 return false; 206 }207 208 bool CClass::IsEqualSymbol( const NamespaceScopes &namespaceScopes, const string &name ) const209 {210 if( GetName() != name ){211 return false;212 }213 214 return NamespaceScopes::IsSameArea( GetNamespaceScopes(), namespaceScopes );215 }216 bool CClass::IsEqualSymbol( const CClass &objClass ) const217 {218 return IsEqualSymbol( objClass.GetNamespaceScopes(), objClass.GetName() );219 }220 bool CClass::IsEqualSymbol( const string &fullName ) const221 {222 char AreaName[VN_SIZE] = ""; //オブジェクト変数223 char NestName[VN_SIZE] = ""; //入れ子メンバ224 bool isNest = SplitMemberName( fullName.c_str(), AreaName, NestName );225 226 return IsEqualSymbol( NamespaceScopes( AreaName ), NestName );227 206 } 228 207 -
BasicCompiler_Common/Class.h
r133 r134 162 162 } 163 163 164 // シンボル比較165 bool IsEqualSymbol( const NamespaceScopes &namespaceScopes, const string &name ) const;166 bool IsEqualSymbol( const CClass &objClass ) const;167 bool IsEqualSymbol( const string &name ) const;168 169 164 bool IsClass() const; 170 165 bool IsInterface() const; -
BasicCompiler_Common/include/Prototype.h
r133 r134 50 50 } 51 51 52 // シンボル比較 53 bool IsEqualSymbol( const NamespaceScopes &namespaceScopes, const string &name ) const; 54 bool IsEqualSymbol( const Prototype &objClass ) const; 55 bool IsEqualSymbol( const string &name ) const; 56 52 57 // 利用状況 53 58 bool IsUsing() const
Note:
See TracChangeset
for help on using the changeset viewer.