Changeset 537 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/include
- Timestamp:
- May 3, 2008, 6:58:38 PM (17 years ago)
- Location:
- trunk/ab5.0/abdev/BasicCompiler_Common/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/include/Compiler.h
r536 r537 192 192 193 193 void ClearCompilingUserProcAndClass(); 194 void StartGlobalAreaCompile(); 195 void FinishGlobalAreaCompile(); 194 196 void SetCompilingClass( const CClass *pClass ); 197 void SetCompilingUserProc( const UserProc *pUserProc ); 195 198 void StartProcedureCompile( const UserProc *pUserProc ); 196 199 void FinishProcedureCompile(); 197 200 198 201 bool IsGlobalAreaCompiling(); 202 bool IsLocalAreaCompiling(); 199 203 const UserProc &GetCompilingUserProc(); 200 204 bool IsCompilingClass(); -
trunk/ab5.0/abdev/BasicCompiler_Common/include/Procedure.h
r524 r537 371 371 372 372 373 374 /////////////////////////////////////////////////////////////////375 // コンパイル中の関数を管理376 /////////////////////////////////////////////////////////////////377 private:378 static const UserProc *pCompilingUserProc;379 public:380 373 static const UserProc *pGlobalProc; 381 static void CompileStartForGlobalArea(){382 pCompilingUserProc = NULL;383 }384 static void CompileStartForUserProc( const UserProc *pUserProc ){385 pCompilingUserProc = pUserProc;386 }387 static bool IsGlobalAreaCompiling(){388 return ( pCompilingUserProc == NULL );389 }390 static bool IsLocalAreaCompiling(){391 return ( pCompilingUserProc != NULL );392 }393 static const UserProc &CompilingUserProc(){394 return *pCompilingUserProc;395 }396 374 }; 397 375
Note:
See TracChangeset
for help on using the changeset viewer.