void FTContainsIterator::accept( PlanIterVisitor &v ) const { v.beginVisit( *this ); theChild0->accept( v ); if ( theChild1 ) // optional ftignore theChild1->accept( v ); v.endVisit( *this ); }
void IfThenElseIterator::accept(PlanIterVisitor& v) const { v.beginVisit(*this); theCondIter->accept(v); theThenIter->accept(v); theElseIter->accept(v); v.endVisit(*this); }
void FrexpIterator::accept(PlanIterVisitor& v) const { v.beginVisit(*this); theChild->accept(v); v.endVisit(*this); }
void PiNumberIterator::accept(PlanIterVisitor& v) const { v.beginVisit(*this); v.endVisit(*this); }
void FlowCtlIterator::accept(PlanIterVisitor& v) const { if (!v.hasToVisit(this)) return; v.beginVisit(*this); v.endVisit(*this); }
void PowIterator::accept(PlanIterVisitor& v) const { v.beginVisit(*this); theChild0->accept(v); theChild1->accept(v); v.endVisit(*this); }
void GenericArithIterator<Operation>::accept(PlanIterVisitor& v) const { v.beginVisit(*this); this->theChild0->accept(v); this->theChild1->accept(v); v.endVisit(*this); }
void SpecificNumArithIterator<Operation, Type>::accept(PlanIterVisitor& v) const { v.beginVisit(*this); this->theChild0->accept(v); this->theChild1->accept(v); 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 NodeBeforeIterator::accept(PlanIterVisitor& v) const { 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 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 IsSameNodeIterator::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); }