Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Walker Class Reference

#include <walker.h>

Inheritance diagram for Walker:

Inheritance graph
[legend]
Collaboration diagram for Walker:

Collaboration graph
[legend]
List of all members.

Public Methods

 Walker (Parser *)
 Walker (Parser *, Environment *)
 Walker (Environment *)
 Walker (Walker *)
PtreeTranslate (Ptree *)
void Typeof (Ptree *, TypeInfo &)
virtual bool IsClassWalker ()
virtual PtreeTranslatePtree (Ptree *)
virtual void TypeofPtree (Ptree *, TypeInfo &)
virtual PtreeTranslateTypedef (Ptree *)
virtual PtreeTranslateTemplateDecl (Ptree *)
virtual PtreeTranslateTemplateInstantiation (Ptree *)
virtual PtreeTranslateTemplateInstantiation (Ptree *, Ptree *, Ptree *, Class *)
virtual ClassMakeTemplateInstantiationMetaobject (Ptree *full_class_spec, Ptree *userkey, Ptree *class_spec)
virtual PtreeTranslateExternTemplate (Ptree *)
virtual PtreeTranslateTemplateClass (Ptree *, Ptree *)
virtual ClassMakeTemplateClassMetaobject (Ptree *, Ptree *, Ptree *)
virtual PtreeTranslateTemplateFunction (Ptree *, Ptree *)
virtual PtreeTranslateMetaclassDecl (Ptree *)
virtual PtreeTranslateLinkageSpec (Ptree *)
virtual PtreeTranslateNamespaceSpec (Ptree *)
virtual PtreeTranslateUsing (Ptree *)
virtual PtreeTranslateDeclaration (Ptree *)
virtual PtreeTranslateStorageSpecifiers (Ptree *)
virtual PtreeTranslateDeclarators (Ptree *)
virtual PtreeTranslateDeclarator (bool, PtreeDeclarator *)
virtual PtreeTranslateArgDeclList (bool, Ptree *, Ptree *)
virtual PtreeTranslateInitializeArgs (PtreeDeclarator *, Ptree *)
virtual PtreeTranslateAssignInitializer (PtreeDeclarator *, Ptree *)
virtual PtreeTranslateFunctionImplementation (Ptree *)
virtual PtreeRecordArgsAndTranslateFbody (Class *, Ptree *args, Ptree *body)
virtual PtreeTranslateFunctionBody (Ptree *)
virtual PtreeTranslateBrace (Ptree *)
virtual PtreeTranslateBlock (Ptree *)
virtual PtreeTranslateClassBody (Ptree *, Ptree *, Class *)
virtual PtreeTranslateClassSpec (Ptree *)
virtual ClassMakeClassMetaobject (Ptree *, Ptree *, Ptree *)
virtual PtreeTranslateClassSpec (Ptree *, Ptree *, Ptree *, Class *)
virtual PtreeTranslateEnumSpec (Ptree *)
virtual PtreeTranslateAccessSpec (Ptree *)
virtual PtreeTranslateAccessDecl (Ptree *)
virtual PtreeTranslateUserAccessSpec (Ptree *)
virtual PtreeTranslateIf (Ptree *)
virtual PtreeTranslateSwitch (Ptree *)
virtual PtreeTranslateWhile (Ptree *)
virtual PtreeTranslateDo (Ptree *)
virtual PtreeTranslateFor (Ptree *)
virtual PtreeTranslateTry (Ptree *)
virtual PtreeTranslateBreak (Ptree *)
virtual PtreeTranslateContinue (Ptree *)
virtual PtreeTranslateReturn (Ptree *)
virtual PtreeTranslateGoto (Ptree *)
virtual PtreeTranslateCase (Ptree *)
virtual PtreeTranslateDefault (Ptree *)
virtual PtreeTranslateLabel (Ptree *)
virtual PtreeTranslateExprStatement (Ptree *)
virtual PtreeTranslateTypespecifier (Ptree *)
virtual PtreeTranslateComma (Ptree *)
virtual PtreeTranslateAssign (Ptree *)
virtual PtreeTranslateCond (Ptree *)
virtual PtreeTranslateInfix (Ptree *)
virtual PtreeTranslatePm (Ptree *)
virtual PtreeTranslateCast (Ptree *)
virtual PtreeTranslateUnary (Ptree *)
virtual PtreeTranslateThrow (Ptree *)
virtual PtreeTranslateSizeof (Ptree *)
virtual PtreeTranslateNew (Ptree *)
virtual PtreeTranslateNew2 (Ptree *, Ptree *, Ptree *, Ptree *, Ptree *, Ptree *, Ptree *)
virtual PtreeTranslateNew3 (Ptree *type)
virtual PtreeTranslateDelete (Ptree *)
virtual PtreeTranslateThis (Ptree *)
virtual PtreeTranslateVariable (Ptree *)
virtual PtreeTranslateFstyleCast (Ptree *)
virtual PtreeTranslateArray (Ptree *)
virtual PtreeTranslateFuncall (Ptree *)
virtual PtreeTranslatePostfix (Ptree *)
virtual PtreeTranslateUserStatement (Ptree *)
virtual PtreeTranslateDotMember (Ptree *)
virtual PtreeTranslateArrowMember (Ptree *)
virtual PtreeTranslateParen (Ptree *)
virtual PtreeTranslateStaticUserStatement (Ptree *)
virtual void TypeofComma (Ptree *, TypeInfo &)
virtual void TypeofAssign (Ptree *, TypeInfo &)
virtual void TypeofCond (Ptree *, TypeInfo &)
virtual void TypeofInfix (Ptree *, TypeInfo &)
virtual void TypeofPm (Ptree *, TypeInfo &)
virtual void TypeofCast (Ptree *, TypeInfo &)
virtual void TypeofUnary (Ptree *, TypeInfo &)
virtual void TypeofThrow (Ptree *, TypeInfo &)
virtual void TypeofSizeof (Ptree *, TypeInfo &)
virtual void TypeofNew (Ptree *, TypeInfo &)
virtual void TypeofDelete (Ptree *, TypeInfo &)
virtual void TypeofThis (Ptree *, TypeInfo &)
virtual void TypeofVariable (Ptree *, TypeInfo &)
virtual void TypeofFstyleCast (Ptree *, TypeInfo &)
virtual void TypeofArray (Ptree *, TypeInfo &)
virtual void TypeofFuncall (Ptree *, TypeInfo &)
virtual void TypeofPostfix (Ptree *, TypeInfo &)
virtual void TypeofUserStatement (Ptree *, TypeInfo &)
virtual void TypeofDotMember (Ptree *, TypeInfo &)
virtual void TypeofArrowMember (Ptree *, TypeInfo &)
virtual void TypeofParen (Ptree *, TypeInfo &)
virtual void TypeofStaticUserStatement (Ptree *, TypeInfo &)
void NewScope ()
void NewScope (Environment *)
void NewScope (Class *)
EnvironmentExitScope ()
void RecordBaseclassEnv (Ptree *)
NameScope ChangeScope (Environment *)
void RestoreScope (NameScope &)
PtreeTranslateNewDeclarator (Ptree *decl)
PtreeTranslateNewDeclarator2 (Ptree *decl)
PtreeTranslateArguments (Ptree *)
void ErrorMessage (char *, Ptree *, Ptree *)
void WarningMessage (char *, Ptree *, Ptree *)
ParserGetParser ()

