Last change
on this file since 512 was 508, checked in by dai_9181, 17 years ago |
Symbolコンストラクタを少なくし、LexicalAnalyzer::FullNameToSymbolメソッドを実装。
|
File size:
555 bytes
|
Line | |
---|
1 | #include "stdafx.h"
|
---|
2 |
|
---|
3 | using namespace ActiveBasic::Common::Lexical;
|
---|
4 |
|
---|
5 | bool NamespaceSupporter::ImportsNamespace( const NamespaceScopes &namespaceScopes )
|
---|
6 | {
|
---|
7 | _ASSERT( allNamespaceScopesCollection );
|
---|
8 | if( !allNamespaceScopesCollection->IsExist( namespaceScopes ) ){
|
---|
9 | return false;
|
---|
10 | }
|
---|
11 |
|
---|
12 | this->importedNamespaces.push_back( namespaceScopes );
|
---|
13 |
|
---|
14 | return true;
|
---|
15 | }
|
---|
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.