Property definitions

core $ FlatStringByteIterator :: defaultinit
private class FlatStringByteIterator
	super IndexedIterator[Int]

	var target: FlatString

	var target_items: CString is noautoinit

	var curr_pos: Int

	init
	do
		var tgt = target
		target_items = tgt._items
		curr_pos += tgt._first_byte
	end

	redef fun is_ok do return curr_pos <= target.last_byte

	redef fun item do return target_items[curr_pos]

	redef fun next do curr_pos += 1

	redef fun index do return curr_pos - target._first_byte

end
lib/core/text/flat.nit:812,1--836,3