Ignore:
Timestamp:
Jun 27, 2007, 3:16:11 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/src/NamespaceSupporter.cpp

    r195 r199  
    11#include <jenga/include/smoothie/SmoothieException.h>
    22
    3 #include <NamespaceSupporter.h>
     3#include <Compiler.h>
    44
    5 NamespaceSupporter namespaceSupporter;
     5bool NamespaceSupporter::ImportsNamespace( const std::string &namespaceStr )
     6{
     7    NamespaceScopes namespaceScopes( namespaceStr );
     8    if( !compiler.GetMeta().GetNamespaces().IsExist( namespaceScopes ) ){
     9        return false;
     10    }
     11
     12    this->importedNamespaces.push_back( namespaceScopes );
     13
     14    return true;
     15}
    616
    717bool NamespaceSupporter::CollectNamespaces( const char *source, NamespaceScopesCollection &namespaceScopesCollection )
Note: See TracChangeset for help on using the changeset viewer.