28 #ifndef TABLES_TAQLNODEREP_H
29 #define TABLES_TAQLNODEREP_H
42 class TaQLNodeVisitor;
83 #define TaQLNode_Null char(0)
84 #define TaQLNode_Const char(1)
85 #define TaQLNode_Unary char(2)
86 #define TaQLNode_Binary char(3)
87 #define TaQLNode_Multi char(4)
88 #define TaQLNode_Func char(5)
89 #define TaQLNode_Range char(6)
90 #define TaQLNode_Index char(7)
91 #define TaQLNode_KeyCol char(8)
92 #define TaQLNode_Table char(9)
93 #define TaQLNode_Col char(10)
94 #define TaQLNode_Columns char(11)
95 #define TaQLNode_Join char(12)
96 #define TaQLNode_SortKey char(13)
97 #define TaQLNode_Sort char(14)
98 #define TaQLNode_LimitOff char(15)
99 #define TaQLNode_Giving char(16)
100 #define TaQLNode_UpdExpr char(17)
101 #define TaQLNode_Select char(18)
102 #define TaQLNode_Update char(19)
103 #define TaQLNode_Insert char(20)
104 #define TaQLNode_Delete char(21)
105 #define TaQLNode_Calc char(22)
106 #define TaQLNode_CreTab char(23)
107 #define TaQLNode_ColSpec char(24)
108 #define TaQLNode_RecFld char(25)
109 #define TaQLNode_Unit char(26)
110 #define TaQLNode_Regex char(27)
111 #define TaQLNode_Count char(28)
112 #define TaQLNode_Groupby char(29)
113 #define TaQLNode_AltTab char(30)
114 #define TaQLNode_AddCol char(31)
115 #define TaQLNode_SetKey char(32)
116 #define TaQLNode_RenDrop char(33)
117 #define TaQLNode_AddRow char(34)
118 #define TaQLNode_ConcTab char(35)
119 #define TaQLNode_Show char(36)
139 virtual void show (std::ostream& os)
const = 0;
AipsIO is the object persistency mechanism of Casacore.
virtual void save(AipsIO &aio) const =0
Save the object.
const TaQLStyle & style() const
Get the TaQL style.
TaQLNodeRep(int nodeType)
Constructor for derived classes specifying the type.
Class with static members defining the TaQL style.
String addEscape(const String &str) const
Add escape characters to a table name where needed.
TaQLNodeRep & operator=(const TaQLNodeRep &)
char nodeType() const
Get the node type of the derived class.
virtual void show(std::ostream &os) const =0
Print the object in an ostream.
Envelope class to hold the result of a visit to the node tree.
String: the storage and methods of handling collections of characters.
Class to visit the nodes in the raw TaQL parse tree.
virtual TaQLNodeResult visit(TaQLNodeVisitor &) const =0
Visit a node for tree traversal.
Representation of a node in the raw TaQL parse tree.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
static String checkDataType(const String &)
Check the data type string and return its standard form.