Parser and formatter for Python structured text.
Methods
|
|
End
NormalizeSpaces
__PopType
__PushType
__SetType
__WriteText
__call__
__init__
|
|
End
|
End ( self )
Stop processing text, and do any necessary cleanup.
|
|
NormalizeSpaces
|
NormalizeSpaces ( self, text )
Return text with spaces normalized.
|
|
__PopType
|
__PopType ( self )
End and remove the innermost environment.
|
|
__PushType
|
__PushType (
self,
type,
indentation,
)
Start a new environment.
|
|
__SetType
|
__SetType (
self,
type,
indentation,
label=None,
)
Set the environment type and indentation level.
|
|
__WriteText
|
__WriteText ( self, text )
Write paragraph text.
|
|
__call__
|
__call__ ( self, text )
Process structured text text .
|
|
__init__
|
__init__ ( self, formatter )
Create a new structured text processor.
-
formatter
- The formatter to use to generate output.
|
|