class documentation

class TokenMergeFilter(Filter): (source)

View In Hierarchy

Merges consecutive tokens with the same token type in the output stream of a lexer. .. versionadded:: 1.2

Method __init__ Undocumented
Method filter Undocumented

Inherited from Filter:

Instance Variable options Undocumented
def __init__(self, **options): (source)

Undocumented

def filter(self, lexer, stream): (source)

Undocumented