source: dev/trunk/ab5.0/abdev/ab_common/src/NamespaceSupporter.cpp@ 507

Last change on this file since 507 was 507, checked in by dai_9181, 16 years ago

NamespaceSupporterクラスをab_commonプロジェクトに移動した。

File size: 512 bytes
Line 
1#include "stdafx.h"
2
3using namespace ActiveBasic::Common::Lexical;
4
5bool NamespaceSupporter::ImportsNamespace( const NamespaceScopes &namespaceScopes )
6{
7 if( !allNamespaceScopesCollection->IsExist( namespaceScopes ) ){
8 return false;
9 }
10
11 this->importedNamespaces.push_back( namespaceScopes );
12
13 return true;
14}
15
16bool NamespaceSupporter::ImportsNamespace( const std::string &namespaceStr )
17{
18 NamespaceScopes namespaceScopes( namespaceStr );
19
20 return ImportsNamespace( namespaceScopes );
21}
Note: See TracBrowser for help on using the repository browser.