Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

string name = 'ANTLR With Ruby Target'
list aliases = ['antlr-ruby', 'antlr-rb']
list filenames = ['*.G', '*.g']

Detailed Description

`ANTLR`_ with Ruby Target

*New in Pygments 1.1.*

Definition at line 640 of file parsers.py.


Constructor & Destructor Documentation

Definition at line 651 of file parsers.py.

00651 
00652     def __init__(self, **options):
00653         super(AntlrRubyLexer, self).__init__(RubyLexer, AntlrLexer,
00654                                              **options)


Member Function Documentation

Definition at line 655 of file parsers.py.

00655 
00656     def analyse_text(text):
00657         return AntlrLexer.analyse_text(text) and \
00658                re.search(r'^\s*language\s*=\s*Ruby\s*;', text, re.M)
00659 


Member Data Documentation

list MoinMoin.support.pygments.lexers.parsers.AntlrRubyLexer.aliases = ['antlr-ruby', 'antlr-rb'] [static]

Definition at line 648 of file parsers.py.

Definition at line 649 of file parsers.py.

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

Definition at line 647 of file parsers.py.


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