Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Static Public Attributes Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Public Member Functions

def __init__
def filter

Public Attributes


Static Public Attributes

 function = None

Detailed Description

Abstract class used by `simplefilter` to create simple
function filters on the fly. The `simplefilter` decorator
automatically creates subclasses of this class for
functions passed to it.

Definition at line 56 of file

Constructor & Destructor Documentation

Reimplemented from

Definition at line 65 of file

00066     def __init__(self, **options):
00067         if not hasattr(self, 'function'):
00068             raise TypeError('%r used without bound function' %
00069                             self.__class__.__name__)
00070         Filter.__init__(self, **options)

Member Function Documentation

def (   self,

Reimplemented from

Definition at line 71 of file

00072     def filter(self, lexer, stream):
00073         # pylint: disable-msg=E1102
00074         for ttype, value in self.function(lexer, stream, self.options):
00075             yield ttype, value

Member Data Documentation

Definition at line 63 of file

Definition at line 50 of file

The documentation for this class was generated from the following file: