source: dev/trunk/ab5.0/abdev/BasicCompiler_Common/src/NamespaceSupporter.cpp@ 506

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

LexicalAnalyzerクラスを追加。

File size: 365 bytes
Line 
1#include "stdafx.h"
2
3#include <Compiler.h>
4
5bool NamespaceSupporter::ImportsNamespace( const std::string &namespaceStr )
6{
7 NamespaceScopes namespaceScopes( namespaceStr );
8 if( !compiler.GetObjectModule().meta.GetNamespaces().IsExist( namespaceScopes ) ){
9 return false;
10 }
11
12 this->importedNamespaces.push_back( namespaceScopes );
13
14 return true;
15}
Note: See TracBrowser for help on using the repository browser.