Lines Matching refs:cur
3616 cur = node
3617 while cur.next and _auto_menu_dep(node, cur.next):
3620 self._finalize_node(cur.next, visible_if)
3621 cur = cur.next
3622 cur.parent = node
3624 if cur is not node:
3628 node.next = cur.next
3629 cur.next = None
3644 cur = node.list
3645 while cur:
3646 self._finalize_node(cur, visible_if)
3647 cur = cur.next
3678 cur = node.list
3679 while cur:
3680 dep = cur.dep = self._make_and(cur.dep, basedep)
3682 if cur.item.__class__ in _SYMBOL_CHOICE:
3684 if cur.prompt:
3685 cur.prompt = (cur.prompt[0],
3687 cur.prompt[1],
3691 if cur.defaults:
3692 cur.defaults = [(default, self._make_and(cond, dep))
3693 for default, cond in cur.defaults]
3696 if cur.ranges:
3697 cur.ranges = [(low, high, self._make_and(cond, dep))
3698 for low, high, cond in cur.ranges]
3701 if cur.selects:
3702 cur.selects = [(target, self._make_and(cond, dep))
3703 for target, cond in cur.selects]
3706 if cur.implies:
3707 cur.implies = [(target, self._make_and(cond, dep))
3708 for target, cond in cur.implies]
3710 elif cur.prompt: # Not a symbol/choice
3713 cur.prompt = (cur.prompt[0],
3714 self._make_and(cur.prompt[1], dep))
3716 cur = cur.next
6560 cur = node.list
6561 while cur and not cur.item:
6562 cur = cur.next
6564 node.list = cur
6566 while cur:
6567 next = cur.next
6577 cur.next = cur = next
6587 cur = node.list
6588 while cur:
6589 if cur.item.__class__ is Symbol:
6590 cur.item.choice = choice
6591 choice.syms.append(cur.item)
6592 cur = cur.next
6717 def _found_dep_loop(loop, cur): argument
6721 if cur is not loop[0]:
6723 return loop + (cur,)