Pre-iteration hook.

Used to inform self that the iteration is starting. Specific iterators can use this to prepare some resources.

Is automatically invoked at the beginning of for structures.

Do nothing by default.

Property definitions

core $ Iterator :: start
	# Pre-iteration hook.
	#
	# Used to inform `self` that the iteration is starting.
	# Specific iterators can use this to prepare some resources.
	#
	# Is automatically invoked at the beginning of `for` structures.
	#
	# Do nothing by default.
	fun start do end
lib/core/collection/abstract_collection.nit:252,2--260,17

functional $ FunIter :: start
        redef fun start
        do
                my_iter.start
        end
lib/functional/iter_extras.nit:240,9--243,11

pipeline $ Iterator2 :: start
	redef fun start
	do
		var i = current_iterator
		if i != null then i.start
	end
lib/pipeline/pipeline.nit:222,2--226,4