Back to index

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

List of all members.

Public Member Functions

def format

Static Public Attributes

string name = 'Text only'
list aliases = ['text', 'null']
list filenames = ['*.txt']

Detailed Description

Output the text unchanged without any formatting.

Definition at line 20 of file other.py.


Member Function Documentation

def MoinMoin.support.pygments.formatters.other.NullFormatter.format (   self,
  tokensource,
  outfile 
)

Definition at line 28 of file other.py.

00028 
00029     def format(self, tokensource, outfile):
00030         enc = self.encoding
00031         for ttype, value in tokensource:
00032             if enc:
00033                 outfile.write(value.encode(enc))
00034             else:
00035                 outfile.write(value)
00036 

Here is the call graph for this function:


Member Data Documentation

Definition at line 25 of file other.py.

Definition at line 26 of file other.py.

Definition at line 24 of file other.py.


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