class documentation

class TokenMergeFilter(Filter):

View In Hierarchy

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

New in version 1.2.
Method __init__ Undocumented
Method filter Undocumented

Inherited from Filter:

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

Undocumented

def filter(self, lexer, stream):

Undocumented