The index of the current item.

Property definitions

core $ IndexedIterator :: index
	# The index of the current item.
	fun index: Int is abstract
lib/core/collection/abstract_collection.nit:1267,2--1268,27

core $ ArrayIterator :: index
	redef var index = 0
lib/core/collection/array.nit:568,2--20

core $ DowntoIteratorRange :: index
	redef fun index do return _item.distance(_range.first)
lib/core/collection/range.nit:228,2--55

core $ ListIterator :: index
	# The index of the current node
	redef var index = 0
lib/core/collection/list.nit:297,2--298,20

core $ CircularArrayIterator :: index
	redef var index = 0
lib/core/collection/circular_array.nit:254,2--20

core $ RopeByteReverseIterator :: index
	redef fun index do return pos
lib/core/text/ropes.nit:354,2--30

core $ RopeByteIterator :: index
	redef fun index do return pos
lib/core/text/ropes.nit:400,2--30

core $ RopeCharReverseIterator :: index
	redef fun index do return pos
lib/core/text/ropes.nit:436,2--30

core $ RopeCharIterator :: index
	redef fun index do return pos
lib/core/text/ropes.nit:481,2--30

core $ ReverseRopeSubstrings :: index
	redef fun index do return pos
lib/core/text/ropes.nit:534,2--30

core $ RopeSubstrings :: index
	redef fun index do return pos
lib/core/text/ropes.nit:610,2--30

core $ FlatStringCharReverseIterator :: index
	redef fun index do return curr_pos
lib/core/text/flat.nit:748,2--35

core $ FlatStringCharIterator :: index
	redef fun index do return curr_pos
lib/core/text/flat.nit:769,2--35

core $ FlatStringByteReverseIterator :: index
	redef fun index do return curr_pos - target._first_byte
lib/core/text/flat.nit:808,2--56

core $ FlatStringByteIterator :: index
	redef fun index do return curr_pos - target._first_byte
lib/core/text/flat.nit:834,2--56

core $ FlatBufferByteReverseIterator :: index
	redef fun index do return curr_pos
lib/core/text/flat.nit:1176,2--35

core $ FlatBufferByteIterator :: index
	redef fun index do return curr_pos
lib/core/text/flat.nit:1210,2--35

core $ FlatBufferCharReverseIterator :: index
	redef fun index do return curr_pos
lib/core/text/flat.nit:1227,2--35

core $ FlatBufferCharIterator :: index
	redef fun index do return curr_pos
lib/core/text/flat.nit:1293,2--35

core $ BytesIterator :: index
	redef var index
lib/core/bytes.nit:779,2--16

java $ JavaArrayIterator :: index
	redef var index = 0
lib/java/collections.nit:190,2--20

java $ JavaArrayReverseIterator :: index
	redef var index = array.length - 1
lib/java/collections.nit:205,2--35

core $ U16StringCharIterator :: index
	redef fun index do return curr_pos
lib/core/text/u16_string.nit:202,2--35

core $ U16StringCharReverseIterator :: index
	redef fun index do return curr_pos
lib/core/text/u16_string.nit:218,2--35

nitcc_runtime $ NProdIterator :: index
	redef var index = 0
lib/nitcc_runtime/nitcc_runtime.nit:586,2--20

more_collections $ UnrolledIterator :: index
	# Index of the current `item`
	redef var index = 0
lib/more_collections/more_collections.nit:658,2--659,20