Static Public Methods

bool GetArgDeclList (PtreeDeclarator *, Ptree *&)
PtreeTranslateArgDeclList2 (bool, Environment *, bool, bool, int, Ptree *)
PtreeFillArgumentName (Ptree *, Ptree *, int arg_name)
PtreeGetClassOrEnumSpec (Ptree *)
PtreeGetClassTemplateSpec (Ptree *)
PtreeStripCvFromIntegralType (Ptree *)
void SetDeclaratorComments (Ptree *, Ptree *)
PtreeNthDeclarator (Ptree *, int &)
PtreeFindDeclarator (Ptree *, char *, int, char *, int &, Environment *)
bool MatchedDeclarator (Ptree *, char *, int, char *, Environment *)
bool WhichDeclarator (Ptree *, Ptree *, int &, Environment *)
void InaccurateErrorMessage (char *, Ptree *, Ptree *)
void InaccurateWarningMessage (char *, Ptree *, Ptree *)
void ChangeDefaultMetaclass (char *)

Static Public Attributes

char * argument_name = "_arg_%d_"

Protected Methods

PtreeTranslateDeclarators (Ptree *, bool)
ClassLookupMetaclass (Ptree *, Ptree *, Ptree *, bool)

Protected Attributes

Environmentenv
Parserparser

Private Methods

ClassLookupBaseMetaclass (Ptree *, Ptree *, bool)

Static Private Attributes

Parserdefault_parser = 0
char * default_metaclass = 0

Constructor & Destructor Documentation

Walker::Walker Parser  
 

Definition at line 30 of file walker.cc.

References default_parser, env, and parser.

Walker::Walker Parser  ,
Environment  
 

Definition at line 38 of file walker.cc.

References default_parser, env, and parser.

Walker::Walker Environment  
 

Definition at line 46 of file walker.cc.

References default_parser, env, MopErrorMessage(), and parser.

Walker::Walker Walker *   
 

Definition at line 55 of file walker.cc.

References env, and parser.


Member Function Documentation

void Walker::ChangeDefaultMetaclass char *    [static]
 

Definition at line 788 of file walker.cc.

References default_metaclass.

Referenced by Class::ChangeDefaultMetaclass().

Walker::NameScope Walker::ChangeScope Environment  
 

Definition at line 104 of file walker.cc.

References env, Walker::NameScope::env, Environment::GetWalker(), Environment::SetWalker(), and Walker::NameScope::walker.

Referenced by ClassWalker::ConstructMember(), ClassWalker::RecordArgsAndTranslateFbody(), ClassBodyWalker::TranslateClassBody(), TranslateFunctionImplementation(), ClassWalker::TranslateFunctionImplementation(), ClassBodyWalker::TranslateFunctionImplementation(), and ClassWalker::TranslateTemplateFunction().

void Walker::ErrorMessage char *   ,
Ptree  ,
Ptree  
 

Definition at line 1785 of file walker.cc.

References Parser::ErrorMessage(), and parser.

Referenced by Class::ErrorMessage(), LookupBaseMetaclass(), LookupMetaclass(), MakeClassMetaobject(), MakeTemplateClassMetaobject(), MakeTemplateInstantiationMetaobject(), ClassWalker::TranslateNew2(), ClassWalker::TranslateStaticUserStatement(), and ClassWalker::TranslateUserStatement().

Environment * Walker::ExitScope  
 

Definition at line 81 of file walker.cc.

References env, and Environment::GetOuterEnvironment().

Referenced by ClassWalker::ConstructMember(), RecordArgsAndTranslateFbody(), ClassWalker::RecordArgsAndTranslateFbody(), ClassWalker::RecordMembers(), TranslateBlock(), ClassWalker::TranslateBlock(), TranslateClassBody(), TranslateFor(), TranslateFunctionImplementation(), ClassWalker::TranslateFunctionImplementation(), ClassBodyWalker::TranslateFunctionImplementation(), TranslateNamespaceSpec(), ClassWalker::TranslateStaticUserStatement(), ClassWalker::TranslateTemplateFunction(), and ClassWalker::TranslateUserStatement().

Ptree * Walker::FillArgumentName Ptree  ,
Ptree  ,
int    arg_name
[static]
 

Definition at line 577 of file walker.cc.

References argument_name, PtreeDeclarator::GetEncodedType(), Ptree::Make(), Encoding::MakePtree(), and PtreeDeclarator::Name().

