Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

string name = 'CSS+PHP'
list aliases = ['css+php']
list alias_filenames = ['*.css']
list mimetypes = ['text/css+php']

Detailed Description

Subclass of `PhpLexer` which highlights unmatched data with the `CssLexer`.

Definition at line 958 of file templates.py.


Constructor & Destructor Documentation

Definition at line 968 of file templates.py.

00968 
00969     def __init__(self, **options):
00970         super(CssPhpLexer, self).__init__(CssLexer, PhpLexer, **options)


Member Function Documentation

Definition at line 971 of file templates.py.

00971 
00972     def analyse_text(text):
00973         return PhpLexer.analyse_text(text) - 0.05
00974 


Member Data Documentation

Definition at line 965 of file templates.py.

Definition at line 964 of file templates.py.

Definition at line 966 of file templates.py.

Definition at line 963 of file templates.py.


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