Ignore:
Timestamp:
May 5, 2008, 12:49:01 PM (17 years ago)
Author:
dai_9181
Message:

ImplementsメソッドをLexicalAnalyzerクラスに移動した。

Location:
trunk/ab5.0/abdev/BasicCompiler_Common/include
Files:
2 edited

Legend:

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

    r559 r560  
    306306        return ( interfaces.size() != 0 );
    307307    }
     308    void AddInterface( ::Interface *pInterface )
     309    {
     310        interfaces.push_back( pInterface );
     311    }
    308312    const Interfaces &GetInterfaces() const
    309313    {
     
    314318    // クラス継承
    315319    bool InheritsClass( const CClass &inheritsClass, const Types &actualTypeParameters, int nowLine );
    316 
    317     // インターフェイス実装
    318     void Implements( const CClass &interfaceClass, const Types &actualTypeParameters, std::vector<DynamicMethod::OverrideResult> &overrideResults );
    319320
    320321    //メンバ、メソッドの追加
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/LexicalAnalyzer.h

    r552 r560  
    4646    static void AddMethod(CClass *pobj_c, UserProc *pUserProc, Prototype::Accessibility accessibility, BOOL bStatic, bool isConst, bool isAbstract,
    4747        bool isVirtual, bool isOverride, const char *interfaceName, bool isAutoGeneration, int nowLine);
    48     static bool Inherits( CClass &currentClass, const char *inheritNames, int nowLine );
    49     static bool Implements( CClass &currentClass, const char *interfaceNames, int nowLine );
     48    static bool Inherits( CClass &_class, const char *inheritNames, int nowLine );
     49    static void Implements( CClass &_class, Interface *pInterface, std::vector<DynamicMethod::OverrideResult> &overrideResults );
     50    static bool Implements( CClass &_class, const char *interfaceNames, int nowLine );
    5051    static void LookaheadClass( const char *className, Classes &classes );
    5152    static bool LoopRefCheck( const CClass &objClass );
Note: See TracChangeset for help on using the changeset viewer.