Lines Matching full:it
34 void TIntermSymbol::traverse(TIntermTraverser* it) in traverse() argument
36 it->visitSymbol(this); in traverse()
39 void TIntermConstantUnion::traverse(TIntermTraverser* it) in traverse() argument
41 it->visitConstantUnion(this); in traverse()
47 void TIntermBinary::traverse(TIntermTraverser* it) in traverse() argument
54 if(it->preVisit) in traverse()
56 visit = it->visitBinary(PreVisit, this); in traverse()
64 it->incrementDepth(this); in traverse()
66 if(it->rightToLeft) in traverse()
70 right->traverse(it); in traverse()
73 if(it->inVisit) in traverse()
75 visit = it->visitBinary(InVisit, this); in traverse()
80 left->traverse(it); in traverse()
87 left->traverse(it); in traverse()
90 if(it->inVisit) in traverse()
92 visit = it->visitBinary(InVisit, this); in traverse()
97 right->traverse(it); in traverse()
101 it->decrementDepth(); in traverse()
108 if(visit && it->postVisit) in traverse()
110 it->visitBinary(PostVisit, this); in traverse()
117 void TIntermUnary::traverse(TIntermTraverser* it) in traverse() argument
121 if (it->preVisit) in traverse()
122 visit = it->visitUnary(PreVisit, this); in traverse()
125 it->incrementDepth(this); in traverse()
126 operand->traverse(it); in traverse()
127 it->decrementDepth(); in traverse()
130 if (visit && it->postVisit) in traverse()
131 it->visitUnary(PostVisit, this); in traverse()
137 void TIntermAggregate::traverse(TIntermTraverser* it) in traverse() argument
141 if(it->preVisit) in traverse()
143 visit = it->visitAggregate(PreVisit, this); in traverse()
148 it->incrementDepth(this); in traverse()
150 if(it->rightToLeft) in traverse()
154 (*sit)->traverse(it); in traverse()
156 if(visit && it->inVisit) in traverse()
160 visit = it->visitAggregate(InVisit, this); in traverse()
169 (*sit)->traverse(it); in traverse()
171 if(visit && it->inVisit) in traverse()
175 visit = it->visitAggregate(InVisit, this); in traverse()
181 it->decrementDepth(); in traverse()
184 if(visit && it->postVisit) in traverse()
186 it->visitAggregate(PostVisit, this); in traverse()
193 void TIntermSelection::traverse(TIntermTraverser* it) in traverse() argument
197 if (it->preVisit) in traverse()
198 visit = it->visitSelection(PreVisit, this); in traverse()
201 it->incrementDepth(this); in traverse()
202 if (it->rightToLeft) { in traverse()
204 falseBlock->traverse(it); in traverse()
206 trueBlock->traverse(it); in traverse()
207 condition->traverse(it); in traverse()
209 condition->traverse(it); in traverse()
211 trueBlock->traverse(it); in traverse()
213 falseBlock->traverse(it); in traverse()
215 it->decrementDepth(); in traverse()
218 if (visit && it->postVisit) in traverse()
219 it->visitSelection(PostVisit, this); in traverse()
225 void TIntermSwitch::traverse(TIntermTraverser *it) in traverse() argument
229 if(it->preVisit) in traverse()
230 visit = it->visitSwitch(PreVisit, this); in traverse()
234 it->incrementDepth(this); in traverse()
235 if(it->inVisit) in traverse()
236 visit = it->visitSwitch(InVisit, this); in traverse()
237 it->decrementDepth(); in traverse()
240 if(visit && it->postVisit) in traverse()
241 it->visitSwitch(PostVisit, this); in traverse()
247 void TIntermCase::traverse(TIntermTraverser *it) in traverse() argument
251 if(it->preVisit) in traverse()
252 visit = it->visitCase(PreVisit, this); in traverse()
255 mCondition->traverse(it); in traverse()
257 if(visit && it->postVisit) in traverse()
258 it->visitCase(PostVisit, this); in traverse()
264 void TIntermLoop::traverse(TIntermTraverser* it) in traverse() argument
268 if(it->preVisit) in traverse()
270 visit = it->visitLoop(PreVisit, this); in traverse()
275 it->incrementDepth(this); in traverse()
277 if(it->rightToLeft) in traverse()
281 expr->traverse(it); in traverse()
286 body->traverse(it); in traverse()
291 cond->traverse(it); in traverse()
298 cond->traverse(it); in traverse()
303 body->traverse(it); in traverse()
308 expr->traverse(it); in traverse()
312 it->decrementDepth(); in traverse()
315 if(visit && it->postVisit) in traverse()
317 it->visitLoop(PostVisit, this); in traverse()
324 void TIntermBranch::traverse(TIntermTraverser* it) in traverse() argument
328 if (it->preVisit) in traverse()
329 visit = it->visitBranch(PreVisit, this); in traverse()
332 it->incrementDepth(this); in traverse()
333 expression->traverse(it); in traverse()
334 it->decrementDepth(); in traverse()
337 if (visit && it->postVisit) in traverse()
338 it->visitBranch(PostVisit, this); in traverse()