diff --git a/src/dsql/Visitors.h b/src/dsql/Visitors.h index 303d89f93c..c71eaddc01 100644 --- a/src/dsql/Visitors.h +++ b/src/dsql/Visitors.h @@ -109,15 +109,16 @@ public: return internalVisit(*nodePtr); } + bool visitChildren(T node); + + virtual bool internalVisit(T node) = 0; + +private: bool call(ExprNode* exprNode) { return caller->call(exprNode); } - bool visitChildren(T node); - - virtual bool internalVisit(T node) = 0; - private: const bool assertOnOthers; const bool returnOnOthers; @@ -297,6 +298,7 @@ public: virtual bool visit(jrd_nod* node) = 0; +private: bool call(ExprNode* exprNode) { return caller->call(exprNode);