Ignore:
Timestamp:
May 8, 2008, 3:52:48 PM (17 years ago)
Author:
dai_9181
Message:

DelegateクラスのLexicalAnalyzerクラスへの依存性をなくした。

Location:
trunk/ab5.0/abdev/BasicCompiler_Common/include
Files:
2 edited

Legend:

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

    r525 r581  
    3939    }
    4040
     41    const NamespaceScopesCollection &GetImportedNamespaces() const
     42    {
     43        return importedNamespaces;
     44    }
     45
    4146    const std::string &GetParamStr() const
    4247    {
     
    4752        return returnTypeName;
    4853    }
     54    void SetReturnType( const Type &returnType )
     55    {
     56        this->returnType = returnType;
     57    }
    4958
    50     void RefleshParameterAndReturnType();
     59    void SetSourceIndex( int sourceIndex )
     60    {
     61        this->sourceIndex = sourceIndex;
     62    }
    5163
    5264    virtual const std::string &GetKeyName() const
     
    5668
    5769    const Parameters &GetDynamicParams() const
     70    {
     71        return dynamicParams;
     72    }
     73    Parameters &GetDynamicParams()
    5874    {
    5975        return dynamicParams;
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/LexicalAnalyzer.h

    r578 r581  
    6666    static void CollectDelegates( const char *source, Delegates &delegates );
    6767    static std::string GenerateDelegatesSourceCode( const Delegates &delegates );
     68    static void RefleshDelegateParameterAndReturnType( Delegate &dg );
    6869    static void RefleshDelegatesParameterAndReturnType( Delegates &delegates );
    6970};
Note: See TracChangeset for help on using the changeset viewer.