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+Smarty'
list aliases = ['xml+smarty']
list alias_filenames = ['*.xml', '*.tpl']
list mimetypes = ['application/xml+smarty']

Detailed Description

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

Definition at line 1019 of file

Constructor & Destructor Documentation

Definition at line 1030 of file

01031     def __init__(self, **options):
01032         super(XmlSmartyLexer, self).__init__(XmlLexer, SmartyLexer, **options)

Member Function Documentation

Definition at line 1033 of file

01034     def analyse_text(text):
01035         rv = SmartyLexer.analyse_text(text) - 0.01
01036         if looks_like_xml(text):
01037             rv += 0.4
01038         return rv

Member Data Documentation

Definition at line 1027 of file

Definition at line 1026 of file

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

Definition at line 1028 of file

Definition at line 1025 of file

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