Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

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

Detailed Description

`ANTLR`_ with CPP Target

*New in Pygments 1.1.*

Definition at line 541 of file parsers.py.


Constructor & Destructor Documentation

Definition at line 552 of file parsers.py.

00552 
00553     def __init__(self, **options):
00554         super(AntlrCppLexer, self).__init__(CppLexer, AntlrLexer, **options)


Member Function Documentation

Definition at line 555 of file parsers.py.

00555 
00556     def analyse_text(text):
00557         return AntlrLexer.analyse_text(text) and \
00558                re.search(r'^\s*language\s*=\s*C\s*;', text, re.M)
00559 


Member Data Documentation

Definition at line 549 of file parsers.py.

Definition at line 550 of file parsers.py.

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

Definition at line 548 of file parsers.py.


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