Move parser streaming logic in `Parser` class