A file-ish object that can have new data loaded into it.
You can also push and pop line-matching predicates onto a stack. When the current predicate matches the current line, a false EOF response (i.e. empty string) is returned instead. This lets the parser adhere to a simple abstraction -- it parses until EOF closes the current message.
There are no implemented interfaces.
There are no attributes in this class.
close()
is_closed()
next()
pop_eof_matcher()
push(data)
Push some new data into this object.
push_eof_matcher(pred)
pushlines(lines)
readline()
unreadline(line)
There are no known subclasses.