Changeset 336 in dev for trunk/abdev/BasicCompiler_Common
- Timestamp:
- Sep 29, 2007, 12:45:16 PM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Method.h
r206 r336 55 55 virtual bool IsVirtual() const = 0; 56 56 virtual bool IsConst() const = 0; 57 virtual bool IsDynamic() const = 0; 57 58 virtual bool IsStatic() const = 0; 58 59 virtual const CClass *GetInheritsClassPtr() const = 0; … … 118 119 return isConst; 119 120 } 121 virtual bool IsDynamic() const 122 { 123 return true; 124 } 120 125 virtual bool IsStatic() const 121 126 { … … 159 164 } 160 165 virtual bool IsConst() const{SetError();return false;} 166 virtual bool IsDynamic() const 167 { 168 return false; 169 } 161 170 virtual bool IsStatic() const 162 171 { -
trunk/abdev/BasicCompiler_Common/include/Procedure.h
r326 r336 348 348 this->pMethod = pMethod; 349 349 } 350 const CMethod &GetMethod() const; 350 351 351 352 bool SetParamsAndReturnType( const char *sourceOfParams, int nowLine, bool isStatic ); -
trunk/abdev/BasicCompiler_Common/include/ver.h
r324 r336 6 6 // バージョン付加文字列 7 7 #ifdef _AMD64_ 8 #define VER_INFO "(x64) (rev.3 38)"8 #define VER_INFO "(x64) (rev.342)" 9 9 #else 10 #define VER_INFO "(rev.3 38)"10 #define VER_INFO "(rev.342)" 11 11 #endif -
trunk/abdev/BasicCompiler_Common/src/Procedure.cpp
r324 r336 46 46 } 47 47 return ( pMethod->IsVirtual() != 0 ); 48 } 49 const CMethod &UserProc::GetMethod() const 50 { 51 if( !HasParentClass() ) 52 { 53 Jenga::Throw( "グローバル関数に対してUserProc::GetMethodメソッドが呼ばれた" ); 54 } 55 return *pMethod; 48 56 } 49 57
Note:
See TracChangeset
for help on using the changeset viewer.