Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

string name = 'ANTLR With Perl Target'
list aliases = ['antlr-perl']
list filenames = ['*.G', '*.g']

Detailed Description

`ANTLR`_ with Perl Target

*New in Pygments 1.1.*

Definition at line 660 of file parsers.py.


Constructor & Destructor Documentation

Definition at line 671 of file parsers.py.

00671 
00672     def __init__(self, **options):
00673         super(AntlrPerlLexer, self).__init__(PerlLexer, AntlrLexer,
00674                                              **options)


Member Function Documentation

Definition at line 675 of file parsers.py.

00675 
00676     def analyse_text(text):
00677         return AntlrLexer.analyse_text(text) and \
00678                re.search(r'^\s*language\s*=\s*Perl5\s*;', text, re.M)
00679 


Member Data Documentation

Definition at line 668 of file parsers.py.

Definition at line 669 of file parsers.py.

string MoinMoin.support.pygments.lexers.parsers.AntlrPerlLexer.name = 'ANTLR With Perl Target' [static]

Definition at line 667 of file parsers.py.


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