Referenced by TranslateArgDeclList2().

Ptree * Walker::FindDeclarator Ptree  ,
char *   ,
int   ,
char *   ,
int &   ,
Environment  
[static]
 

Definition at line 1706 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::IsA(), Ptree::IsLeaf(), MatchedDeclarator(), ntDeclarator, and Ptree::Third().

bool Walker::GetArgDeclList PtreeDeclarator  ,
Ptree *&   
[static]
 

Definition at line 485 of file walker.cc.

References Ptree::Cadr(), Ptree::Car(), Ptree::Cdr(), Ptree::Eq(), FALSE, Ptree::IsLeaf(), and TRUE.

Referenced by Member::ArgumentList(), Member::GetUserArgumentModifiers(), ClassWalker::MakeMemberDeclarator(), and TranslateDeclarator().

Ptree * Walker::GetClassOrEnumSpec Ptree   [static]
 

Definition at line 1119 of file walker.cc.

References Ptree::IsA(), ntClassSpec, ntEnumSpec, and StripCvFromIntegralType().

Referenced by TranslateTypespecifier().

Ptree * Walker::GetClassTemplateSpec Ptree   [static]
 

Definition at line 1128 of file walker.cc.

References Ptree::Eq(), Ptree::IsA(), ntClassSpec, Ptree::Second(), StripCvFromIntegralType(), and Ptree::Third().

Referenced by TemplateClass::GetClassInTemplate(), and TranslateTemplateDecl().

Parser* Walker::GetParser   [inline]
 

Definition at line 196 of file walker.h.

References parser.

Referenced by Environment::GetLineNumber().

void Walker::InaccurateErrorMessage char *   ,
Ptree  ,
Ptree  
[static]
 

Definition at line 1797 of file walker.cc.

References default_parser, Parser::ErrorMessage(), and MopErrorMessage().

Referenced by Class::ErrorMessage().

void Walker::InaccurateWarningMessage char *   ,
Ptree  ,
Ptree  
[static]
 

Definition at line 1806 of file walker.cc.

References default_parser, MopErrorMessage(), and Parser::WarningMessage().

Referenced by Class::WarningMessage().

bool Walker::IsClassWalker   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 120 of file walker.cc.

References FALSE.

Referenced by Class::AppendAfterStatement(), Class::AppendAfterToplevel(), Class::InsertBeforeStatement(), Class::InsertBeforeToplevel(), Class::InsertDeclaration(), and Class::LookupClientData().

Class * Walker::LookupBaseMetaclass Ptree  ,
Ptree  ,
bool   
[private]
 

Definition at line 842 of file walker.cc.

References Class::AcceptTemplate(), Ptree::Car(), Ptree::Cdr(), env, ErrorMessage(), Ptree::Last(), Environment::LookupClassMetaobject(), Class::MetaclassName(), opcxx_ListOfMetaclass::New(), Ptree::Second(), and Ptree::Third().

Referenced by LookupMetaclass().

Class * Walker::LookupMetaclass Ptree  ,
Ptree  ,
Ptree  ,
bool   
[protected]
 

Definition at line 795 of file walker.cc.

References Ptree::Car(), env, ErrorMessage(), Class::InitializeInstance(), Metaclass::IsBuiltinMetaclass(), LookupBaseMetaclass(), Environment::LookupClasskeyword(), Environment::LookupMetaclass(), opcxx_ListOfMetaclass::New(), Ptree::Nth(), Ptree::Second(), and Ptree::Third().

Referenced by MakeClassMetaobject(), and MakeTemplateClassMetaobject().

Class * Walker::MakeClassMetaobject Ptree  ,
Ptree  ,
Ptree  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 760 of file walker.cc.

References Class::AcceptTemplate(), default_metaclass, ErrorMessage(), FALSE, Class::InitializeInstance(), LookupMetaclass(), MopErrorMessage2(), and opcxx_ListOfMetaclass::New().

Referenced by TranslateClassSpec().

Class * Walker::MakeTemplateClassMetaobject Ptree  ,
Ptree  ,
Ptree  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 212 of file walker.cc.

References Class::AcceptTemplate(), ErrorMessage(), Class::InitializeInstance(), LookupMetaclass(), and TRUE.

Referenced by TranslateTemplateClass().

Class * Walker::MakeTemplateInstantiationMetaobject Ptree   full_class_spec,
Ptree   userkey,
Ptree   class_spec
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 260 of file walker.cc.

References Class::AcceptTemplate(), Bind::ClassMetaobject(), env, ErrorMessage(), Ptree::First(), Bind::isTemplateClass, Environment::Lookup(), Ptree::Second(), and Bind::What().

Referenced by TranslateTemplateInstantiation().

bool Walker::MatchedDeclarator Ptree  ,
char *   ,
int   ,
char *   ,
Environment  
[static]
 

Definition at line 1733 of file walker.cc.

References FALSE, Encoding::GetBaseName(), Ptree::GetEncodedName(), and Ptree::GetEncodedType().

Referenced by FindDeclarator().

void Walker::NewScope Class  
 

Definition at line 74 of file walker.cc.

References env, and Class::SetEnvironment().

void Walker::NewScope Environment  
 

Definition at line 66 of file walker.cc.

References env.

void Walker::NewScope  
 

Definition at line 61 of file walker.cc.

References env.

Referenced by ClassWalker::ConstructMember(), RecordArgsAndTranslateFbody(), ClassWalker::RecordArgsAndTranslateFbody(), ClassWalker::RecordMembers(), TranslateBlock(), ClassWalker::TranslateBlock(), TranslateClassBody(), TranslateFor(), TranslateFunctionImplementation(), ClassWalker::TranslateFunctionImplementation(), ClassBodyWalker::TranslateFunctionImplementation(), TranslateNamespaceSpec(), ClassWalker::TranslateStaticUserStatement(), ClassWalker::TranslateTemplateFunction(), and ClassWalker::TranslateUserStatement().

