Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

string name = 'JavaScript+PHP'
list aliases = ['js+php', 'javascript+php']
list alias_filenames = ['*.js']
list mimetypes

Detailed Description

Subclass of `PhpLexer` which highlights unmatched data with the
`JavascriptLexer`.

Definition at line 975 of file templates.py.


Constructor & Destructor Documentation

Definition at line 988 of file templates.py.

00988 
00989     def __init__(self, **options):
00990         super(JavascriptPhpLexer, self).__init__(JavascriptLexer, PhpLexer,
00991                                                  **options)


Member Function Documentation

Definition at line 992 of file templates.py.

00992 
00993     def analyse_text(text):
00994         return PhpLexer.analyse_text(text)
00995 


Member Data Documentation

Definition at line 983 of file templates.py.

list MoinMoin.support.pygments.lexers.templates.JavascriptPhpLexer.aliases = ['js+php', 'javascript+php'] [static]

Definition at line 982 of file templates.py.

Initial value:
['application/x-javascript+php',
                 'text/x-javascript+php',
                 'text/javascript+php']

Definition at line 984 of file templates.py.

Definition at line 981 of file templates.py.


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