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