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 = 'XML+Ruby'
list aliases = ['xml+erb', 'xml+ruby']
list alias_filenames = ['*.xml']
list mimetypes = ['application/xml+ruby']

Detailed Description

Subclass of `ErbLexer` which highlights data outside preprocessor
directives with the `XmlLexer`.

Definition at line 853 of file

Constructor & Destructor Documentation

Definition at line 864 of file

00865     def __init__(self, **options):
00866         super(XmlErbLexer, self).__init__(XmlLexer, ErbLexer, **options)

Member Function Documentation

Definition at line 867 of file

00868     def analyse_text(text):
00869         rv = ErbLexer.analyse_text(text) - 0.01
00870         if looks_like_xml(text):
00871             rv += 0.4
00872         return rv

Member Data Documentation

Definition at line 861 of file

list = ['xml+erb', 'xml+ruby'] [static]

Definition at line 860 of file

list = ['application/xml+ruby'] [static]

Definition at line 862 of file

Definition at line 859 of file

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