Ptree * Walker::NthDeclarator Ptree  ,
int &   
[static]
 

Definition at line 1684 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::IsA(), Ptree::IsLeaf(), ntDeclarator, and Ptree::Third().

Referenced by MemberList::AppendThisClass(), and SetDeclaratorComments().

Ptree * Walker::RecordArgsAndTranslateFbody Class  ,
Ptree   args,
Ptree   body
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 639 of file walker.cc.

References env, ExitScope(), FALSE, NewScope(), TranslateArgDeclList2(), TranslateFunctionBody(), and TRUE.

Referenced by Class::TranslateFunctionBody().

void Walker::RecordBaseclassEnv Ptree  
 

Definition at line 88 of file walker.cc.

References Environment::AddBaseclassEnv(), Ptree::Car(), Ptree::Cdr(), env, Class::GetEnvironment(), Ptree::Last(), and Environment::LookupClassMetaobject().

Referenced by ClassWalker::RecordMembers(), and TranslateClassBody().

void Walker::RestoreScope NameScope  
 

Definition at line 114 of file walker.cc.

References Walker::NameScope::env, env, Environment::SetWalker(), and Walker::NameScope::walker.

Referenced by ClassWalker::ConstructMember(), ClassWalker::RecordArgsAndTranslateFbody(), ClassBodyWalker::TranslateClassBody(), TranslateFunctionImplementation(), ClassWalker::TranslateFunctionImplementation(), ClassBodyWalker::TranslateFunctionImplementation(), and ClassWalker::TranslateTemplateFunction().

void Walker::SetDeclaratorComments Ptree  ,
Ptree  
[static]
 

Definition at line 1667 of file walker.cc.

References Ptree::IsA(), ntDeclaration, ntDeclarator, and NthDeclarator().

Referenced by Parser::rClassMember(), and Parser::rDefinition().

Ptree * Walker::StripCvFromIntegralType Ptree   [static]
 

Definition at line 1139 of file walker.cc.

References Ptree::Car(), CONST, Ptree::IsA(), Ptree::IsLeaf(), Ptree::Second(), and VOLATILE.

Referenced by GetClassOrEnumSpec(), and GetClassTemplateSpec().

Ptree * Walker::Translate Ptree  
 

Definition at line 125 of file walker.cc.

References Ptree::Translate().

Referenced by ParseOpencxx(), Source::translate(), TranslateArguments(), TranslateArray(), ClassWalker::TranslateArray(), TranslateArrowMember(), ClassWalker::TranslateArrowMember(), TranslateAssign(), ClassWalker::TranslateAssign(), TranslateAssignInitializer(), ClassWalker::TranslateAssignInitializer(), TranslateBlock(), ClassWalker::TranslateBlock(), TranslateBrace(), TranslateCase(), TranslateCast(), TranslateClassBody(), ClassBodyWalker::TranslateClassBody(), TranslateComma(), TranslateCond(), TranslateDefault(), TranslateDelete(), ClassWalker::TranslateDelete(), TranslateDo(), TranslateDotMember(), ClassWalker::TranslateDotMember(), Class::TranslateExpression(), TranslateExprStatement(), TranslateFor(), TranslateFuncall(), ClassWalker::TranslateFuncall(), TranslateFunctionBody(), ClassWalker::TranslateFunctionBody(), TranslateFunctionImplementation(), TranslateIf(), TranslateInfix(), ClassWalker::TranslateInfix(), TranslateLabel(), TranslateLinkageSpec(), TranslateNamespaceSpec(), TranslateNewDeclarator2(), TranslateParen(), TranslatePm(), TranslatePostfix(), ClassWalker::TranslatePostfix(), TranslateReturn(), TranslateSizeof(), TranslateSwitch(), TranslateThrow(), TranslateTry(), TranslateTypespecifier(), TranslateUnary(), ClassWalker::TranslateUnary(), and TranslateWhile().

Ptree * Walker::TranslateAccessDecl Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 907 of file walker.cc.

Referenced by PtreeAccessDecl::Translate().

Ptree * Walker::TranslateAccessSpec Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 902 of file walker.cc.

Referenced by PtreeAccessSpec::Translate().

Ptree * Walker::TranslateArgDeclList bool   ,
Ptree  ,
Ptree  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 507 of file walker.cc.

References env, FALSE, and TranslateArgDeclList2().

Referenced by TranslateDeclarator().

Ptree * Walker::TranslateArgDeclList2 bool   ,
Environment  ,
bool   ,
bool   ,
int   ,
Ptree  
[static]
 

Definition at line 514 of file walker.cc.

References Ptree::Cadr(), Ptree::Car(), Ptree::Cddr(), Ptree::Cdr(), Ptree::Cons(), FillArgumentName(), Ptree::First(), Ptree::IsA(), Ptree::IsLeaf(), ntUserdefKeyword, Environment::RecordDeclarator(), REGISTER, Ptree::Second(), and Ptree::Third().

Referenced by ClassWalker::MakeMemberDeclarator(), RecordArgsAndTranslateFbody(), ClassWalker::RecordArgsAndTranslateFbody(), TranslateArgDeclList(), ClassWalker::TranslateArgDeclList(), ClassWalker::TranslateStaticUserStatement(), and ClassWalker::TranslateUserStatement().

Ptree * Walker::TranslateArguments Ptree  
 

Definition at line 1638 of file walker.cc.

References PtreeArray::All(), PtreeArray::Append(), Ptree::Car(), Ptree::Cdr(), FALSE, Ptree::Second(), Ptree::ShallowSubst(), Translate(), and TRUE.

Referenced by Class::TranslateArguments(), TranslateFstyleCast(), TranslateFuncall(), ClassWalker::TranslateFuncall(), TranslateInitializeArgs(), ClassWalker::TranslateInitializeArgs(), TranslateNew2(), and ClassWalker::TranslateNew2().

Ptree * Walker::TranslateArray Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1456 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::Subst(), Ptree::Third(), and Translate().

