Changeset 509 in dev for trunk/ab5.0/abdev/ab_common/src/Symbol.cpp
- Timestamp:
- Apr 29, 2008, 12:27:10 PM (17 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Symbol.cpp
r508 r509 1 1 #include "stdafx.h" 2 2 3 #include <Compiler.h> 4 #include <Symbol.h> 3 using namespace ActiveBasic::Common::Lexical; 5 4 6 5 const NamespaceSupporter *Symbol::namespaceSupporter = NULL; … … 16 15 } 17 16 18 bool Symbol::IsEqualSymbol( const NamespaceScopes &namespaceScopes, const st ring &name ) const17 bool Symbol::IsEqualSymbol( const NamespaceScopes &namespaceScopes, const std::string &name ) const 19 18 { 20 19 if( GetName() != name ){ … … 36 35 // 静的メンバを考慮 37 36 NamespaceScopes namespaceScopes( symbol.GetNamespaceScopes() ); 38 st ring name = namespaceScopes[namespaceScopes.size()-1] + "." + symbol.GetName();37 std::string name = namespaceScopes[namespaceScopes.size()-1] + "." + symbol.GetName(); 39 38 namespaceScopes.pop_back(); 40 39 … … 43 42 return false; 44 43 } 45 bool Symbol::IsEqualSymbol( const char *fullName ) const46 {47 char AreaName[VN_SIZE] = ""; //オブジェクト変数48 char NestName[VN_SIZE] = ""; //入れ子メンバ49 bool isNest = SplitMemberName( fullName, AreaName, NestName );50 51 if( IsEqualSymbol( NamespaceScopes( AreaName ), NestName ) ){52 return true;53 }54 55 return false;56 }
Note:
See TracChangeset
for help on using the changeset viewer.