Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

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

Detailed Description

Lexer for highligting Visual Basic.net within ASP.NET pages.

Definition at line 337 of file dotnet.py.


Constructor & Destructor Documentation

Definition at line 347 of file dotnet.py.

00347 
00348     def __init__(self, **options):
00349         super(VbNetAspxLexer, self).__init__(VbNetLexer,GenericAspxLexer,
00350                                               **options)


Member Function Documentation

Definition at line 351 of file dotnet.py.

00351 
00352     def analyse_text(text):
00353         if re.search(r'Page\s*Language="Vb"', text, re.I) is not None:
00354             return 0.2
00355         elif re.search(r'script[^>]+language=["\']vb', text, re.I) is not None:
00356             return 0.15

Member Data Documentation

Definition at line 343 of file dotnet.py.

list MoinMoin.support.pygments.lexers.dotnet.VbNetAspxLexer.filenames = ['*.aspx', '*.asax', '*.ascx', '*.ashx', '*.asmx', '*.axd'] [static]

Definition at line 344 of file dotnet.py.

Definition at line 345 of file dotnet.py.

Definition at line 342 of file dotnet.py.


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