1 | #pragma once
|
---|
2 |
|
---|
3 | #include <jenga/include/smoothie/Class.h>
|
---|
4 |
|
---|
5 | class ClassImpl: public CClass
|
---|
6 | {
|
---|
7 | public:
|
---|
8 | ClassImpl( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const string &name )
|
---|
9 | : CClass( namespaceScopes, importedNamespaces, name )
|
---|
10 | {
|
---|
11 | }
|
---|
12 |
|
---|
13 | //継承させる
|
---|
14 | virtual bool Inherits( const char *inheritNames, int nowLine );
|
---|
15 | virtual bool InheritsClass( const CClass &inheritsClass, int nowLine );
|
---|
16 | virtual bool InheritsInterface( const CClass &inheritsClass, int nowLine );
|
---|
17 |
|
---|
18 | //メンバ、メソッドの追加
|
---|
19 | CMember *CreateMember( Prototype::Accessibility accessibility, bool isConst, bool isRef, char *buffer, int nowLine );
|
---|
20 | virtual void AddMember( Prototype::Accessibility accessibility, bool idConst, bool isRef, char *buffer, int nowLine );
|
---|
21 | virtual void AddStaticMember( Prototype::Accessibility accessibility, bool isConst, bool isRef, char *buffer, int nowLine );
|
---|
22 |
|
---|
23 | virtual void AddMethod(CClass *pobj_c, Prototype::Accessibility accessibility, BOOL bStatic, bool isConst, bool isAbstract,
|
---|
24 | bool isVirtual, bool isOverride, char *buffer, int nowLine);
|
---|
25 |
|
---|
26 | virtual LONG_PTR GetVtblGlobalOffset(void) const;
|
---|
27 | virtual void ActionVtblSchedule(LONG_PTR ImageBase, LONG_PTR MemPos_CodeSection);
|
---|
28 | };
|
---|
29 |
|
---|
30 | class ClassesImpl : public Classes
|
---|
31 | {
|
---|
32 | public:
|
---|
33 | virtual CClass *Create( const NamespaceScopes &namespaceScopes, const NamespaceScopesCollection &importedNamespaces, const char *name);
|
---|
34 | virtual void CollectClassesForNameOnly( const BasicSource &source );
|
---|
35 |
|
---|
36 | virtual void InitStaticMember();
|
---|
37 |
|
---|
38 | private:
|
---|
39 | bool MemberVar_LoopRefCheck(const CClass &objClass);
|
---|
40 | public:
|
---|
41 | virtual void GetClass_recur(const char *lpszInheritsClass);
|
---|
42 | virtual void GetAllClassInfo();
|
---|
43 | virtual void Compile_System_InitializeUserTypes();
|
---|
44 |
|
---|
45 | };
|
---|