Parses TAP from an output stream.
Parses TAP from an output stream.
Doesn't currently work as a streaming parser, since it just collects the entire output as a string and feeds it to the parser for strings. This could likely be improved.
Parses TAP contained in a string.
Parses TAP contained in a string. This isn't useful for incremental parsing, because the entire input string must be created before parsing can begin.
Parses TAP from an input stream.
Parses TAP from an input stream. This variant will actually parse lines as they are available to read from the input stream, so this can be used as a streaming parser.
This class parses a TAP stream. It can either parse it all at once (from a string), or it can be used as a streaming parser, where TAP events are emitted through a given callback.