Skip to content

Visitor_R

Synopsis

Declared in <src/frontend/SageIII/Cxx_Grammar.h> (not stored in Git)

template<class R>
class Visitor_R
    : public ROSE_VisitorPattern

Base Classes

Name Description
ROSE_VisitorPattern

Member Functions

Name Description
~Visitor_R
virtual ~Visitor_R(); [destructor] [virtual]
Destructor
getResult
virtual R& getResult();

Protected Data Members

Name Description
_result Result of a visit method.

Derived Classes

Name Description
ContextVis_R Strategy pattern applied to visitors: serves as a context to a strategy, which itself is a visitor; delegates all requests to the current strategy; capable of switching strategy at will. Derived classes may declare the known strategies as friend to facilitate communication between the strategies and their context.

Created with MrDocs