@classmethod
def parse_buffer(cls, bfr, **kw):
    """ Function to parse repeated instances of `cls` from the buffer `bfr`
        until end of input.
    """
    while not bfr.at_eof():
        yield cls.from_buffer(bfr, **kw)
