Back to index

moin  1.9.0~rc2
Public Member Functions | Static Public Attributes Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

string name = 'aspx-cs'
list aliases = ['aspx-cs']
list filenames = ['*.aspx', '*.asax', '*.ascx', '*.ashx', '*.asmx', '*.axd']
list mimetypes = []

Detailed Description

Lexer for highligting C# within ASP.NET pages.

Definition at line 316 of file

Constructor & Destructor Documentation

Definition at line 326 of file

00327     def __init__(self, **options):
00328         super(CSharpAspxLexer, self).__init__(CSharpLexer,GenericAspxLexer,
00329                                               **options)

Member Function Documentation

Definition at line 330 of file

00331     def analyse_text(text):
00332         if'Page\s*Language="C#"', text, re.I) is not None:
00333             return 0.2
00334         elif'script[^>]+language=["\']C#', text, re.I) is not None:
00335             return 0.15
00336         return 0.001 # TODO really only for when filename matched...

Member Data Documentation

Definition at line 322 of file

list = ['*.aspx', '*.asax', '*.ascx', '*.ashx', '*.asmx', '*.axd'] [static]

Definition at line 323 of file

Definition at line 324 of file

Definition at line 321 of file

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