Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

string name = 'Ragel in Java Host'
list aliases = ['ragel-java']
list filenames = ['*.rl']

Detailed Description

A lexer for `Ragel`_ in a Java host file.

*New in Pygments 1.1.*

Definition at line 306 of file parsers.py.


Constructor & Destructor Documentation

Definition at line 317 of file parsers.py.

00317 
00318     def __init__(self, **options):
00319         super(RagelJavaLexer, self).__init__(JavaLexer, RagelEmbeddedLexer,
00320                                              **options)


Member Function Documentation

Definition at line 321 of file parsers.py.

00321 
00322     def analyse_text(text):
00323         return '@LANG: java' in text
00324 


Member Data Documentation

Definition at line 314 of file parsers.py.

Definition at line 315 of file parsers.py.

string MoinMoin.support.pygments.lexers.parsers.RagelJavaLexer.name = 'Ragel in Java Host' [static]

Definition at line 313 of file parsers.py.


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