Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

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

Detailed Description

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

*New in Pygments 1.1.*

Definition at line 268 of file parsers.py.


Constructor & Destructor Documentation

Definition at line 279 of file parsers.py.

00279 
00280     def __init__(self, **options):
00281         super(RagelCppLexer, self).__init__(CppLexer, RagelEmbeddedLexer, **options)


Member Function Documentation

Definition at line 282 of file parsers.py.

00282 
00283     def analyse_text(text):
00284         return '@LANG: c++' in text
00285 


Member Data Documentation

Definition at line 276 of file parsers.py.

Definition at line 277 of file parsers.py.

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

Definition at line 275 of file parsers.py.


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