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 = 'HTML+Smarty'
list aliases = ['html+smarty']
list alias_filenames = ['*.html', '*.htm', '*.xhtml', '*.tpl']
list mimetypes = ['text/html+smarty']

Detailed Description

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

Nested Javascript and CSS is highlighted too.

Definition at line 996 of file

Constructor & Destructor Documentation

Definition at line 1009 of file

01010     def __init__(self, **options):
01011         super(HtmlSmartyLexer, self).__init__(HtmlLexer, SmartyLexer, **options)

Member Function Documentation

Definition at line 1012 of file

01013     def analyse_text(text):
01014         rv = SmartyLexer.analyse_text(text) - 0.01
01015         if html_doctype_matches(text):
01016             rv += 0.5
01017         return rv

Member Data Documentation

list = ['*.html', '*.htm', '*.xhtml', '*.tpl'] [static]

Definition at line 1006 of file

Definition at line 1005 of file

Definition at line 1007 of file

Definition at line 1004 of file

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