#include <cbodywalk.h>
Inheritance diagram for ClassBodyWalker:
Public Methods | |
ClassBodyWalker (Walker *w, PtreeArray *tlist) | |
Ptree * | TranslateClassBody (Ptree *block, Ptree *bases, Class *) |
void | AppendNewMembers (Class *, PtreeArray &, bool &) |
Ptree * | TranslateTypespecifier (Ptree *tspec) |
Ptree * | TranslateTypedef (Ptree *def) |
Ptree * | TranslateMetaclassDecl (Ptree *decl) |
Ptree * | TranslateDeclarators (Ptree *decls) |
Ptree * | TranslateAssignInitializer (PtreeDeclarator *decl, Ptree *init) |
Ptree * | TranslateInitializeArgs (PtreeDeclarator *decl, Ptree *init) |
Ptree * | TranslateDeclarator (bool record, PtreeDeclarator *decl) |
Ptree * | TranslateDeclarator (bool record, PtreeDeclarator *decl, bool append_body) |
Ptree * | TranslateFunctionImplementation (Ptree *impl) |
Private Attributes | |
PtreeArray * | tspec_list |
|
Definition at line 24 of file cbodywalk.h. References tspec_list. |
|
Definition at line 67 of file cbodywalk.cc. References ChangedMemberList::Cmem::access, PtreeArray::Append(), ClassWalker::ConstructAccessSpecifier(), ClassWalker::ConstructMember(), ChangedMemberList::Cmem::def, ChangedMemberList::Get(), Class::GetAppendedMembers(), nil, and TRUE. Referenced by TranslateClassBody(). |
|
Reimplemented from ClassWalker. Definition at line 123 of file cbodywalk.cc. References ClassWalker::TranslateAssignInitializer(). |
|
Reimplemented from Walker. Definition at line 21 of file cbodywalk.cc. References PtreeArray::All(), PtreeArray::Append(), AppendNewMembers(), Ptree::Car(), Ptree::Cdr(), Walker::ChangeScope(), Walker::env, FALSE, Ptree::First(), Class::GetAppendedCode(), Class::GetEnvironment(), nil, Walker::RestoreScope(), Ptree::Second(), Ptree::Third(), Walker::Translate(), and TRUE. Referenced by ClassWalker::ConstructClass(), and ClassWalker::TranslateClassSpec(). |
|
Definition at line 145 of file cbodywalk.cc. References ChangedMemberList::Cmem::body, Walker::env, Class::GetChangedMember(), Ptree::List(), Environment::LookupThis(), ClassWalker::MakeMemberDeclarator(), nil, ChangedMemberList::Cmem::removed, and Walker::TranslateDeclarator(). |
|
Reimplemented from Walker. Definition at line 139 of file cbodywalk.cc. References TRUE. Referenced by TranslateFunctionImplementation(). |
|
Reimplemented from Walker. Definition at line 118 of file cbodywalk.cc. References FALSE, and Walker::TranslateDeclarators(). |
|
Reimplemented from ClassWalker. Definition at line 166 of file cbodywalk.cc. References ChangedMemberList::Cmem::body, Walker::ChangeScope(), Environment::DontRecordDeclarator(), Walker::env, Walker::ExitScope(), FALSE, Ptree::First(), Class::GetChangedMember(), Environment::IsClassEnvironment(), Ptree::List(), Walker::NewScope(), nil, Ptree::Nth(), Walker::RestoreScope(), Ptree::Second(), Class::semicolon_t, Ptree::Third(), TranslateDeclarator(), Walker::TranslateDeclarator(), ClassWalker::TranslateFunctionBody(), ClassWalker::TranslateStorageSpecifiers(), TranslateTypespecifier(), and TRUE. |
|
Reimplemented from ClassWalker. Definition at line 131 of file cbodywalk.cc. References ClassWalker::TranslateInitializeArgs(). |
|
Reimplemented from ClassWalker. Definition at line 113 of file cbodywalk.cc. References nil. |
|
Reimplemented from Walker. Definition at line 98 of file cbodywalk.cc. References Ptree::First(), Ptree::List(), Ptree::ListTail(), Ptree::Second(), and TranslateTypespecifier(). |
|
Reimplemented from Walker. Definition at line 85 of file cbodywalk.cc. References nil, PtreeArray::Number(), PtreeArray::Ref(), and tspec_list. Referenced by TranslateFunctionImplementation(), and TranslateTypedef(). |
|
Definition at line 41 of file cbodywalk.h. Referenced by ClassBodyWalker(), and TranslateTypespecifier(). |