class documentation

class KeywordCaseFilter(Filter):

View In Hierarchy

Convert keywords to lowercase or uppercase or capitalize them, which means first letter uppercase, rest lowercase.

This can be useful e.g. if you highlight Pascal code and want to adapt the code to your styleguide.

Options accepted:

case : string
The casing to convert keywords to. Must be one of 'lower', 'upper' or 'capitalize'. The default is 'lower'.
Method __init__ Undocumented
Method filter Undocumented
Instance Variable convert Undocumented

Inherited from Filter:

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

Undocumented

def filter(self, lexer, stream):

Undocumented

convert =

Undocumented