souffle
2.0.2-371-g6315b36
|
The generic base type of all RamVisitors realizing the dispatching of visitor calls. More...
#include <Visitor.h>
Public Member Functions | |
R | operator() (const Node &node, Params... args) |
The main entry for the user allowing visitors to be utilized as functions. More... | |
R | operator() (const Node *node, Params... args) |
The main entry for the user allowing visitors to be utilized as functions. More... | |
virtual R | visit (const Node &node, Params... args) |
The main entry for a visit process conducting the dispatching of a visit to the various sub-types of Nodes. More... | |
virtual R | visit (const Node *node, Params... args) |
virtual | ~Visitor ()=default |
A virtual destructor. More... | |
The generic base type of all RamVisitors realizing the dispatching of visitor calls.
Each visitor may define a return type R and a list of extra parameters to be passed along with the visited Nodes to the corresponding visitor function.
R | the result type produced by a visit call |
Params | extra parameters to be passed to the visit call |
|
virtualdefault |
A virtual destructor.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
|
inline |
|
inlinevirtual |
The main entry for a visit process conducting the dispatching of a visit to the various sub-types of Nodes.
Sub-classes may override this implementation to conduct pre-visit operations.
Note that the order of this list is important. Sub-classes must be listed before their super-classes; otherwise sub-classes cannot be visited.
node | the node to be visited |
args | a list of extra parameters to be forwarded |
|
inlinevirtual |
|
inlineprotectedvirtual |