Ptree * Walker::TranslateArrowMember Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1540 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), and Translate().

Ptree * Walker::TranslateAssign Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1170 of file walker.cc.

References Ptree::First(), Ptree::List(), Ptree::Second(), Ptree::Third(), and Translate().

Ptree * Walker::TranslateAssignInitializer PtreeDeclarator  ,
Ptree  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassBodyWalker, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 589 of file walker.cc.

References Ptree::Car(), Ptree::List(), Ptree::Second(), and Translate().

Referenced by TranslateDeclarators().

Ptree * Walker::TranslateBlock Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 676 of file walker.cc.

References PtreeArray::All(), PtreeArray::Append(), Ptree::Car(), Ptree::Cdr(), ExitScope(), FALSE, Ptree::First(), NewScope(), Ptree::Second(), Ptree::Third(), Translate(), and TRUE.

Referenced by PtreeBlock::Translate().

Ptree * Walker::TranslateBrace Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 653 of file walker.cc.

References PtreeArray::All(), PtreeArray::Append(), Ptree::Car(), Ptree::Cdr(), FALSE, Ptree::First(), Ptree::Second(), Ptree::Third(), Translate(), and TRUE.

Referenced by PtreeBrace::Translate().

Ptree * Walker::TranslateBreak Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1029 of file walker.cc.

Ptree * Walker::TranslateCase Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1060 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::Nth(), Ptree::ShallowSubst(), and Translate().

Ptree * Walker::TranslateCast Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1242 of file walker.cc.

References Ptree::Cdr(), Ptree::First(), Ptree::Nth(), Ptree::ShallowSubst(), and Translate().

Ptree * Walker::TranslateClassBody Ptree  ,
Ptree  ,
Class  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassBodyWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 706 of file walker.cc.

References PtreeArray::All(), PtreeArray::Append(), Ptree::Car(), Ptree::Cdr(), ExitScope(), FALSE, Ptree::First(), NewScope(), RecordBaseclassEnv(), Ptree::Second(), Ptree::Third(), Translate(), and TRUE.

Referenced by PtreeClassBody::Translate(), and TranslateClassSpec().

Ptree * Walker::TranslateClassSpec Ptree  ,
Ptree  ,
Ptree  ,
Class  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 875 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::GetEncodedName(), Ptree::Nth(), Ptree::ShallowSubst(), Ptree::Third(), and TranslateClassBody().

Ptree * Walker::TranslateClassSpec Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 738 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), env, Ptree::GetEncodedName(), Ptree::IsLeaf(), Ptree::Length(), MakeClassMetaobject(), and Environment::RecordClassName().

Referenced by PtreeClassSpec::Translate(), TranslateTemplateClass(), and TranslateTemplateInstantiation().

Ptree * Walker::TranslateComma Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1153 of file walker.cc.

References Ptree::First(), Ptree::List(), Ptree::Second(), Ptree::Third(), and Translate().

Ptree * Walker::TranslateCond Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1187 of file walker.cc.

References Ptree::First(), Ptree::List(), Ptree::Nth(), Ptree::Second(), Ptree::Third(), and Translate().

Ptree * Walker::TranslateContinue Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1034 of file walker.cc.

Ptree * Walker::TranslateDeclaration Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 354 of file walker.cc.

References Ptree::Cdr(), Ptree::First(), Ptree::IsA(), Ptree::IsLeaf(), Ptree::List(), ntDeclarator, Ptree::Second(), Class::semicolon_t, Ptree::ShallowSubst(), Ptree::Third(), TranslateDeclarators(), TranslateFunctionImplementation(), TranslateStorageSpecifiers(), and TranslateTypespecifier().

Referenced by PtreeDeclaration::Translate().

Ptree * Walker::TranslateDeclarator bool   ,
PtreeDeclarator  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassBodyWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 466 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), GetArgDeclList(), Ptree::Subst(), and TranslateArgDeclList().

Referenced by ClassBodyWalker::TranslateDeclarator(), TranslateDeclarators(), TranslateFunctionImplementation(), ClassWalker::TranslateFunctionImplementation(), and ClassBodyWalker::TranslateFunctionImplementation().

Ptree * Walker::TranslateDeclarators Ptree  ,
bool   
[protected]
 

Definition at line 396 of file walker.cc.

References PtreeArray::All(), PtreeArray::Append(), Ptree::Car(), Ptree::Cdr(), env, Ptree::Eq(), FALSE, Ptree::IsA(), Ptree::IsLeaf(), Ptree::Last(), Ptree::Length(), Ptree::List(), Ptree::ListTail(), ntDeclarator, Ptree::Nth(), Environment::RecordDeclarator(), Ptree::Subst(), Ptree::SubstSublist(), TranslateAssignInitializer(), TranslateDeclarator(), TranslateInitializeArgs(), and TRUE.

Ptree * Walker::TranslateDeclarators Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassBodyWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 391 of file walker.cc.

References TRUE.

Referenced by TranslateDeclaration(), and ClassBodyWalker::TranslateDeclarators().

Ptree * Walker::TranslateDefault Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1071 of file walker.cc.

References Ptree::Cadr(), Ptree::Car(), Ptree::List(), Ptree::Third(), and Translate().

Ptree * Walker::TranslateDelete Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1392 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::Last(), Ptree::ShallowSubst(), and Translate().

Ptree * Walker::TranslateDo Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 963 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::Nth(), Ptree::Second(), Ptree::ShallowSubst(), and Translate().

Ptree * Walker::TranslateDotMember Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1524 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), and Translate().

Ptree * Walker::TranslateEnumSpec Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 896 of file walker.cc.

References env, and Environment::RecordEnumName().

Referenced by PtreeEnumSpec::Translate().

Ptree * Walker::TranslateExprStatement Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1093 of file walker.cc.

References Ptree::Cdr(), Ptree::First(), and Translate().

Referenced by PtreeExprStatement::Translate().

