Back to index

moin  1.9.0~rc2
Public Member Functions
MoinMoin.support.pygments.lexers._automodule Class Reference

List of all members.

Public Member Functions

def __getattr__

Detailed Description

Automatically import lexers.

Definition at line 213 of file __init__.py.


Member Function Documentation

Definition at line 216 of file __init__.py.

00216 
00217     def __getattr__(self, name):
00218         info = LEXERS.get(name)
00219         if info:
00220             _load_lexers(info[0])
00221             cls = _lexer_cache[info[1]]
00222             setattr(self, name, cls)
00223             return cls
00224         raise AttributeError(name)
00225 

Here is the call graph for this function:


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