Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Attributes
MoinMoin.support.pygments.lexers.templates.CssGenshiLexer Class Reference
Inheritance diagram for MoinMoin.support.pygments.lexers.templates.CssGenshiLexer:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.pygments.lexers.templates.CssGenshiLexer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

string name = 'CSS+Genshi Text'
list aliases = ['css+genshitext', 'css+genshi']
list alias_filenames = ['*.css']
list mimetypes = ['text/css+genshi']

Detailed Description

A lexer that highlights CSS definitions in genshi text templates.

Definition at line 810 of file templates.py.


Constructor & Destructor Documentation

Definition at line 820 of file templates.py.

00820 
00821     def __init__(self, **options):
00822         super(CssGenshiLexer, self).__init__(CssLexer, GenshiTextLexer,
00823                                              **options)


Member Function Documentation

Definition at line 824 of file templates.py.

00824 
00825     def analyse_text(text):
00826         return GenshiLexer.analyse_text(text) - 0.05
00827 


Member Data Documentation

Definition at line 817 of file templates.py.

list MoinMoin.support.pygments.lexers.templates.CssGenshiLexer.aliases = ['css+genshitext', 'css+genshi'] [static]

Definition at line 816 of file templates.py.

Definition at line 818 of file templates.py.

Definition at line 815 of file templates.py.


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