Allow passing LineIterator objects to Parser