Changeset 18 in dev for BasicCompiler_Common/Class.h
- Timestamp:
- Dec 24, 2006, 4:46:12 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Class.h
r17 r18 49 49 BOOL bAbstract; 50 50 BOOL bVirtual; 51 bool isConst; 51 52 52 53 CClass *pobj_InheritsClass; … … 96 97 void AddMember( DWORD dwAccess, bool idConst, char *buffer ); 97 98 void AddStaticMember( DWORD dwAccess, bool isConst, char *buffer, int NowLine ); 98 void AddMethod( SUBINFO *psi,DWORD dwAccess,BOOL bAbstract,BOOL bVirtual);99 void AddMethod( SUBINFO *psi,DWORD dwAccess, bool isConst, BOOL bAbstract, BOOL bVirtual ); 99 100 void AddStaticMethod(SUBINFO *psi,DWORD dwAccess); 100 101 101 102 BOOL DupliCheckAll(char *name); 102 103 BOOL DupliCheckMember(char *name); 104 105 CMethod *GetMethodInfo( SUBINFO *psi ); 106 CMethod *GetStaticMethodInfo( SUBINFO *psi ); 103 107 104 108 … … 124 128 void NotifyFinishConstructorCompile(); 125 129 bool IsCompilingConstructor(); 130 131 //デストラクタをコンパイルしているかどうかのチェックフラグ 132 private: 133 bool isCompilingDestructor; 134 public: 135 void NotifyStartDestructorCompile(); 136 void NotifyFinishDestructorCompile(); 137 bool IsCompilingDestructor(); 126 138 127 139 … … 147 159 148 160 private: 149 void AddMemberSub(CClass *pobj_c,DWORD dwAccess,BOOL bStatic,BOOL bAbstract,BOOL bVirtual,BOOL bOverride,char *buffer,int NowLine); 161 void AddMethod(CClass *pobj_c, DWORD dwAccess, BOOL bStatic, bool isConst, BOOL bAbstract, 162 BOOL bVirtual, BOOL bOverride, char *buffer, int NowLine); 150 163 BOOL MemberVar_LoopRefCheck(CClass *pobj_c); 151 164 public: … … 155 168 156 169 157 //イテレータ 170 ///////////////////////////// 171 // 現在コンパイル中の情報 172 ///////////////////////////// 173 private: 174 CClass *pCompilingClass; 175 CMethod *pCompilingMethod; 176 public: 177 //コンパイル開始の通知を受け取るメソッド 178 void StartCompile( SUBINFO *psi ); 179 180 //現在コンパイル中のメソッド情報を取得 181 CClass *GetNowCompilingClass(); 182 CMethod *GetNowCompilingMethodInfo(); 183 184 185 ///////////////////// 186 // イテレータ 187 ///////////////////// 158 188 private: 159 189 CClass **ppobj_IteClass;
Note:
See TracChangeset
for help on using the changeset viewer.