Property definitions

core $ FlatSubstringsIter :: defaultinit
private class FlatSubstringsIter
	super Iterator[FlatText]

	var tgt: nullable FlatText

	redef fun item do
		assert is_ok
		return tgt.as(not null)
	end

	redef fun is_ok do return tgt != null

	redef fun next do tgt = null
end
lib/core/text/flat.nit:22,1--35,3