Changeset 199 in dev for trunk/abdev/BasicCompiler_Common/src/NamespaceSupporter.cpp
- Timestamp:
- Jun 27, 2007, 3:16:11 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/NamespaceSupporter.cpp
r195 r199 1 1 #include <jenga/include/smoothie/SmoothieException.h> 2 2 3 #include < NamespaceSupporter.h>3 #include <Compiler.h> 4 4 5 NamespaceSupporter namespaceSupporter; 5 bool 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 } 6 16 7 17 bool NamespaceSupporter::CollectNamespaces( const char *source, NamespaceScopesCollection &namespaceScopesCollection )
Note:
See TracChangeset
for help on using the changeset viewer.