ProcessAstTreeBase
Synopsis
Declared in <src/midend/astUtil/astSupport/ProcessAstTree.h>
template<class AstNodePtr>
class ProcessAstTreeBase
: public ProcessAstNode<AstNodePtr>
Base Classes
| Name | Description |
ProcessAstNode<AstNodePtr> | Interface class for processing each AstNode from within the ReadAstTraverse function. |
Enums
Member Functions
| Name | Description |
~ProcessAstTreeBase
virtual ~ProcessAstTreeBase(); [destructor] [virtual] | Destructor |
operator()
bool operator()( AstInterface& fa, AstNodePtr const& s); | |
Protected Member Functions
| Name |
ProcessTree
virtual bool ProcessTree( AstInterface& fa, AstNodePtr const& s, AstInterface::TraversalVisitType t) = 0; [virtual] |
Skip
void Skip(AstNodePtr const& s); |
SkipUntil
void SkipUntil(AstNodePtr const& s); |
Private Types
Private Member Functions
| Name |
GetScope
ProcessAstTreeBase<AstNodePtr>::TraverseState GetScope() const; |
PopScope
void PopScope(); |
PushScope
void PushScope( AstNodePtr const& scope, int skip, TraverseLocation state); |
SetLocation
void SetLocation(TraverseLocation state); |
Traverse
bool Traverse( AstInterface& fa, AstNodePtr const& s, AstInterface::TraversalVisitType t) override; |
Private Data Members
Derived Classes
Created with MrDocs