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+PHP'
list aliases = ['xml+php']
list alias_filenames = ['*.xml', '*.php', '*.php[345]']
list mimetypes = ['application/xml+php']

Detailed Description

Subclass of `PhpLexer` that higlights unhandled data with the `XmlLexer`.

Definition at line 938 of file

Constructor & Destructor Documentation

Definition at line 948 of file

00949     def __init__(self, **options):
00950         super(XmlPhpLexer, self).__init__(XmlLexer, PhpLexer, **options)

Member Function Documentation

Definition at line 951 of file

00952     def analyse_text(text):
00953         rv = PhpLexer.analyse_text(text) - 0.01
00954         if looks_like_xml(text):
00955             rv += 0.4
00956         return rv

Member Data Documentation

list = ['*.xml', '*.php', '*.php[345]'] [static]

Definition at line 945 of file

Definition at line 944 of file

Definition at line 946 of file

Definition at line 943 of file

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