Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes | Static Public Attributes
MoinMoin.parser.text_creole.Parser Class Reference

List of all members.

Public Member Functions

def __init__
def format

Public Attributes

 request
 form
 raw

Static Public Attributes

int caching = 1
 Dependencies = Dependencies
tuple quickhelp

Detailed Description

Glue the DocParser and DocEmitter with the
MoinMoin current API.

Definition at line 34 of file text_creole.py.


Constructor & Destructor Documentation

def MoinMoin.parser.text_creole.Parser.__init__ (   self,
  raw,
  request,
  kw 
)
Create a minimal Parser object with required attributes.

Definition at line 55 of file text_creole.py.

00055 
00056     def __init__(self, raw, request, **kw):
00057         """Create a minimal Parser object with required attributes."""
00058 
00059         self.request = request
00060         self.form = request.form
00061         self.raw = raw


Member Function Documentation

def MoinMoin.parser.text_creole.Parser.format (   self,
  formatter 
)
Create and call the true parser and emitter.

Definition at line 62 of file text_creole.py.

00062 
00063     def format(self, formatter):
00064         """Create and call the true parser and emitter."""
00065 
00066         document = CreoleParser(self.raw).parse()
00067         result = Emitter(document, formatter, self.request, Macro(self)).emit()
00068         self.request.write(result)

Here is the call graph for this function:


Member Data Documentation

Definition at line 41 of file text_creole.py.

Definition at line 42 of file text_creole.py.

Definition at line 59 of file text_creole.py.

Initial value:
_(u"""\
 Emphasis:: <<Verbatim(//)>>''italics''<<Verbatim(//)>>; <<Verbatim(**)>>'''bold'''<<Verbatim(**)>>; <<Verbatim(**//)>>'''''bold italics'''''<<Verbatim(//**)>>; <<Verbatim(//)>>''mixed ''<<Verbatim(**)>>'''''bold'''<<Verbatim(**)>> and italics''<<Verbatim(//)>>; Horizontal Rule:: <<Verbatim(----)>> Force Linebreak:: <<Verbatim(\\\\)>> Headings:: = Title 1 =; == Title 2 ==; === Title 3 ===; ==== Title 4 ====; ===== Title 5 =====. Lists:: * bullets; ** sub-bullets; # numbered items; ## numbered sub items. Links:: <<Verbatim([[target]])>>; <<Verbatim([[target|linktext]])>>. Tables:: |= header text | cell text | more cell text |;(!) For more help, see HelpOnEditing or HelpOnCreoleSyntax.""")

Definition at line 43 of file text_creole.py.

Definition at line 60 of file text_creole.py.

Definition at line 58 of file text_creole.py.


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