Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

string name = 'ANTLR With C# Target'
list aliases = ['antlr-csharp', 'antlr-c#']
list filenames = ['*.G', '*.g']

Detailed Description

`ANTLR`_ with C# Target

*New in Pygments 1.1.*

Definition at line 580 of file parsers.py.


Constructor & Destructor Documentation

Definition at line 591 of file parsers.py.

00591 
00592     def __init__(self, **options):
00593         super(AntlrCSharpLexer, self).__init__(CSharpLexer, AntlrLexer,
00594                                                **options)


Member Function Documentation

Definition at line 595 of file parsers.py.

00595 
00596     def analyse_text(text):
00597         return AntlrLexer.analyse_text(text) and \
00598                re.search(r'^\s*language\s*=\s*CSharp2\s*;', text, re.M)
00599 


Member Data Documentation

list MoinMoin.support.pygments.lexers.parsers.AntlrCSharpLexer.aliases = ['antlr-csharp', 'antlr-c#'] [static]

Definition at line 588 of file parsers.py.

Definition at line 589 of file parsers.py.

string MoinMoin.support.pygments.lexers.parsers.AntlrCSharpLexer.name = 'ANTLR With C# Target' [static]

Definition at line 587 of file parsers.py.


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