class documentation

class GobbleFilter(Filter): (source)

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. .. versionadded:: 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): (source)

Undocumented

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

Undocumented

def gobble(self, value, left): (source)

Undocumented

Undocumented