Ptree * Walker::TranslateExternTemplate Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 178 of file walker.cc.

Referenced by PtreeExternTemplate::Translate().

Ptree * Walker::TranslateFor Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 977 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), ExitScope(), NewScope(), Ptree::Nth(), Ptree::ShallowSubst(), Ptree::Third(), and Translate().

Ptree * Walker::TranslateFstyleCast Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1440 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::GetEncodedType(), and TranslateArguments().

Referenced by PtreeFstyleCastExpr::Translate().

Ptree * Walker::TranslateFuncall Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1478 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Translate(), and TranslateArguments().

Ptree * Walker::TranslateFunctionBody Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 648 of file walker.cc.

References Translate().

Referenced by RecordArgsAndTranslateFbody().

Ptree * Walker::TranslateFunctionImplementation Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassBodyWalker, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 604 of file walker.cc.

References ChangeScope(), env, ExitScope(), Ptree::First(), Ptree::List(), NewScope(), Ptree::Nth(), Environment::RecordDeclarator(), RestoreScope(), Ptree::Second(), Ptree::Third(), Translate(), TranslateDeclarator(), TranslateStorageSpecifiers(), TranslateTypespecifier(), and TRUE.

Referenced by TranslateDeclaration().

Ptree * Walker::TranslateGoto Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1055 of file walker.cc.

Ptree * Walker::TranslateIf Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 917 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::Nth(), Ptree::ShallowSubst(), Ptree::Third(), and Translate().

Ptree * Walker::TranslateInfix Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1207 of file walker.cc.

References Ptree::First(), Ptree::List(), Ptree::Second(), Ptree::Third(), and Translate().

Ptree * Walker::TranslateInitializeArgs PtreeDeclarator  ,
Ptree  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassBodyWalker, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 599 of file walker.cc.

References TranslateArguments().

Referenced by TranslateDeclarators().

Ptree * Walker::TranslateLabel Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1082 of file walker.cc.

References Ptree::Cadr(), Ptree::Car(), Ptree::List(), Ptree::Third(), and Translate().

Ptree * Walker::TranslateLinkageSpec Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 312 of file walker.cc.

References Ptree::First(), Ptree::List(), Ptree::Second(), Ptree::Third(), and Translate().

Referenced by PtreeLinkageSpec::Translate().

Ptree * Walker::TranslateMetaclassDecl Ptree   [virtual]
 

Reimplemented in ClassBodyWalker, and ClassWalker.

Definition at line 306 of file walker.cc.

References env, and Environment::RecordMetaclassName().

Referenced by PtreeMetaclassDecl::Translate().

Ptree * Walker::TranslateNamespaceSpec Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 324 of file walker.cc.

References env, ExitScope(), Ptree::First(), Ptree::List(), Environment::LookupNamespace0(), NewScope(), Environment::RecordNamespace(), Ptree::Second(), Ptree::Third(), and Translate().

Referenced by PtreeNamespaceSpec::Translate().

Ptree * Walker::TranslateNew Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1313 of file walker.cc.

References Ptree::Cadr(), Ptree::Car(), Ptree::Cdr(), Ptree::Eq(), Ptree::IsLeaf(), Ptree::Nth(), Ptree::Third(), and TranslateNew2().

Ptree * Walker::TranslateNew2 Ptree  ,
Ptree  ,
Ptree  ,
Ptree  ,
Ptree  ,
Ptree  ,
Ptree  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1339 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::ShallowSubst(), TranslateArguments(), and TranslateNew3().

Referenced by TranslateNew().

Ptree * Walker::TranslateNew3 Ptree   type [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1356 of file walker.cc.

References Ptree::Car(), Ptree::Eq(), Ptree::Second(), Ptree::Subst(), and TranslateNewDeclarator().

Referenced by TranslateNew2(), ClassWalker::TranslateNew2(), and Class::TranslateNewType().

Ptree * Walker::TranslateNewDeclarator Ptree   decl
 

Definition at line 1582 of file walker.cc.

References Ptree::Cadr(), Ptree::Car(), Ptree::Cdr(), Ptree::Eq(), Ptree::IsA(), Ptree::IsLeaf(), ntDeclarator, Ptree::ShallowSubst(), and TranslateNewDeclarator2().

Referenced by TranslateNew3().

Ptree * Walker::TranslateNewDeclarator2 Ptree   decl
 

Definition at line 1618 of file walker.cc.

References Ptree::Cadr(), Ptree::Car(), Ptree::Cdr(), Ptree::Eq(), Ptree::List(), Ptree::ListTail(), Ptree::Nconc(), Ptree::Third(), and Translate().

Referenced by TranslateNewDeclarator().

Ptree * Walker::TranslateParen Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1557 of file walker.cc.

References Ptree::Car(), Ptree::List(), Ptree::Second(), Ptree::Third(), and Translate().

Ptree * Walker::TranslatePm Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1224 of file walker.cc.

References Ptree::First(), Ptree::List(), Ptree::Second(), Ptree::Third(), and Translate().

Ptree * Walker::TranslatePostfix Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1499 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), and Translate().

Ptree * Walker::TranslatePtree Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 141 of file walker.cc.

Referenced by Ptree::Translate().

Ptree * Walker::TranslateReturn Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1039 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::Length(), Ptree::Second(), Ptree::ShallowSubst(), and Translate().

Ptree * Walker::TranslateSizeof Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1294 of file walker.cc.

References Ptree::Cdr(), Ptree::Eq(), Ptree::First(), Ptree::Second(), Ptree::ShallowSubst(), Ptree::Third(), and Translate().

Ptree * Walker::TranslateStaticUserStatement Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1572 of file walker.cc.

Ptree * Walker::TranslateStorageSpecifiers Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 386 of file walker.cc.

Referenced by TranslateDeclaration(), and TranslateFunctionImplementation().

Ptree * Walker::TranslateSwitch Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 935 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::Nth(), Ptree::ShallowSubst(), Ptree::Third(), and Translate().

