Back to index

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

List of all members.

Public Member Functions

def __init__
def analyse_text

Static Public Attributes

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

Detailed Description

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

*New in Pygments 1.1.*

Definition at line 231 of file parsers.py.


Constructor & Destructor Documentation

Definition at line 242 of file parsers.py.

00242 
00243     def __init__(self, **options):
00244         super(RagelCLexer, self).__init__(CLexer, RagelEmbeddedLexer,
00245                                           **options)


Member Function Documentation

Definition at line 246 of file parsers.py.

00246 
00247     def analyse_text(text):
00248         return '@LANG: c' in text
00249 


Member Data Documentation

Definition at line 239 of file parsers.py.

Definition at line 240 of file parsers.py.

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

Definition at line 238 of file parsers.py.


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