void FlowCtlIterator::accept(PlanIterVisitor& v) const { if (!v.hasToVisit(this)) return; v.beginVisit(*this); v.endVisit(*this); }
void ZorbaValidateInPlaceIterator::accept(PlanIterVisitor& v) const { if (!v.hasToVisit(this)) return; v.beginVisit(*this); theChild->accept(v); v.endVisit(*this); }
void DeactivateICIterator::accept(PlanIterVisitor& v) const { if (!v.hasToVisit(this)) return; v.beginVisit(*this); theChild->accept(v); v.endVisit(*this); }
void NumArithIterator<Operation>::accept(PlanIterVisitor& v) const { if (!v.hasToVisit(this)) return; v.beginVisit(*this); this->theChild0->accept(v); this->theChild1->accept(v); v.endVisit(*this); }
void NodeBeforeIterator::accept(PlanIterVisitor& v) const { if (!v.hasToVisit(this)) return; v.beginVisit(*this); std::vector<PlanIter_t>::const_iterator lIter = theChildren.begin(); std::vector<PlanIter_t>::const_iterator lEnd = theChildren.end(); for ( ; lIter != lEnd; ++lIter ){ (*lIter)->accept(v); } v.endVisit(*this); }
void TransformIterator::accept(PlanIterVisitor &v) const { if (!v.hasToVisit(this)) return; v.beginVisit(*this); CopyClause::const_iter_t lIter = theCopyClauses.begin(); CopyClause::const_iter_t lEnd = theCopyClauses.end(); for ( ; lIter != lEnd; ++lIter ) { lIter->theInput->accept ( v ); } theModifyIter->accept(v); theReturnIter->accept(v); v.endVisit(*this); }
void ForIterator::accept(PlanIterVisitor& v) const { if (!v.hasToVisit(this)) return; v.beginVisit(*this); v.beginVisitFlworForVariable(theVarName->getStringValue(), theVarRefs, thePosVarRefs); v.endVisitFlworForVariable(); theChild0->accept(v); theChild1->accept(v); v.endVisit(*this); }
/***************************************************************************//** ********************************************************************************/ void WindowIterator::accept(PlanIterVisitor& v) const { if (!v.hasToVisit(this)) return; v.beginVisit(*this); v.beginVisitWindowVariable(theVarName->getStringValue().str(), theVarRefs); theInputIter->accept(v); v.endVisitWindowVariable(); theStartClause.accept(v); theEndClause.accept(v); theTupleIter->accept(v); if (theTreatIter) theTreatIter->accept(v); v.endVisit(*this); }