Ignore:
Timestamp:
May 3, 2008, 6:32:50 PM (16 years ago)
Author:
dai_9181
Message:

Compiler::pCompilingClassメンバをprivateにし、setter/getterにあたるメソッドを用意した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/Compiler.h

    r533 r536  
    3030    // 名前空間サポート
    3131    NamespaceSupporter namespaceSupporter;
     32
     33    // コンパイル中のUserProc/CClass
     34    const UserProc *pCompilingUserProc;
     35    const CClass *pCompilingClass;
    3236
    3337    // オブジェクトモジュール
     
    187191    const std::string TypeToString( const Type &type );
    188192
    189     // コンパイル中のクラス
    190     const CClass *pCompilingClass;
    191 
     193    void ClearCompilingUserProcAndClass();
     194    void SetCompilingClass( const CClass *pClass );
    192195    void StartProcedureCompile( const UserProc *pUserProc );
    193196    void FinishProcedureCompile();
     197
     198    bool IsGlobalAreaCompiling();
     199    const UserProc &GetCompilingUserProc();
     200    bool IsCompilingClass();
     201    const CClass &GetCompilingClass();
    194202};
    195203
Note: See TracChangeset for help on using the changeset viewer.