Description
Currently, the UpdateUsfmParserHandler
class models a row as a tuple of scripture refs and a translation. Update block handlers might need additional metadata in order to process an update block properly. For example, the PlaceMarkersUsfmUpdateBlockHandler
class needs alignment info for a row. Update block handlers have to manage and lookup this metadata itself. It would be better if we could pass in additional metadata for a row to the UpdateUsfmParserHandler
. The metadata could then be included in an update block that is passed to update block handlers.