Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

string name = 'CSS+Ruby'
list aliases = ['css+erb', 'css+ruby']
list alias_filenames = ['*.css']
list mimetypes = ['text/css+ruby']

Detailed Description

Subclass of `ErbLexer` which highlights unlexed data with the `CssLexer`.

Definition at line 874 of file templates.py.


Constructor & Destructor Documentation

Definition at line 884 of file templates.py.

00884 
00885     def __init__(self, **options):
00886         super(CssErbLexer, self).__init__(CssLexer, ErbLexer, **options)


Member Function Documentation

Definition at line 887 of file templates.py.

00887 
00888     def analyse_text(text):
00889         return ErbLexer.analyse_text(text) - 0.05
00890 


Member Data Documentation

Definition at line 881 of file templates.py.

list MoinMoin.support.pygments.lexers.templates.CssErbLexer.aliases = ['css+erb', 'css+ruby'] [static]

Definition at line 880 of file templates.py.

Definition at line 882 of file templates.py.

Definition at line 879 of file templates.py.


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