Back to index

moin  1.9.0~rc2
Public Member Functions
MoinMoin.support.pygments.lexers.templates.CheetahPythonLexer Class Reference
Inheritance diagram for MoinMoin.support.pygments.lexers.templates.CheetahPythonLexer:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.pygments.lexers.templates.CheetahPythonLexer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def get_tokens_unprocessed

Detailed Description

Lexer for handling Cheetah's special $ tokens in Python syntax.

Definition at line 532 of file templates.py.


Member Function Documentation

Definition at line 537 of file templates.py.

00537 
00538     def get_tokens_unprocessed(self, text):
00539         pylexer = PythonLexer(**self.options)
00540         for pos, type_, value in pylexer.get_tokens_unprocessed(text):
00541             if type_ == Token.Error and value == '$':
00542                 type_ = Comment.Preproc
00543             yield pos, type_, value
00544 

Here is the caller graph for this function:


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