Changeset 507 in dev for trunk/ab5.0/abdev/ab_common/src/NamespaceSupporter.cpp
- Timestamp:
- Apr 28, 2008, 8:14:31 PM (17 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/NamespaceSupporter.cpp
r506 r507 1 1 #include "stdafx.h" 2 2 3 #include <Compiler.h> 3 using namespace ActiveBasic::Common::Lexical; 4 4 5 bool NamespaceSupporter::ImportsNamespace( const std::string &namespaceStr)5 bool NamespaceSupporter::ImportsNamespace( const NamespaceScopes &namespaceScopes ) 6 6 { 7 NamespaceScopes namespaceScopes( namespaceStr ); 8 if( !compiler.GetObjectModule().meta.GetNamespaces().IsExist( namespaceScopes ) ){ 7 if( !allNamespaceScopesCollection->IsExist( namespaceScopes ) ){ 9 8 return false; 10 9 } … … 14 13 return true; 15 14 } 15 16 bool NamespaceSupporter::ImportsNamespace( const std::string &namespaceStr ) 17 { 18 NamespaceScopes namespaceScopes( namespaceStr ); 19 20 return ImportsNamespace( namespaceScopes ); 21 }
Note:
See TracChangeset
for help on using the changeset viewer.