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+Django/Jinja'
list aliases = ['xml+django', 'xml+jinja']
list alias_filenames = ['*.xml']
list mimetypes = ['application/xml+django', 'application/xml+jinja']

Detailed Description

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

Definition at line 1102 of file

Constructor & Destructor Documentation

Definition at line 1113 of file

01114     def __init__(self, **options):
01115         super(XmlDjangoLexer, self).__init__(XmlLexer, DjangoLexer, **options)

Member Function Documentation

Definition at line 1116 of file

01117     def analyse_text(text):
01118         rv = DjangoLexer.analyse_text(text) - 0.01
01119         if looks_like_xml(text):
01120             rv += 0.4
01121         return rv

Member Data Documentation

Definition at line 1110 of file

list = ['xml+django', 'xml+jinja'] [static]

Definition at line 1109 of file

list = ['application/xml+django', 'application/xml+jinja'] [static]

Definition at line 1111 of file

Definition at line 1108 of file

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