INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES

indexing

description: "Objects that are able to iterate over cursor trees, on which", "they can perform repeated actions and tests according ", "to a number of predefined control structures such as ``if%'%',", "``until%'%' and others. "
title: "EiffelBase: library of reusable components for Eiffel. ", "Based on EiffelBase library for ISE Eiffel, ", "used with permission. "
project: "EiffelBase Library"
copyright: "(c) 1986-1997 Interactive Software Engineering Inc. ", "Modifications and extensions: ", "(c) 1997 Object Tools ", "All rights reserved. Duplication and distribution prohibited", "May be used only with Visual Eiffel under terms of user ", "license "
key: iterators, iteration, cursor_tree_iterators, cursor_tree_iteration, tree_iterators, tree_iteration
cluster: eiffelbase
class CURSOR_TREE_ITERATOR [G]
inherit

LINEAR_ITERATOR [G]
rename
do_all as pre_do_all,
until_do as pre_until_do,
do_until as pre_do_until,
do_if as pre_do_if,
search as pre_search,
do_for as pre_do_for,
do_while as pre_do_while,
while_do as pre_while_do,
while_continue as pre_while_continue,
continue_while as pre_continue_while,
continue_until as pre_continue_until,
continue_search as pre_continue_search,
continue_for as pre_continue_for,
forall as pre_forall,
exists as pre_exists,
forth as pre_forth
redefine
pre_forth,
target
select
pre_continue_for,
pre_continue_search,
pre_continue_until,
pre_continue_while,
pre_do_all,
pre_do_for,
pre_do_if,
pre_do_until,
pre_do_while,
pre_exists,
pre_forall,
pre_forth,
pre_search,
pre_until_do,
pre_while_continue,
pre_while_do,
start
end

LINEAR_ITERATOR [G]
rename
do_all as post_do_all,
until_do as post_until_do,
do_until as post_do_until,
do_if as post_do_if,
search as post_search,
do_for as post_do_for,
do_while as post_do_while,
while_do as post_while_do,
while_continue as post_while_continue,
continue_while as post_continue_while,
continue_until as post_continue_until,
continue_search as post_continue_search,
continue_for as post_continue_for,
forall as post_forall,
exists as post_exists,
forth as post_forth,
start as post_start
redefine
post_forth,
post_start,
target
end

LINEAR_ITERATOR [G]
rename
do_all as breadth_do_all,
until_do as breadth_until_do,
do_until as breadth_do_until,
do_if as breadth_do_if,
search as breadth_search,
do_for as breadth_do_for,
do_while as breadth_do_while,
while_do as breadth_while_do,
while_continue as breadth_while_continue,
continue_while as breadth_continue_while,
continue_until as breadth_continue_until,
continue_search as breadth_continue_search,
continue_for as breadth_continue_for,
forall as breadth_forall,
exists as breadth_exists,
forth as breadth_forth
redefine
breadth_forth,
target
end
feature -- Status report

target: CURSOR_TREE [G]
feature -- Cursor movement

pre_start, breadth_start
-- Move cursor of `target' to root position
-- (first position in preorder and breadth-first).

post_start
-- Move cursor of `target' to first position in postorder.

pre_forth
-- Move cursor of `target' to next position in preorder.

post_forth
-- Move cursor of `target' to next position in postorder.

breadth_forth
-- Move cursor of `target' to next position in breadth-first.
end -- class CURSOR_TREE_ITERATOR

INDEX CLUSTER FEATURES SHORT FRAMES NO FRAMES