Changeset 639 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Procedure.cpp
- Timestamp:
- Jun 12, 2008, 11:30:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/Procedure.cpp
r637 r639 11 11 } 12 12 } 13 14 bool Procedure::Resolve( const ObjectModule &resolver ) 15 { 16 BOOST_FOREACH( Parameter *pParameter, params ) 17 { 18 pParameter->Resolve( resolver ); 19 } 20 21 returnType.Resolve( resolver ); 22 23 return true; 24 } 25 13 26 14 27 void UserProc::ResetRelationalObjectModuleIndex( const std::vector<int> &relationTable ) … … 157 170 } 158 171 159 bool UserProc::Resolve() 160 { 161 // TODO: Resolve 172 bool UserProc::Resolve( const ObjectModule &resolver ) 173 { 174 Procedure::Resolve( resolver ); 175 176 if( pParentClass ) 177 { 178 if( pParentClass->IsNeedResolve() ) 179 { 180 pParentClass = resolver.meta.GetClasses().FindLike( pParentClass ); 181 } 182 } 183 184 if( pInterface ) 185 { 186 const_cast<Interface *>(pInterface)->Resolve( resolver ); 187 } 188 189 if( pMethod ) 190 { 191 pMethod->Resolve( resolver ); 192 } 193 194 BOOST_FOREACH( Parameter *pParameter, realParams ) 195 { 196 pParameter->Resolve( resolver ); 197 } 198 199 BOOST_FOREACH( Variable *pLocalVar, localVars ) 200 { 201 pLocalVar->Resolve( resolver ); 202 } 203 204 nativeCode.Resolve( resolver ); 162 205 return true; 163 206 } … … 185 228 } 186 229 187 bool DllProc::Resolve( )188 { 189 // TODO: Resolve190 return true; 191 } 192 193 bool ProcPointer::Resolve( )194 { 195 // TODO: Resolve230 bool DllProc::Resolve( const ObjectModule &resolver ) 231 { 232 Procedure::Resolve( resolver ); 233 return true; 234 } 235 236 bool ProcPointer::Resolve( const ObjectModule &resolver ) 237 { 238 Procedure::Resolve( resolver ); 196 239 return true; 197 240 }
Note:
See TracChangeset
for help on using the changeset viewer.