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