Lines Matching refs:currentNode
37 @synthesize currentNode;
90 currentNode = root;
201 [state setCurrentNode:currentNode];
232 currentNode = [state currentNode];
320 if (currentNode == nil) {
330 if (currentChildIndex < (NSInteger)[currentNode getChildCount]) {
334 if (currentNode != nil) {
344 CommonTree *node = currentNode;
350 if ([currentNode getChildCount] == 0) {
351 currentNode = nil;
361 [nodeStack addObject:currentNode];
363 if (childNumber == 0 && ![currentNode isNil])
366 currentNode = [currentNode getChild:childNumber];
368 node = currentNode; // record node to return
376 while (currentNode != nil && currentChildIndex >= (NSInteger)[currentNode getChildCount])
378 currentNode = (CommonTree *)[nodeStack lastObject];
383 if (currentChildIndex >= (NSInteger)[currentNode getChildCount]) {
384 if (![currentNode isNil]) {
387 if (currentNode == root) { // we done yet?
388 currentNode = nil;