Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

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

Detailed Description

`ANTLR`_ with Objective-C Target

*New in Pygments 1.1.*

Definition at line 560 of file parsers.py.


Constructor & Destructor Documentation

Definition at line 571 of file parsers.py.

00571 
00572     def __init__(self, **options):
00573         super(AntlrObjectiveCLexer, self).__init__(ObjectiveCLexer,
00574                                                    AntlrLexer, **options)


Member Function Documentation

Definition at line 575 of file parsers.py.

00575 
00576     def analyse_text(text):
00577         return AntlrLexer.analyse_text(text) and \
00578                re.search(r'^\s*language\s*=\s*ObjC\s*;', text)
00579 


Member Data Documentation

Definition at line 568 of file parsers.py.

Definition at line 569 of file parsers.py.

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

Definition at line 567 of file parsers.py.


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