note
	description: "Object that may iterate over its own states."
	library: "Free implementation of ELKS library"
	status: "See notice at end of class."
	legal: "See notice at end of class."
	date: "$Date: 2018-12-15 18:06:16 +0000 (Sat, 15 Dec 2018) $"
	revision: "$Revision: 102608 $"

deferred class 
	REPEATABLE

inherit
	ITERATION_CURSOR [REPEATABLE]

feature -- Access

	item: like Current
			-- Current object on that iteration is performed.
		do
			Result := Current
		end
	
feature -- Iteration

	act
			-- Do one action at the current step of iteration.
		require
				not after
		do
		end

	repeat
			-- Repeat act until after.
		do
			from
			until
				after
			loop
				act
				forth
			end
		end
	
note
	copyright: "Copyright (c) 1984-2018, Eiffel Software and others"
	license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
	source: "[
		Eiffel Software
		5949 Hollister Ave., Goleta, CA 93117 USA
		Telephone 805-685-1006, Fax 805-685-6869
		Website http://www.eiffel.com
		Customer support http://support.eiffel.com
	]"

end -- class REPEATABLE

Generated by ISE EiffelStudio