Class: TokenCollector

wt2html/tt/TokenCollector~TokenCollector()

Small utility class that encapsulates the common 'collect all tokens starting from a token of type x until token of type y or (optionally) the end-of-input'. Only supported for synchronous in-order transformation stages (SyncTokenTransformManager), as async out-of-order expansions would wreak havoc with this kind of collector.