Back to index

moin  1.9.0~rc2
Public Member Functions
MoinMoin.support.pygments.lexer.LexerMeta Class Reference
Inheritance diagram for MoinMoin.support.pygments.lexer.LexerMeta:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __new__

Detailed Description

This metaclass automagically converts ``analyse_text`` methods into
static methods which always return float values.

Definition at line 32 of file lexer.py.


Member Function Documentation

def MoinMoin.support.pygments.lexer.LexerMeta.__new__ (   cls,
  name,
  bases,
  d 
)

Definition at line 38 of file lexer.py.

00038 
00039     def __new__(cls, name, bases, d):
00040         if 'analyse_text' in d:
00041             d['analyse_text'] = make_analysator(d['analyse_text'])
00042         return type.__new__(cls, name, bases, d)
00043 


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