class documentation

class GobbleFilter(Filter):

View In Hierarchy

Gobbles source code lines (eats initial characters).

This filter drops the first n characters off every line of code. This may be useful when the source code fed to the lexer is indented by a fixed amount of space that isn't desired in the output.

Options accepted:

n : int
The number of characters to gobble.
New in version 1.2.
Method __init__ Undocumented
Method filter Undocumented
Method gobble Undocumented
Instance Variable n Undocumented

Inherited from Filter:

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

Undocumented

def filter(self, lexer, stream):

Undocumented

def gobble(self, value, left):

Undocumented

n =

Undocumented