Back to index

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

List of all members.

Public Member Functions

def analyse_text

Static Public Attributes

string name = 'HTML'
list aliases = ['html']
list filenames = ['*.html', '*.htm', '*.xhtml', '*.xslt']
list mimetypes = ['text/html', 'application/xhtml+xml']
 flags = re.IGNORECASE|re.DOTALL
dictionary tokens

Detailed Description

For HTML 4 and XHTML 1 markup. Nested JavaScript and CSS is highlighted
by the appropriate lexer.

Definition at line 393 of file web.py.


Member Function Documentation

Definition at line 444 of file web.py.

00444 
00445     def analyse_text(text):
00446         if html_doctype_matches(text):
00447             return 0.5
00448 


Member Data Documentation

Definition at line 400 of file web.py.

list MoinMoin.support.pygments.lexers.web.HtmlLexer.filenames = ['*.html', '*.htm', '*.xhtml', '*.xslt'] [static]

Definition at line 401 of file web.py.

MoinMoin.support.pygments.lexers.web.HtmlLexer.flags = re.IGNORECASE|re.DOTALL [static]

Definition at line 404 of file web.py.

list MoinMoin.support.pygments.lexers.web.HtmlLexer.mimetypes = ['text/html', 'application/xhtml+xml'] [static]

Definition at line 402 of file web.py.

Definition at line 399 of file web.py.

Definition at line 405 of file web.py.


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