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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Delegate.cpp

    r572 r581  
    22
    33#include <Delegate.h>
    4 
    5 void Delegate::RefleshParameterAndReturnType()
    6 {
    7     compiler.GetNamespaceSupporter().SetImportedNamespaces( this->importedNamespaces );
    8     compiler.GetNamespaceSupporter().SetLivingNamespaceScopes( this->GetNamespaceScopes() );
    9 
    10     // パラメータを解析
    11     Jenga::Common::Strings parameterStrings;
    12     SplitParameter( paramStr, parameterStrings );
    13     ActiveBasic::Compiler::LexicalAnalyzer::AnalyzeParameter( this->GetParameters(), parameterStrings, sourceIndex );
    14 
    15     // 動的パラメータを作る
    16     dynamicParams = this->GetParameters();
    17     dynamicParams.insert( dynamicParams.begin(), new Parameter( "_System_LocalThis", Type( DEF_PTR_VOID ) ) );
    18 
    19     if( IsFunction() )
    20     {
    21         // 戻り値を取得
    22         if( !compiler.StringToType( returnTypeName, returnType ) )
    23         {
    24             compiler.errorMessenger.Output(3,returnTypeName,sourceIndex);
    25         }
    26     }
    27 }
    284
    295bool Delegate::IsSimilar( const Delegate &dgt ) const
Note: See TracChangeset for help on using the changeset viewer.