Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

string name = 'CSS+Django/Jinja'
list aliases = ['css+django', 'css+jinja']
list alias_filenames = ['*.css']
list mimetypes = ['text/css+django', 'text/css+jinja']

Detailed Description

Subclass of the `DjangoLexer` that highlights unlexed data with the
`CssLexer`.

Definition at line 1123 of file templates.py.


Constructor & Destructor Documentation

Definition at line 1134 of file templates.py.

01134 
01135     def __init__(self, **options):
01136         super(CssDjangoLexer, self).__init__(CssLexer, DjangoLexer, **options)


Member Function Documentation

Definition at line 1137 of file templates.py.

01137 
01138     def analyse_text(text):
01139         return DjangoLexer.analyse_text(text) - 0.05
01140 


Member Data Documentation

Definition at line 1131 of file templates.py.

list MoinMoin.support.pygments.lexers.templates.CssDjangoLexer.aliases = ['css+django', 'css+jinja'] [static]

Definition at line 1130 of file templates.py.

list MoinMoin.support.pygments.lexers.templates.CssDjangoLexer.mimetypes = ['text/css+django', 'text/css+jinja'] [static]

Definition at line 1132 of file templates.py.

Definition at line 1129 of file templates.py.


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