Ignore:
Timestamp:
May 1, 2008, 11:46:43 PM (16 years ago)
Author:
dai_9181
Message:

デリゲート収集コードの実装をLexicalAnalyzerクラスに移動した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/Delegate.h

    r524 r525  
    11#pragma once
    2 
    3 class Delegates;
    42
    53class Delegate
     
    75    , public Jenga::Common::ObjectInHashmap<Delegate>
    86{
    9     friend Delegates;
    10 
    117    // importされている名前空間
    128    NamespaceScopesCollection importedNamespaces;
     
    4339    }
    4440
     41    const std::string &GetParamStr() const
     42    {
     43        return paramStr;
     44    }
     45    const std::string &GetReturnTypeName() const
     46    {
     47        return returnTypeName;
     48    }
     49
    4550    void RefleshParameterAndReturnType();
    4651
     
    6166    bool IsSimilar( const Delegate &dgt ) const;
    6267};
    63 
    64 class Delegates : public Jenga::Common::Hashmap<Delegate>
    65 {
    66 public:
    67     void Collect( const BasicSource &source );
    68     void GenerateSourceCode( std::string &destSource );
    69     void RefleshParameterAndReturnType();
    70 };
     68typedef Jenga::Common::Hashmap<Delegate> Delegates;
Note: See TracChangeset for help on using the changeset viewer.