28 #ifndef TABLES_TAQLNODEVISITOR_H
29 #define TABLES_TAQLNODEVISITOR_H
123 {
return node.
visit (*
this); }
virtual TaQLNodeResult visitLimitOffNode(const TaQLLimitOffNodeRep &node)=0
Raw TaQL parse tree node defining a count command.
virtual TaQLNodeResult visitSortKeyNode(const TaQLSortKeyNodeRep &node)=0
virtual TaQLNodeResult visitRecFldNode(const TaQLRecFldNodeRep &node)=0
Raw TaQL parse tree node defining an alter table add rows command.
Raw TaQL parse tree node defining a select command.
Raw TaQL parse tree node defining an update command.
virtual TaQLNodeResult visitIndexNode(const TaQLIndexNodeRep &node)=0
virtual TaQLNodeResult visitAltTabNode(const TaQLAltTabNodeRep &node)=0
virtual TaQLNodeResult visitRenDropNode(const TaQLRenDropNodeRep &node)=0
virtual TaQLNodeResult visitColNode(const TaQLColNodeRep &node)=0
virtual TaQLNodeResult visitDeleteNode(const TaQLDeleteNodeRep &node)=0
virtual TaQLNodeResult visitAddRowNode(const TaQLAddRowNodeRep &node)=0
Raw TaQL parse tree node defining a range.
virtual TaQLNodeResult visitInsertNode(const TaQLInsertNodeRep &node)=0
Raw TaQL parse tree node defining an alter table set keyword command.
virtual TaQLNodeResult visitCopyColNode(const TaQLCopyColNodeRep &node)=0
Raw TaQL parse tree node defining a constant value.
Raw TaQL parse tree node defining a create table command.
virtual TaQLNodeResult visitMultiNode(const TaQLMultiNodeRep &node)=0
Raw TaQL parse tree node defining an index in a array.
Raw TaQL parse tree node defining a calc command.
virtual TaQLNodeResult visitAddColNode(const TaQLAddColNodeRep &node)=0
Raw TaQL parse tree node defining a list of nodes.
virtual TaQLNodeResult visitBinaryNode(const TaQLBinaryNodeRep &node)=0
virtual TaQLNodeResult visitGivingNode(const TaQLGivingNodeRep &node)=0
virtual TaQLNodeResult visitRangeNode(const TaQLRangeNodeRep &node)=0
TaQLNodeResult visitNode(const TaQLNode &node)
A convenience function to visit the given node using this visitor.
virtual TaQLNodeResult visitUnaryNode(const TaQLUnaryNodeRep &node)=0
Raw TaQL parse tree node defining a delete command.
virtual TaQLNodeResult visitShowNode(const TaQLShowNodeRep &node)=0
Raw TaQL parse tree node defining a table.
Raw TaQL parse tree node defining an alter table copy column command.
Raw TaQL parse tree node defining a groupby list.
Raw TaQL parse tree node defining a giving expression list.
Raw TaQL parse tree node defining a unary operator.
Raw TaQL parse tree node defining a constant regex value.
Raw TaQL parse tree node defining a record field.
virtual TaQLNodeResult visitConstNode(const TaQLConstNodeRep &node)=0
Define the functions to visit each node type.
Raw TaQL parse tree node defining an alter table command.
Raw TaQL parse tree node defining a keyword or column name.
virtual TaQLNodeResult visitUnitNode(const TaQLUnitNodeRep &node)=0
Raw TaQL parse tree node defining a function.
virtual TaQLNodeResult visitCountNode(const TaQLCountNodeRep &node)=0
virtual TaQLNodeResult visitConcTabNode(const TaQLConcTabNodeRep &node)=0
Raw TaQL parse tree node defining an alter table rename or drop command.
Raw TaQL parse tree node defining a create column specification.
virtual TaQLNodeResult visitUpdExprNode(const TaQLUpdExprNodeRep &node)=0
Raw TaQL parse tree node defining a unit.
Raw TaQL parse tree node defining a column update expression.
virtual TaQLNodeResult visitFuncNode(const TaQLFuncNodeRep &node)=0
virtual TaQLNodeResult visitCreTabNode(const TaQLCreTabNodeRep &node)=0
virtual TaQLNodeResult visitDropTabNode(const TaQLDropTabNodeRep &node)=0
virtual TaQLNodeResult visitRegexNode(const TaQLRegexNodeRep &node)=0
Raw TaQL parse tree node defining a DROP TABLE command.
virtual TaQLNodeResult visitSelectNode(const TaQLSelectNodeRep &node)=0
Envelope class to hold the result of a visit to the node tree.
Raw TaQL parse tree node defining a limit/offset expression.
virtual TaQLNodeResult visitSortNode(const TaQLSortNodeRep &node)=0
Raw TaQL parse tree node defining a sort key.
Raw TaQL parse tree node defining a sort list.
virtual TaQLNodeResult visitJoinNode(const TaQLJoinNodeRep &node)=0
Raw TaQL parse tree node defining an alter table add column command.
virtual TaQLNodeResult visitSetKeyNode(const TaQLSetKeyNodeRep &node)=0
virtual TaQLNodeResult visitGroupNode(const TaQLGroupNodeRep &node)=0
Raw TaQL parse tree node defining a select column expression.
Raw TaQL parse tree node defining a show command.
Raw TaQL parse tree node defining a select column list.
Raw TaQL parse tree node defining a join operation.
Envelope class for a node in the raw TaQL parse tree.
Class to visit the nodes in the raw TaQL parse tree.
virtual TaQLNodeResult visitTableNode(const TaQLTableNodeRep &node)=0
virtual TaQLNodeResult visitColSpecNode(const TaQLColSpecNodeRep &node)=0
TaQLNodeResult visit(TaQLNodeVisitor &visitor) const
Let the visitor visit the node.
virtual TaQLNodeResult visitCalcNode(const TaQLCalcNodeRep &node)=0
virtual TaQLNodeResult visitUpdateNode(const TaQLUpdateNodeRep &node)=0
Raw TaQL parse tree node defining a binary operator.
virtual ~TaQLNodeVisitor()
Raw TaQL parse tree node defining an alter table command.
virtual TaQLNodeResult visitColumnsNode(const TaQLColumnsNodeRep &node)=0
Raw TaQL parse tree node defining an insert command.
virtual TaQLNodeResult visitKeyColNode(const TaQLKeyColNodeRep &node)=0