Last change
on this file since 567 was 516, checked in by dai_9181, 16 years ago |
ab_commonプロジェクト内にLexicalディレクトリを作成。
|
File size:
555 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 | {
|
---|
[508] | 7 | _ASSERT( allNamespaceScopesCollection );
|
---|
[507] | 8 | if( !allNamespaceScopesCollection->IsExist( namespaceScopes ) ){
|
---|
[199] | 9 | return false;
|
---|
| 10 | }
|
---|
[195] | 11 |
|
---|
[199] | 12 | this->importedNamespaces.push_back( namespaceScopes );
|
---|
| 13 |
|
---|
| 14 | return true;
|
---|
| 15 | }
|
---|
[507] | 16 |
|
---|
| 17 | bool NamespaceSupporter::ImportsNamespace( const std::string &namespaceStr )
|
---|
| 18 | {
|
---|
| 19 | NamespaceScopes namespaceScopes( namespaceStr );
|
---|
| 20 |
|
---|
| 21 | return ImportsNamespace( namespaceScopes );
|
---|
| 22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.