Changeset 560 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/include
- Timestamp:
- May 5, 2008, 12:49:01 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/Class.h
r559 r560 306 306 return ( interfaces.size() != 0 ); 307 307 } 308 void AddInterface( ::Interface *pInterface ) 309 { 310 interfaces.push_back( pInterface ); 311 } 308 312 const Interfaces &GetInterfaces() const 309 313 { … … 314 318 // クラス継承 315 319 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 );319 320 320 321 //メンバ、メソッドの追加 -
trunk/ab5.0/abdev/BasicCompiler_Common/include/LexicalAnalyzer.h
r552 r560 46 46 static void AddMethod(CClass *pobj_c, UserProc *pUserProc, Prototype::Accessibility accessibility, BOOL bStatic, bool isConst, bool isAbstract, 47 47 bool isVirtual, bool isOverride, const char *interfaceName, bool isAutoGeneration, int nowLine); 48 static bool Inherits( CClass ¤tClass, const char *inheritNames, int nowLine ); 49 static bool Implements( CClass ¤tClass, 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 ); 50 51 static void LookaheadClass( const char *className, Classes &classes ); 51 52 static bool LoopRefCheck( const CClass &objClass );
Note:
See TracChangeset
for help on using the changeset viewer.