1.0.0 • Published 5 years ago
@windsor/parser v1.0.0
Parser
The purpose of this module is to take log files and turn them into a tree representation of code. For now this module is geared specifially to parse files that come out of @windsor/logger.
bufferIterator
This is a generator function which takes in a Buffer and consumes it one line at a time. The buffer is done when there are no more lines to consume
logIterator
This is a recursive generator function which takes in a bufferIterator and returns a tree that corresponds to the logFile pointed at by the buffer.
1.0.0
5 years ago