Ptree * Walker::TranslateTemplateClass Ptree  ,
Ptree  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 183 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), env, Ptree::IsLeaf(), Ptree::Length(), MakeTemplateClassMetaobject(), Environment::RecordTemplateClass(), Ptree::Subst(), and TranslateClassSpec().

Referenced by TranslateTemplateDecl().

Ptree * Walker::TranslateTemplateDecl Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 168 of file walker.cc.

References GetClassTemplateSpec(), Ptree::IsA(), ntClassSpec, Ptree::Nth(), TranslateTemplateClass(), and TranslateTemplateFunction().

Referenced by PtreeTemplateDecl::Translate().

Ptree * Walker::TranslateTemplateFunction Ptree  ,
Ptree  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 232 of file walker.cc.

References env, and Environment::RecordTemplateFunction().

Referenced by TranslateTemplateDecl().

Ptree * Walker::TranslateTemplateInstantiation Ptree  ,
Ptree  ,
Ptree  ,
Class  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 292 of file walker.cc.

References TranslateClassSpec().

Ptree * Walker::TranslateTemplateInstantiation Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 238 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::First(), Ptree::IsLeaf(), and MakeTemplateInstantiationMetaobject().

Referenced by PtreeTemplateInstantiation::Translate().

Ptree * Walker::TranslateThis Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1409 of file walker.cc.

Referenced by LeafThis::Translate().

Ptree * Walker::TranslateThrow Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1279 of file walker.cc.

References Ptree::First(), Ptree::List(), Ptree::Second(), and Translate().

Ptree * Walker::TranslateTry Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 999 of file walker.cc.

References PtreeArray::All(), PtreeArray::Append(), Ptree::Car(), Ptree::Cddr(), Ptree::Cdr(), Ptree::Cons(), FALSE, Ptree::Nth(), Ptree::Second(), Ptree::ShallowSubst(), Translate(), and TRUE.

Ptree * Walker::TranslateTypedef Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassBodyWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 153 of file walker.cc.

References env, Ptree::First(), Ptree::List(), Ptree::ListTail(), Environment::RecordTypedefName(), Ptree::Second(), Ptree::Third(), and TranslateTypespecifier().

Referenced by PtreeTypedef::Translate().

Ptree * Walker::TranslateTypespecifier Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassBodyWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1103 of file walker.cc.

References GetClassOrEnumSpec(), Ptree::ShallowSubst(), and Translate().

Referenced by ClassWalker::ConstructMember(), ClassWalker::RecordMemberDeclaration(), ClassWalker::RecordMembers(), TranslateDeclaration(), TranslateFunctionImplementation(), ClassWalker::TranslateFunctionImplementation(), and TranslateTypedef().

Ptree * Walker::TranslateUnary Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1258 of file walker.cc.

References Ptree::First(), Ptree::List(), Ptree::Second(), and Translate().

Ptree * Walker::TranslateUserAccessSpec Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 912 of file walker.cc.

Referenced by PtreeUserAccessSpec::Translate().

Ptree * Walker::TranslateUserStatement Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1514 of file walker.cc.

Ptree * Walker::TranslateUsing Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 344 of file walker.cc.

References env, Environment::RecordUsing(), and Environment::RecordUsingNamespace().

Referenced by PtreeUsing::Translate().

Ptree * Walker::TranslateVariable Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, ClassWalker, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1419 of file walker.cc.

Referenced by PtreeName::Translate(), and LeafName::Translate().

Ptree * Walker::TranslateWhile Ptree   [virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 949 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::Nth(), Ptree::ShallowSubst(), Ptree::Third(), and Translate().

void Walker::Typeof Ptree  ,
TypeInfo  
 

Definition at line 133 of file walker.cc.

References Ptree::Typeof().

Referenced by ClassWalker::TranslateArray(), ClassWalker::TranslateArrowMember(), ClassWalker::TranslateAssign(), ClassWalker::TranslateDelete(), ClassWalker::TranslateDotMember(), Class::TranslateExpression(), ClassWalker::TranslateFuncall(), ClassWalker::TranslateInfix(), ClassWalker::TranslatePostfix(), ClassWalker::TranslateThis(), ClassWalker::TranslateUnary(), ClassWalker::TranslateUserStatement(), ClassWalker::TranslateVariable(), TypeofArray(), TypeofArrowMember(), TypeofAssign(), TypeofComma(), TypeofCond(), TypeofDotMember(), TypeofFuncall(), TypeofInfix(), TypeofParen(), TypeofPm(), TypeofPostfix(), and TypeofUnary().

void Walker::TypeofArray Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1469 of file walker.cc.

References Ptree::Car(), TypeInfo::Dereference(), and Typeof().

void Walker::TypeofArrowMember Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1550 of file walker.cc.

References Ptree::Car(), TypeInfo::Dereference(), TypeInfo::SetMember(), Ptree::Third(), and Typeof().

void Walker::TypeofAssign Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1182 of file walker.cc.

References Ptree::First(), and Typeof().

void Walker::TypeofCast Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1253 of file walker.cc.

References env, Ptree::GetEncodedType(), Ptree::Second(), and TypeInfo::Set().

void Walker::TypeofComma Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1165 of file walker.cc.

References Ptree::Third(), and Typeof().

void Walker::TypeofCond Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1202 of file walker.cc.

References Ptree::Third(), and Typeof().

void Walker::TypeofDelete Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1404 of file walker.cc.

References TypeInfo::SetVoid().

void Walker::TypeofDotMember Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1534 of file walker.cc.

References Ptree::Car(), TypeInfo::SetMember(), Ptree::Third(), and Typeof().

void Walker::TypeofFstyleCast Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1451 of file walker.cc.

References env, Ptree::GetEncodedType(), and TypeInfo::Set().

Referenced by PtreeFstyleCastExpr::Typeof().

void Walker::TypeofFuncall Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1490 of file walker.cc.

References Ptree::Car(), TypeInfo::Dereference(), TypeInfo::IsFunction(), and Typeof().

void Walker::TypeofInfix Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1219 of file walker.cc.

References Ptree::First(), and Typeof().

void Walker::TypeofNew Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1370 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), env, Ptree::Eq(), Ptree::GetEncodedType(), Ptree::IsLeaf(), TypeInfo::Reference(), Ptree::Second(), TypeInfo::Set(), and Ptree::Third().

