Last change
on this file since 507 was 507, checked in by dai_9181, 16 years ago |
NamespaceSupporterクラスをab_commonプロジェクトに移動した。
|
File size:
512 bytes
|
Rev | Line | |
---|
[206] | 1 | #include "stdafx.h"
|
---|
| 2 |
|
---|
[507] | 3 | using namespace ActiveBasic::Common::Lexical;
|
---|
[195] | 4 |
|
---|
[507] | 5 | bool NamespaceSupporter::ImportsNamespace( const NamespaceScopes &namespaceScopes )
|
---|
[199] | 6 | {
|
---|
[507] | 7 | if( !allNamespaceScopesCollection->IsExist( namespaceScopes ) ){
|
---|
[199] | 8 | return false;
|
---|
| 9 | }
|
---|
[195] | 10 |
|
---|
[199] | 11 | this->importedNamespaces.push_back( namespaceScopes );
|
---|
| 12 |
|
---|
| 13 | return true;
|
---|
| 14 | }
|
---|
[507] | 15 |
|
---|
| 16 | bool 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.