Changeset 199 in dev for trunk/abdev/BasicCompiler_Common/include/NamespaceSupporter.h
- Timestamp:
- Jun 27, 2007, 3:16:11 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/NamespaceSupporter.h
r198 r199 1 1 #pragma once 2 2 3 #include < Compiler.h>3 #include <jenga/include/smoothie/Namespace.h> 4 4 5 5 class NamespaceSupporter … … 20 20 this->importedNamespaces = namespaces; 21 21 } 22 bool ImportsNamespace( const std::string &namespaceStr ) 23 { 24 NamespaceScopes namespaceScopes( namespaceStr ); 25 if( !compiler.GetMeta().GetNamespaces().IsExist( namespaceScopes ) ){ 26 return false; 27 } 28 29 this->importedNamespaces.push_back( namespaceScopes ); 30 31 return true; 32 } 22 bool ImportsNamespace( const std::string &namespaceStr ); 33 23 34 24 NamespaceScopes &GetLivingNamespaceScopes() … … 109 99 static bool CollectNamespaces( const char *source, NamespaceScopesCollection &namespaceScopesCollection ); 110 100 }; 111 extern NamespaceSupporter namespaceSupporter;
Note:
See TracChangeset
for help on using the changeset viewer.