Changeset 507 in dev for trunk/ab5.0/abdev/ab_common/src


Ignore:
Timestamp:
Apr 28, 2008, 8:14:31 PM (16 years ago)
Author:
dai_9181
Message:

NamespaceSupporterクラスをab_commonプロジェクトに移動した。

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/ab_common/src/NamespaceSupporter.cpp

    r506 r507  
    11#include "stdafx.h"
    22
    3 #include <Compiler.h>
     3using namespace ActiveBasic::Common::Lexical;
    44
    5 bool NamespaceSupporter::ImportsNamespace( const std::string &namespaceStr )
     5bool NamespaceSupporter::ImportsNamespace( const NamespaceScopes &namespaceScopes )
    66{
    7     NamespaceScopes namespaceScopes( namespaceStr );
    8     if( !compiler.GetObjectModule().meta.GetNamespaces().IsExist( namespaceScopes ) ){
     7    if( !allNamespaceScopesCollection->IsExist( namespaceScopes ) ){
    98        return false;
    109    }
     
    1413    return true;
    1514}
     15
     16bool NamespaceSupporter::ImportsNamespace( const std::string &namespaceStr )
     17{
     18    NamespaceScopes namespaceScopes( namespaceStr );
     19
     20    return ImportsNamespace( namespaceScopes );
     21}
Note: See TracChangeset for help on using the changeset viewer.