Changeset 639 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/Method.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/Method.cpp
r603 r639 1 1 #include "stdafx.h" 2 3 bool CMethod::Resolve( const ObjectModule &resolver ) 4 { 5 if( pUserProc ) 6 { 7 if( pUserProc->IsNeedResolve() ) 8 { 9 pUserProc = resolver.meta.GetUserProcs().FindLike( pUserProc ); 10 } 11 } 12 return true; 13 } 2 14 3 15 DynamicMethod::OverrideResult::EnumType DynamicMethod::Override( const UserProc *pUserProc, Prototype::Accessibility accessibility, bool isOverrideModifier ) … … 29 41 } 30 42 43 bool DynamicMethod::Resolve( const ObjectModule &resolver ) 44 { 45 CMethod::Resolve( resolver ); 46 47 if( this->pInheritsClass ) 48 { 49 if( this->pInheritsClass->IsNeedResolve() ) 50 { 51 this->pInheritsClass = resolver.meta.GetClasses().FindLike( pInheritsClass ); 52 } 53 } 54 55 return true; 56 } 31 57 32 58 StaticMethod::StaticMethod( const StaticMethod &staticMethod ) … … 35 61 throw; 36 62 } 63 64 bool StaticMethod::Resolve( const ObjectModule &resolver ) 65 { 66 CMethod::Resolve( resolver ); 67 return true; 68 } 69 37 70 38 71 Methods::Methods()
Note:
See TracChangeset
for help on using the changeset viewer.