void Walker::TypeofParen Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1567 of file walker.cc.

References Ptree::Second(), and Typeof().

void Walker::TypeofPm Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1236 of file walker.cc.

References TypeInfo::Dereference(), Ptree::Third(), and Typeof().

void Walker::TypeofPostfix Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1509 of file walker.cc.

References Ptree::Car(), and Typeof().

void Walker::TypeofPtree Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 146 of file walker.cc.

References TypeInfo::Unknown().

Referenced by Ptree::Typeof().

void Walker::TypeofSizeof Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1308 of file walker.cc.

References TypeInfo::SetInt().

void Walker::TypeofStaticUserStatement Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1577 of file walker.cc.

References TypeInfo::Unknown().

void Walker::TypeofThis Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1414 of file walker.cc.

References env, Environment::LookupThis(), and TypeInfo::Set().

Referenced by LeafThis::Typeof().

void Walker::TypeofThrow Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1289 of file walker.cc.

References TypeInfo::SetVoid().

void Walker::TypeofUnary Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1268 of file walker.cc.

References TypeInfo::Dereference(), Ptree::Eq(), Ptree::First(), TypeInfo::Reference(), Ptree::Second(), and Typeof().

void Walker::TypeofUserStatement Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1519 of file walker.cc.

References TypeInfo::Unknown().

void Walker::TypeofVariable Ptree  ,
TypeInfo  
[virtual]
 

Reimplemented in Ptree_visitor< Returntype >, Ptree_visitor< Annotator_RT >, Ptree_visitor< int >, Ptree_visitor< T >, Ptree_visitor< bool >, Ptree_visitor< Tpl_RT >, and Ptree_visitor< Expr_result >.

Definition at line 1427 of file walker.cc.

References env, Environment::Lookup(), and TypeInfo::Reference().

Referenced by PtreeName::Typeof(), and LeafName::Typeof().

void Walker::WarningMessage char *   ,
Ptree  ,
Ptree  
 

Definition at line 1790 of file walker.cc.

References parser, and Parser::WarningMessage().

Referenced by Class::WarningMessage().

bool Walker::WhichDeclarator Ptree  ,
Ptree  ,
int &   ,
Environment  
[static]
 

Definition at line 1750 of file walker.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::Eq(), FALSE, Encoding::GetBaseName(), Ptree::GetEncodedName(), Ptree::IsA(), Ptree::IsLeaf(), ntDeclarator, Ptree::Third(), and TRUE.


Member Data Documentation

char * Walker::argument_name = "_arg_%d_" [static]
 

Definition at line 27 of file walker.cc.

Referenced by Member::Arguments(), and FillArgumentName().

char * Walker::default_metaclass = 0 [static, private]
 

Definition at line 28 of file walker.cc.

Referenced by ChangeDefaultMetaclass(), and MakeClassMetaobject().

Parser * Walker::default_parser = 0 [static, private]
 

Definition at line 26 of file walker.cc.

Referenced by InaccurateErrorMessage(), InaccurateWarningMessage(), and Walker().

Environment* Walker::env [protected]
 

Definition at line 199 of file walker.h.

Referenced by ChangeScope(), ClassWalker::ConstructMember(), ExitScope(), LookupBaseMetaclass(), LookupMetaclass(), ClassWalker::MakeMemberDeclarator(), ClassWalker::MakeMetaobjectForCfunctions(), MakeTemplateInstantiationMetaobject(), NewScope(), RecordArgsAndTranslateFbody(), ClassWalker::RecordArgsAndTranslateFbody(), RecordBaseclassEnv(), ClassWalker::RecordMemberDeclaration(), ClassWalker::RecordMembers(), RestoreScope(), TranslateArgDeclList(), ClassWalker::TranslateArgDeclList(), ClassWalker::TranslateArray(), ClassWalker::TranslateArrowMember(), ClassWalker::TranslateAssign(), ClassWalker::TranslateAssignInitializer(), ClassBodyWalker::TranslateClassBody(), TranslateClassSpec(), ClassWalker::TranslateClassSpec(), ClassBodyWalker::TranslateDeclarator(), TranslateDeclarators(), ClassWalker::TranslateDelete(), ClassWalker::TranslateDotMember(), TranslateEnumSpec(), ClassWalker::TranslateFuncall(), TranslateFunctionImplementation(), ClassWalker::TranslateFunctionImplementation(), ClassBodyWalker::TranslateFunctionImplementation(), ClassWalker::TranslateInfix(), ClassWalker::TranslateInitializeArgs(), TranslateMetaclassDecl(), ClassWalker::TranslateMetaclassDecl(), TranslateNamespaceSpec(), ClassWalker::TranslateNew2(), ClassWalker::TranslatePostfix(), ClassWalker::TranslateStaticUserStatement(), TranslateTemplateClass(), TranslateTemplateFunction(), ClassWalker::TranslateTemplateFunction(), ClassWalker::TranslateTemplateInstantiation(), ClassWalker::TranslateThis(), TranslateTypedef(), ClassWalker::TranslateUnary(), ClassWalker::TranslateUserStatement(), TranslateUsing(), ClassWalker::TranslateVariable(), TypeofCast(), TypeofFstyleCast(), TypeofNew(), TypeofThis(), TypeofVariable(), and Walker().

Parser* Walker::parser [protected]
 

Definition at line 200 of file walker.h.

Referenced by ErrorMessage(), GetParser(), Walker(), and WarningMessage().


The documentation for this class was generated from the following files:
Generated on Mon Feb 10 17:36:54 2003 for VFiasco Semantics Compiler by doxygen1.2.15