Changeset 581 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Delegate.cpp
- Timestamp:
- May 8, 2008, 3:52:48 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Delegate.cpp
r572 r581 2 2 3 3 #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 }28 4 29 5 bool Delegate::IsSimilar( const Delegate &dgt ) const
Note:
See TracChangeset
for help on using the changeset viewer.