casacore
|
#include <TaQLNodeVisitor.h>
Protected Member Functions | |
TaQLNodeResult | visitNode (const TaQLNode &node) |
A convenience function to visit the given node using this visitor. More... | |
Class to visit the nodes in the raw TaQL parse tree.
Internal
TaQLNodeVisitor is the abstract base class for classes that want to visit a TaQLNode tree, i.e. traverse the tree. Each visit results in a TaQLNodeResult object which acts as the basis for the actual result object.
A specialization of TaQLNodeVisitor (e.g. class TaQLNodeHandler needs to implement the various visitXXNode functions. A visit function will process a node which usually means visiting its children, etc..
The visitor design pattern separates the tree from the way it is processed. In this way any handler can be created. For instance, a query optimizer could be a future other handler.
Definition at line 73 of file TaQLNodeVisitor.h.
|
virtual |
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Define the functions to visit each node type.
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
inlineprotected |
A convenience function to visit the given node using this visitor.
Definition at line 122 of file TaQLNodeVisitor.h.
References casacore::TaQLNode::visit().
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.
|
pure virtual |
Implemented in casacore::TaQLNodeHandler.